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 36: Line 36:
{{#if:{{{variants|}}}|
{{#if:{{{variants|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Variants
! style="text-align:left;padding:2px !important" {{!}} Variants
{{!}}-
{{!}}-
Line 45: Line 45:
{{#if:{{{relatives|}}}|
{{#if:{{{relatives|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Relatives
! style="text-align:left;padding:2px !important" {{!}} Relatives
{{!}}-
{{!}}-
Line 54: Line 54:
{{#if:{{{comparable|}}}|
{{#if:{{{comparable|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Comparable
! style="text-align:left;padding:2px !important" {{!}} Comparable
{{!}}-
{{!}}-
Line 63: Line 63:
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
{{{!}} class="{{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;padding:2px !important" {{!}} Notable members
! style="text-align:left;padding:2px !important" {{!}} Notable members
{{!}}-
{{!}}-
Line 107: Line 107:
|Notable members of a species, like how [[Magikoopa]]s would have [[Kamek]].
|Notable members of a species, like how [[Magikoopa]]s would have [[Kamek]].
|-
|-
||expand=
||collapsed=
|Collapses the "variants", "relatives", "comparable", and "notable" lists when they are long. It can be enabled by writing "expandable".
|Set to "true" to collapse the "variants", "relatives", "comparable", and "notable" lists when they are long.
|-
|-
!colspan=2 style="background-color:#10274c;color:white"|Deprecated syntax
!colspan=2 style="background-color:#10274c;color:white"|Deprecated syntax
Line 130: Line 130:
|comparable=
|comparable=
|notable=
|notable=
|expand=
|collapsed=
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 10:20, April 25, 2022

Species infobox

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|image= An image of the subject.
|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, e.g. Gloomba is a variant of Goomba
|variants= An entity based on the subject, e.g. one of Goomba's variants is Gloombas
|relatives= An entity with a variant-type relationship with the subject in which it's not clear who is the variant of whom, such as Monty Moles and Rocky Wrenches.
|comparable= Similar entities that are not necessarily based on one another, such as Tub-O-Troopas and Big Koopa Paratroopas
|notable= Notable members of a species, like how Magikoopas would have Kamek.
|collapsed= Set to "true" to collapse the "variants", "relatives", "comparable", and "notable" lists when they are long.
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=
|relatives=
|comparable=
|notable=
|collapsed=
}}