Template:DQB2Villager: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
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>

Latest revision as of 00:37, 26 March 2026

This is a template for villagers as they appear in Dragon Quest Builders 2. For appearances in other games, please add the information as plain text or use the corresponding template (if one exists).

Usage[edit source]

{{DQB2Villager
|Name={{Translation| | | }}
|Image=[[File: |130px]]
|Gender=
|Description=
|Home=
|Weapon=
|Size=
|Fanciness=
|Ambience=
}}

It's recommended that images for this template make around 130 pixels wide. (Simply add "|130px" next to the file name.)

Example[edit source]

Writing the following text will show the template this way:

{{DQB2Villager
|Name={{Translation|Malroth|シドー|Shidō}}
|Image=[[File:DQB2_Villagers_Malroth.jpg|130px]]
|Gender=Male
|Description=Enigma
|Home= -
|Weapon=Yes*<br><small>(Only Malroth-exclusive weapons)</small>
|Size=❤︎❤︎❤︎❤︎
|Fanciness=❤︎❤︎❤︎❤︎
|Ambience=Cool
}}
Malroth (シドー, Shidō?)
Residents' Register Information Room Preferences
Gender Male Size ❤︎❤︎❤︎❤︎
Description Enigma Fanciness ❤︎❤︎❤︎❤︎
Home Island - Ambience Cool
Wields
Weapons
Yes*
(Only Malroth-exclusive weapons)