Template:Species infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "145%" to "125%")
(cleanup code; made border a fitting color; documentation to match with character-infobox template)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:280px;background:ghostwhite;border:1px solid #8a8"
{| class="infobox" style="width:280px;background:ghostwhite;border:1px solid #88a"
| align="center" colspan="2" bgcolor="#10274c" style="font-size:125%" | '''<span style="color:white">{{{title|{{PAGENAME}}}}}</span>'''
! colspan="2" style="font-size:125%;background-color:#10274c;color:white" | {{{title|{{PAGENAME}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
Line 73: Line 73:
{{!}}}
{{!}}}
|}}
|}}
|}</includeonly><noinclude><div style="float:right"><pre>{{species-infobox
|}<noinclude>{{br}}
==Usage==
{|border=1 style=border-collapse:collapse;width:70%;float:right;margin-left:1em; cellpadding=3
!colspan=2 style="background-color:#10274c;color:white"|Syntax
|-
|&#124;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.
|-
|&#124;image=
|An image of the subject. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
|-
|&#124;full name=
|The character's full name (for example, "King Bowser Koopa" is [[Bowser]]'s full name). Only use this parameter if the full name is not the same as the title already used for the article or infobox (for example, do not list [[Donkey Kong]]'s full name as "Donkey Kong," as it is redundant).
|-
|&#124;first appearance=
|The first game, book, cartoon episode, comic issue, movie, etc. that the species has appeared in.
|-
|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.
|-
|&#124;parent_species=
|'''(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]]
|-
|&#124;derived_species=
|'''(Shown as ''Variants'')'''<br>An entity based on the subject, i.e one of [[Goomba]]'s variants is [[Gloomba]]s
|-
|&#124;related=
|'''(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
|-
|&#124;relatives=
|An entity with a variant-type relationship with the subject in which it's not clear which is the variant of which.
|-
|&#124;notable=
|Notable members of a species, like how [[Magikoopa]]s would have [[Kamek]].
|-
|&#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).
|-
!colspan=2 style="background-color:#10274c;color:white"|Deprecated syntax
|-
|&#124;affiliation=
|<b>(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]].)</b> Important characters, groups or places associated with the character in question.
|-
|}
<pre>
{{species-infobox
|title=
|title=
|image=
|image=
Line 84: Line 129:
|notable=
|notable=
|expand=
|expand=
}}</pre></div>
}}
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
</pre>
*title &ndash; default pagename, just in case can be changed
[[Category:Infobox templates]]</noinclude>
*first_appearance
*latest_appearance
*parent_species (shown as ''Variant of'') &ndash; an older or more basic entity that the subject is based on, i.e. [[Gloomba]] is a variant of [[Goomba]]
*derived_species (shown as ''Variants'') &ndash; an entity based on the subject, i.e one of [[Goomba]]'s variants is [[Gloomba]]s
*related (shown as ''Comparable'') &ndash; similar entities that are not actually based off one another, such as [[Tub-O-Troopa]]s and [[Big Koopa Paratroopa]]s
*relatives &ndash; an entity with a variant-type relationship with the subject in which it's not clear which is the variant of which.
*notable &ndash; notable members of a species, like how [[Magikoopa]]s would have [[Kamek]].
*affiliation &ndash; i.e., Koopa Troop, X-Naut. <b>Note that 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]].</b>
*expand &ndash; for collapsing the "derives species", "related species" and "notable" lists when they are long. Activate this by writing "expandable" (it is "noexpandable" by default).
{{br}} [[Category:Infobox templates]]</noinclude>

Revision as of 10:16, May 22, 2021

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.
|full name= The character's full name (for example, "King Bowser Koopa" is Bowser's full name). Only use this parameter if the full name is not the same as the title already used for the article or infobox (for example, do not list Donkey Kong's full name as "Donkey Kong," as it is redundant).
|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.
|parent_species= (Shown as Variant of)
An older or more basic entity that the subject is based on, i.e. Gloomba is a variant of Goomba
|derived_species= (Shown as Variants)
An entity based on the subject, i.e one of Goomba's variants is Gloombas
|related= (Shown as 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 which is the variant of which.
|notable= Notable members of a species, like how Magikoopas would have Kamek.
|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).
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=
|parent_species=
|derived_species=
|related=
|relatives=
|notable=
|expand=
}}