Template:DQB2Villager: Difference between revisions

Day (talk | contribs)
i *will* add a page for the residents' register later dont worry (yes it is called "residents' ") ; experimenting with image pixel length for mobile
Day (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| style="padding: 0.5em; margin: 0.5em; border: 3px solid #0080ff; background: transparent; font-size: 90%; font-weight: regular; font-family: Trebuchet MS, Arial, Helvetica, sans-serif; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;"
{| class="shrink-to-fit" style="padding: 0.5em; margin: 0.5em; border: 3px solid #0080ff; background: transparent; font-size: 90%; font-weight: regular; font-family: Trebuchet MS, Arial, Helvetica, sans-serif; border-radius: 5px; text-align:center"
|-
|-
| colspan=5 style="text-align: center; font-size: 135%; border-top: 1px dotted #0080ff; background-color: #0080ff; margin:-7px -7px -1px -6px; -webkit-border-radius: 5px;border-radius: 5px; line-height:22px;" | '''{{#if:{{{Name|}}}|{{{Name}}}}}'''
| colspan=5 style="font-size: 135%; border-top: 1px dotted #0080ff; background-color: #0080ff; margin:-7px -7px -1px -6px; border-radius: 5px; line-height:22px;" | '''{{{Name|&nbsp;}}}'''
|-
|-
| rowspan=5 style="text-align:center; background-color: transparent;" |{{#if:{{{Image|}}}|{{{Image}}}|}}
| rowspan=5 style="background-color: transparent;" |{{{Image|&nbsp;}}}
| colspan=2 style="text-align:center; border-top: 1px dotted #1ACDFF; background-color:#1ACDFF; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''[[Residents' Register]] Information'''
| colspan=2 style="border-top: 1px dotted #1ACDFF; background-color:#1ACDFF; border-radius: 5px;" |'''[[Residents' Register]] Information'''
| colspan=2 style="text-align:center; border-top: 1px dotted #1ACDFF; background-color:#1ACDFF; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''[[Room preference|Room Preferences]]'''
| colspan=2 style="border-top: 1px dotted #1ACDFF; background-color:#1ACDFF; border-radius: 5px;" |'''[[Room preference|Room Preferences]]'''
|-
|-
| width=15% style="text-align:center; border-top: 1px dotted #e1caac; background-color: #ffd11a; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''Gender'''
| width=15% style="border-top: 1px dotted #e1caac; background-color: #ffd11a; border-radius: 5px;" |'''Gender'''
| width=25% style="text-align:center; background-color: white; font-weight: normal;" | {{{Gender}}}
| width=25% style="background-color: white; font-weight: normal;" | {{{Gender}}}
| width=15% style="text-align:center; border-top: 1px dotted #e1caac; background-color: #ffd11a; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''Size'''
| width=15% style="border-top: 1px dotted #e1caac; background-color: #ffd11a; border-radius: 5px;" |'''Size'''
| width=25% style="text-align:center; background-color: white; font-weight: normal; color:#4EE6E3;" | {{{Size}}}
| width=25% style="background-color: white; font-weight: normal; color:#4EE6E3;" | {{{Size}}}
|-
|-
| style="text-align:center;border-top: 1px dotted #e1caac; background-color: #ffd11a; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''Description'''
| style="border-top: 1px dotted #e1caac; background-color: #ffd11a; border-radius: 5px;" |'''Description'''
| style="text-align:center; background-color: white; font-weight: normal;" | {{{Description}}}
| style="background-color: white; font-weight: normal;" | {{{Description}}}
| style="text-align:center; border-top: 1px dotted #e1caac; background-color: #ffd11a; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''Fanciness'''
| style="border-top: 1px dotted #e1caac; background-color: #ffd11a; border-radius: 5px;" |'''Fanciness'''
| style="text-align:center; background-color: white; font-weight: normal; color:#F0DA23;" | {{{Fanciness}}}
| style="background-color: white; font-weight: normal; color:#F0DA23;" | {{{Fanciness}}}
|-
|-
| style="text-align:center;border-top: 1px dotted #e1caac; background-color: #ffd11a; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''Home Island'''
| style="border-top: 1px dotted #e1caac; background-color: #ffd11a; border-radius: 5px;" |'''Home Island'''
| style="text-align:center; background-color: white; font-weight: normal;" | {{{Home}}}
| style="background-color: white; font-weight: normal;" | {{{Home}}}
| style="text-align:center; border-top: 1px dotted #e1caac; background-color: #ffd11a; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''Ambience'''
| style="border-top: 1px dotted #e1caac; background-color: #ffd11a; border-radius: 5px;" |'''Ambience'''
| style="text-align:center; background-color: white; font-weight: normal; color:#ED555A;" | {{{Ambience}}}
| style="background-color: white; font-weight: normal; color:#ED555A;" | {{{Ambience}}}
|-
|-
| style="text-align:center;border-top: 1px dotted #e1caac; background-color: #ffd11a; -moz-border-radius: 5px; -webkit-border-radius: 5px;border-radius: 5px;" |'''Wields<br>Weapons'''
| style="border-top: 1px dotted #e1caac; background-color: #ffd11a; border-radius: 5px;" |'''Wields<br>Weapons'''
| style="text-align:center; background-color: white; font-weight: normal;" | {{{Weapon}}}
| style="background-color: white; font-weight: normal;" | {{{Weapon}}}
|}
|}
{{clear}}</includeonly><noinclude>
{{clear}}</includeonly><noinclude>
Line 33: Line 33:
{{DQB2Villager
{{DQB2Villager
|Name={{Translation| | | }}
|Name={{Translation| | | }}
|Image=[[File: |180px]]
|Image=[[File: |130px]]
|Gender=
|Gender=
|Description=
|Description=
Line 43: Line 43:
}}
}}
</pre>
</pre>
It's recommended that images for this template make around 180 pixels wide. (Simply add "|180px" next to the file name.)
It's recommended that images for this template make around 130 pixels wide. (Simply add "|130px" next to the file name.)


==Example==
==Example==
Line 49: Line 49:
<pre>{{DQB2Villager
<pre>{{DQB2Villager
|Name={{Translation|Malroth|シドー|Shidō}}
|Name={{Translation|Malroth|シドー|Shidō}}
|Image=[[File:DQB2_Villagers_Malroth.jpg|180px]]
|Image=[[File:DQB2_Villagers_Malroth.jpg|130px]]
|Gender=Male
|Gender=Male
|Description=Enigma
|Description=Enigma
|Home= -
|Home= -
|Weapon=Yes<br><sup>(Only Malroth-exclusive weapons)</sup>
|Weapon=Yes*<br><small>(Only Malroth-exclusive weapons)</small>
|Size=❤︎❤︎❤︎❤︎
|Size=❤︎❤︎❤︎❤︎
|Fanciness=❤︎❤︎❤︎❤︎
|Fanciness=❤︎❤︎❤︎❤︎
Line 60: Line 60:
{{DQB2Villager
{{DQB2Villager
|Name={{Translation|Malroth|シドー|Shidō}}
|Name={{Translation|Malroth|シドー|Shidō}}
|Image=[[File:DQB2_Villagers_Malroth.jpg|180px]]
|Image=[[File:DQB2_Villagers_Malroth.jpg|130px]]
|Gender=Male
|Gender=Male
|Description=Enigma
|Description=Enigma
|Home= -
|Home= -
|Weapon=Yes<br><sup>(Only Malroth-exclusive weapons)</sup>
|Weapon=Yes*<br><small>(Only Malroth-exclusive weapons)</small>
|Size=❤︎❤︎❤︎❤︎
|Size=❤︎❤︎❤︎❤︎
|Fanciness=❤︎❤︎❤︎❤︎
|Fanciness=❤︎❤︎❤︎❤︎
Line 70: Line 70:
}}
}}


[[Category:Character templates|{{PAGENAME}}]]
[[Category:Character templates]]
</noinclude>
</noinclude>