Template:WarlordInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (image2 for Hero/Heroine page)
(updating with weakness and perfect links fields, and making default pokemon section oriented like perfect links)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="roundy" style="float:right; background: #{{{{{type2|{{{type|Unknown}}}}}} color}}; margin-left: 10px; margin-bottom: 10px; border: 3px solid #{{{{{type|Unknown}}} color dark}}; width: 25%"
<includeonly>{| class="roundy" style="float:right; background: #{{{{{type2|{{{type|Unknown}}}}}} color}}; margin-left: 10px; margin-bottom: 10px; border: 3px solid #{{{{{type|Unknown}}} color dark}}; width: 25%"
|-
|-
| class="roundy" colspan="2" style="text-align:center; background: #{{{{{type|Unknown}}} color light}};" | <big><big>'''{{{name|Nobunaga}}}'''</big></big><br><span lang="ja">'''{{{jname|ノブナガ}}}'''</span> ''{{{tmname|Nobunaga}}}''
| class="roundy" colspan="2" style="text-align:center; background: #{{{{{type|Unknown}}} color light}};" | <big><big>'''{{{name|Nobunaga}}}'''</big></big><br><span lang="ja">'''{{{jname|ノブナガ}}}'''</span> ''{{{tmname|Nobunaga}}}''
Line 14: Line 14:
| class="roundyright" style="background:#FFF;" | {{{kingdom|[[Aurora]]}}}
| class="roundyright" style="background:#FFF;" | {{{kingdom|[[Aurora]]}}}
|-
|-
! class="roundyleft" style="background: #{{{{{type|Unknown}}} color light}}; text-align:right" | Specialty
! class="roundytl" style="background: #{{{{{type|Unknown}}} color light}}; text-align:right" | Specialty
| class="roundyright" style="background:#FFF;" | {{t|{{{type|Unknown}}}}}{{#if: {{{type2|}}}|, {{t|{{{type2|Unknown}}}}}|}}
| class="roundytr" style="background:#FFF;" | {{typecolor|{{{type|Unknown}}}}}{{#if: {{{type2|}}}|<nowiki> • </nowiki>{{typecolor|{{{type2|Unknown}}}}}|}}
|-
|-
! class="roundyleft" style="background: #{{{{{type|Unknown}}} color light}}; text-align:right" | Default Pokémon
! class="roundybl" style="background: #{{{{{type|Unknown}}} color light}}; text-align:right" | Weakness
| class="roundyright" style="background:#FFF;" | {{{default|{{p|Unown}}}}}
| class="roundybr" style="background:#FFF;" | {{typecolor|{{{weaktype|Unknown}}}}}{{#if: {{{weaktype2|}}}|<nowiki> • </nowiki>{{typecolor|{{{weaktype2|Unknown}}}}}|}}
|}<noinclude>[[Category:Infobox templates]]</noinclude>
|-
! class="roundytop" colspan="2"  style="background:#{{{{{type|Unknown}}} color light}};" | Default Pokémon
|-
| class="roundybottom" colspan="2" style="background:#FFF; text-align:center;" |
{{{default|{{p|Unown}}}}}
|-
! class="roundytop" colspan="2"  style="background:#{{{{{type|Unknown}}} color light}};" | Perfect Links
|-
| class="roundybottom" colspan="2" style="background:#FFF; text-align:center;" |
{{{perfect|{{p|Unown}}}}}
|}{{#if:{{{nocat|}}}||{{#switch: {{{gender|}}}|Male=[[Category:Male characters]]|Female=[[Category:Female characters]]}}}}</includeonly><noinclude>
{{documentation}}
 
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 22:04, 12 January 2024



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

Usage

{{WarlordInfobox
|name=
|jname=
|tmname=
|image=
|size=
|image2=
|size2=
|caption=
|gender=
|relatives=
|kingdom=
|type=
|type2=
|default=
}}

Template Fields

  • name - The Warlord's name.
  • jname - The Warlord's Japanese name.
  • tmname - The Warlord's name as translated from Japanese.
  • image - Image of the Warlord. Include the file extension (.png, .jpg, etc).
  • size (optional) - Size of the first image. Defaults to 250px.
  • image2 (optional) - Second image, if desired. Include the file extension (.png, .jpg, etc).
  • size2 (optional) - Size of the second image. Defaults to 250px.
  • caption - Caption text displayed below the image.
  • gender - Male or Female.
  • relatives - any relatives, and their relation in parentheses. If there are no known relatives, put "Unknown".
  • kingdom - The Warlord's home kingdom.
  • nocat - If set to 1, prevents categories from being generated.

Types

  • type - The Warlord's first specialty type.
    • type2 - The Warlord's second specialty type. (Leave blank if they only have one.)
  • weaktype The Warlord's first weakness type.
    • weaktype2 - The Warlord's second weakness type. (Leave blank if they only have one)

Pokémon

  • default - The Warrior's default Pokémon.
  • perfect - The Warrior's Perfect Link Pokémon.

Examples

Male Warlord, no relatives, one type, two default Pokémon

Motonari
モトナリ Motonari
Mori Motonari.png
Artwork with Servine
Gender Male
Relatives Unknown
Kingdom Greenleaf
Specialty  Grass 
Weakness  Poison 
Default Pokémon

SnivyRaltsSerperior

Perfect Links

ServineSerperior

{{WarlordInfobox
|name=Motonari
|jname=モトナリ
|tmname=Motonari
|image=Mori Motonari.png
|caption=Artwork with Servine
|gender=Male
|relatives=Unknown
|kingdom=[[Greenleaf]]
|type=Grass
|weaktype=Poison
|default={{CSP|495|Snivy}} • {{CSP|280|Ralts}} • {{CSP|497|Serperior}}
|perfect={{CSP|496|Servine}} • {{CSP|497|Serperior}}
|nocat=1
}}


Female Warlord, with relatives, two types, one default Pokémon

Aya
アヤゴゼン Aya-Gozen
Aya Gozen.png
Artwork with Cubchoo
Gender Female
Relatives Kenshin (brother)
Kingdom Illusio
Specialty  Ice  Ghost 
Weakness  Fighting  Rock 
Default Pokémon

CubchooBeartic

Perfect Links

SnoruntFroslass

{{WarlordInfobox
|name=Aya 
|jname=アヤゴゼン 
|tmname=Aya-Gozen 
|image=Aya Gozen.png 
|caption=Artwork with Cubchoo 
|gender=Female 
|relatives=[[Kenshin]] (brother) 
|kingdom=[[Illusio]] 
|type=Ice 
|type2=Ghost
|weaktype=Fighting
|weaktype2=Rock
|default={{CSP|613|Cubchoo}} • {{CSP|614|Beartic}}
|perfect={{CSP|361|Snorunt}} • {{CSP|478|Froslass}}
|nocat=1
}}