Template:Species infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
! colspan="2" style="font-size:125%;background-color:#10274c;color:white" | {{{title|{{PAGENAME}}}}}
! colspan="2" style="font-size:125%;background-color:#10274c;color:white" | {{{title|{{PAGENAME}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|- style="vertical-align: top"
|-
{{#if:{{{affiliation|}}}|{{!}}- style="vertical-align: top"
{{#if:{{{affiliation|}}}|{{!}}-
{{!}} '''Affiliation(s)'''
{{!}} '''Affiliation(s)'''
{{!}} {{{affiliation}}}
{{!}} {{{affiliation}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{first_appearance|}}}|{{!}}- style="background:#c5ced6; vertical-align:top"
{{#if:{{{first_appearance|}}}|{{!}}- style="background:#c5ced6"
{{!}} '''First appearance'''
{{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{latest_appearance|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{latest_appearance|}}}|{{!}}-
{{!}} '''Latest appearance'''
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
{{!}} {{{latest_appearance}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{portrayed_by|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{portrayed_by|}}}|{{!}}-
{{!}} '''Portrayed by'''
{{!}} '''Portrayed by'''
{{!}} {{{portrayed_by}}}
{{!}} {{{portrayed_by}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{latest_portrayal|}}}|{{!}}- style="background:#c5ced6; style="vertical-align:top"
{{#if:{{{latest_portrayal|}}}|{{!}}- style="background:#c5ced6;
{{!}} '''Latest portrayal'''
{{!}} '''Latest portrayal'''
{{!}} {{{latest_portrayal}}}
{{!}} {{{latest_portrayal}}}
|}}
|}}
|- style="vertical-align: top"
|-  
{{#if:{{{species_origin|}}}|{{!}}- style="background:#c5ced6; vertical-align: top"
{{#if:{{{species_origin|}}}|{{!}}- style="background:#c5ced6"
{{!}} '''Subject origin'''
{{!}} '''Subject origin'''
{{!}} style="width:17em" {{!}} {{{species_origin}}}
{{!}} style="width:17em" {{!}} {{{species_origin}}}
|}}
|}}
|- style="vertical-align: top"
|-  
{{#if:{{{parent_species|}}}|{{!}}- style="background:#c5ced6; vertical-align: top"
{{#if:{{{variant_of|{{{parent_species|}}}}}}|{{!}}- style="background:#c5ced6"
{{!}} '''Variant of'''
{{!}} '''Variant of'''
{{!}} style="width:17em" {{!}} {{{parent_species}}}
{{!}} style="width:17em" {{!}} {{{variant_of|{{{parent_species}}}}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{sub_species|}}}|
{{#if:{{{variants|{{{derived_species|}}}}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px" {{!}} Variants
! style="background:{{{secbg|#c5ced6}}}; padding:2px" {{!}} Variants
{{!}}-
{{!}}-
{{!}} style="padding:0 2px" {{!}} {{{sub_species|}}}
{{!}} style="padding:0 2px" {{!}} {{{variants|{{{derived_species}}}}}}
{{!}}}
{{!}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{derived_species|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px" {{!}} Variants
{{!}}-
{{!}} style="padding:0 2px" {{!}} {{{derived_species|}}}
{{!}}}
|}}
|- style="vertical-align: top"
{{#if:{{{relatives|}}}|
{{#if:{{{relatives|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0" {{!}}
Line 62: Line 53:
! style="background:{{{secbg|#c5ced6}}}; padding:2px" {{!}} Relatives
! style="background:{{{secbg|#c5ced6}}}; padding:2px" {{!}} Relatives
{{!}}-
{{!}}-
{{!}} style="padding:0 2px" {{!}} {{{relatives|}}}
{{!}} style="padding:0 2px" {{!}} {{{relatives}}}
{{!}}}
{{!}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{related|}}}|
{{#if:{{{comparable|{{{related|}}}}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px" {{!}} Comparable
! style="background:{{{secbg|#c5ced6}}}; padding:2px" {{!}} Comparable
{{!}}-
{{!}}-
{{!}} style="padding:0 2px" {{!}} {{{related|}}}
{{!}} style="padding:0 2px" {{!}} {{{comparable|{{{related}}}}}}
{{!}}}
{{!}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0" {{!}}
Line 94: Line 85:
|An image of the subject. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
|An image of the subject. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
|-
|-
|&#124;first appearance=
|&#124;first_appearance=
|The first game, book, cartoon episode, comic issue, movie, etc. that the species has appeared in.
|The first game, book, cartoon episode, comic issue, movie, etc. that the species has appeared in.
|-
|-
|style=white-space:nowrap|&#124;latest appearance=
|style=white-space:nowrap|&#124;latest_appearance=
|The latest game (etc.) that the species has appeared in. This does not include upcoming games: the game ''must have been released'' before the infobox can be updated.
|The latest game (etc.) that the species has appeared in. This does not include upcoming games: the game ''must have been released'' before the infobox can be updated.
|-
|-
|&#124;latest portrayal=
|&#124;latest_portrayal=
|Who voiced (or otherwise portrayed) the species in the most recently released game (etc.).
|Who voiced (or otherwise portrayed) the species in the most recently released game (etc.).
|-
|-
|&#124;portrayed by=
|&#124;portrayed_by=
|If only one person has portrayed the species, use this instead of "latest portrayal".
|If only one person has portrayed the species, use this instead of "latest portrayal".
|-
|-
|&#124;parent_species=
|&#124;variant_of=
|'''(Shown as ''Variant of'')'''<br>An older or more basic entity that the subject is based on, i.e. [[Gloomba]] is a variant of [[Goomba]]
|An older or more basic entity that the subject is based on, i.e. [[Gloomba]] is a variant of [[Goomba]]
|-
|-
|&#124;derived_species=
|&#124;variants=
|'''(Shown as ''Variants'')'''<br>An entity based on the subject, e.g. one of [[Goomba]]'s variants is [[Gloomba]]s
|An entity based on the subject, e.g. one of [[Goomba]]'s variants is [[Gloomba]]s
|-
|-
|&#124;related=
|&#124;comparable=
|'''(Shown as ''Comparable'')'''<br>Similar entities that are not actually based off one another, such as [[Tub-O-Troopa]]s and [[Big Koopa Paratroopa]]s
|Similar entities that are not actually based off one another, such as [[Tub-O-Troopa]]s and [[Big Koopa Paratroopa]]s
|-
|-
|&#124;relatives=
|&#124;relatives=
Line 122: Line 113:
|-
|-
|&#124;expand=
|&#124;expand=
|Collapses the "derived species", "related species" and "notable" lists when they are long. It can be enabled by writing "expandable" (it is "noexpandable" by default).
|Collapses the "variants", "relatives", "comparable", and "notable" lists when they are long. It can be enabled by writing "expandable" (it is "noexpandable" by default).
|-
|-
!colspan=2 style="background-color:#10274c;color:white"|Deprecated syntax
!colspan=2 style="background-color:#10274c;color:white"|Deprecated syntax
Line 130: Line 121:
|-
|-
|}
|}
<pre>
<pre>
{{species-infobox
{{species-infobox
Line 136: Line 128:
|first_appearance=
|first_appearance=
|latest_appearance=
|latest_appearance=
|latest_portrayal=
|portrayed_by=
|portrayed_by=
|latest_portrayal=
|variant_of=
|parent_species=
|variants=
|derived_species=
|comparable=
|relatives=
|relatives=
|related=
|notable=
|notable=
|expand=
|expand=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 23:27, February 10, 2022

Species infobox

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title. When this is not desirable (e.g., where there is a (Disambiguation) tag in the article title), it can be manually specified.
|image= break symbol in image syntax.
|first_appearance= The first game, book, cartoon episode, comic issue, movie, etc. that the species has appeared in.
|latest_appearance= The latest game (etc.) that the species has appeared in. This does not include upcoming games: the game must have been released before the infobox can be updated.
|latest_portrayal= Who voiced (or otherwise portrayed) the species in the most recently released game (etc.).
|portrayed_by= If only one person has portrayed the species, use this instead of "latest portrayal".
|variant_of= An older or more basic entity that the subject is based on, i.e. Gloomba is a variant of Goomba
|variants= An entity based on the subject, e.g. one of Goomba's variants is Gloombas
|comparable= Similar entities that are not actually based off one another, such as Tub-O-Troopas and Big Koopa Paratroopas
|relatives= An entity with a variant-type relationship with the subject in which it's not clear who is the variant of whom.
|notable= Notable members of a species, like how Magikoopas would have Kamek.
|expand= Collapses the "variants", "relatives", "comparable", and "notable" lists when they are long. It can be enabled by writing "expandable" (it is "noexpandable" by default).
Deprecated syntax
|affiliation= (This parameter is no longer used in wiki articles and stays on the template only due to its usage on an entry of MarioWiki:BJAODN.) Important characters, groups or places associated with the character in question.
{{species-infobox
|title=
|image=
|first_appearance=
|latest_appearance=
|latest_portrayal=
|portrayed_by=
|variant_of=
|variants=
|comparable=
|relatives=
|notable=
|expand=
}}