Template:Species infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(excelso...)
No edit summary
 
(102 intermediate revisions by 30 users not shown)
Line 1: Line 1:
{| class="infobox {{{expand|noexpandable}}}" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: {{{bg|ghostwhite}}}; border:1px solid {{{border|#8a8}}}; color:black"
<includeonly><templatestyles src="Species infobox/styles.css"/>
| align="center" colspan="2" bgcolor="{{{titlebg|#10274c}}}" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
{| id="species" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}  
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{species_orgin|}}}|{{!}}- style="background:{{{secbg{{!}}#c5ced6}}}; vertical-align: top;"
|-
{{!}} '''Species Orgin'''
{{#if:{{{full_name|}}}|
{{!}} style="width:17em" {{!}} {{{species_orgin}}}
{{!}} '''Full name'''
|}}
{{!}} {{{full_name}}}
{{#if:{{{affiliation|}}}|{{!}}- style="vertical-align: top;"
}}
|-
{{#if:{{{affiliation|}}}|
{{!}} '''Affiliation(s)'''
{{!}} '''Affiliation(s)'''
{{!}} {{{affiliation}}}
{{!}} {{{affiliation}}}
|}}
}}
{{#if:{{{first_appearance|}}}|{{!}}- style="background:{{{secbg{{!}}#c5ced6}}}; vertical-align:top"
|-
{{!}} '''First Appearance'''
{{#if:{{{first_appearance|}}}|
{{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
|}}
}}
{{#if:{{{latest_appearance|}}}|{{!}}- style="vertical-align:top"
|-
{{!}} '''Latest Appearance'''
{{#if:{{{latest_appearance|}}}|
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
{{!}} {{{latest_appearance}}}
|}}
}}
{{#if:{{{sub_species|}}}|{{!}}- class={{{expand|noexpandable}}} style="background:{{{secbg{{!}}#c5ced6}}}; vertical-align:top"
|-
{{!}} colspan="2" {{!}}'''Sub-Species '''
{{#if:{{{latest_portrayal|}}}|
{{!}} '''Latest portrayal'''
{{!}} {{{latest_portrayal}}}
}}
|-
{{#if:{{{portrayed_by|}}}|
{{!}} '''Portrayed by'''
{{!}} {{{portrayed_by}}}
}}
|-
{{#if:{{{member_of|}}}|
{{!}} '''Member of'''
{{!}} {{{member_of}}}
}}
|-
{{#if:{{{variant_of|}}}|
{{!}} '''Variant of'''
{{!}} {{{variant_of}}}
}}
|-
{{#if:{{{subject_origin|}}}|
{{!}} '''Subject origin'''
{{!}} {{{subject_origin}}}
}}
|-
{{#if:{{{variants|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{variants-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left" {{!}} Variants
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}} {{{sub_species|}}}
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{variants-col|{{#rmatch:{{{variants}}}|<br\b|2|1|caseless=1}}}}}">{{{variants}}}</div>
|}}
{{!}}}
{{#if:{{{notable|}}}|{{!}}- class={{{expand|noexpandable}}} style="background:{{{secbg{{!}}#c5ced6}}}; vertical-align:top"
}}
{{!}} colspan="2" {{!}} '''Notable Members'''
|-
{{#if:{{{derived_subjects|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{derived_subjects-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left" {{!}} Derived subjects
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}} {{{notable}}}
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{derived_subjects-col|{{#rmatch:{{{derived_subjects}}}|<br\b|2|1|caseless=1}}}}}">{{{derived_subjects}}}</div>
|}}
{{!}}}
|}<noinclude>
}}
*bg &ndash; Main background (white default).
|-
*border &ndash; border bg color
{{#if:{{{relatives|}}}|
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
{{!}} colspan="2" style="padding:0 !important" {{!}}
*titlebg &ndash; bgcolor of where it says ''character-infobox'', the pagename.
{{{!}} class="{{#if:{{{relatives-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
*title &ndash; default pagename, just in case can be changed
! style="text-align:left" {{!}} Relatives
*secbg &ndash; the alternating bg color in the rows, next to the white
{{!}}-
*sub_species &ndash; i.e [[Goomba]]'s sub species is [[Gloomba]]s  
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{relatives-col|{{#rmatch:{{{relatives}}}|<br\b|2|1|caseless=1}}}}}">{{{relatives}}}</div>
*notable &ndash; Notable members like how [[Magikoopas]] would have [[Kamek]].
{{!}}}
*species &ndash; i.e., Koopa, Human
}}
*species_orgin &ndash; Species where Sub-species comes from (if it is a sub-species), so [[Spear Guy]]'s Species Orgin is [[Shy Guy]]
|-
*affiliation &ndash; i.e., Koopa Troop, X-Naut
{{#if:{{{comparable|}}}|
*latest_appearance
{{!}} colspan="2" style="padding:0 !important" {{!}}
*expand &ndash; Collapsing the "sub_species" and "notable" list when it is long. Activate this by writing "expandable". "noexpandable" by default.
{{{!}} class="{{#if:{{{comparable-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
<br clear="all"> [[Category:Formatting Templates]] </noinclude>
! style="text-align:left" {{!}} Comparable
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{comparable-col|{{#rmatch:{{{comparable}}}|<br\b|2|1|caseless=1}}}}}">{{{comparable}}}</div>
{{!}}}
}}
|-
{{#if:{{{notable|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{notable-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left" {{!}} Notable members
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{notable-col|{{#rmatch:{{{notable}}}|<br\b|2|1|caseless=1}}}}}">{{{notable}}}</div>
{{!}}}
}}
|}</includeonly><noinclude>{{br}}
==Usage==
{|class=wikitable style="width:70%;float:right;margin:0 0 1em 1em"
!colspan=2|Syntax
|-
|&#124;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.
|-
|&#124;image=
|An image of the subject.
|-
|&#124;full_name=
|The species' full name (for example, "Dangerous Duck" is the full name of the D.D. species). 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 Goomba's full name as "Goomba," 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;latest_portrayal=
|Who voiced (or otherwise portrayed) the species in the most recently released game (etc).
|-
|&#124;portrayed_by=
|If only one person has portrayed the species, use this instead of "latest_portrayal".
|-
|&#124;member_of=
|Groups the character is a member of. Differs from variants, as membership implies close association with others despite any and all differences, e.g. [[Goomba]]s and [[Piranha Plant]]s are members of [[Bowser's Minions]], despite not being [[Koopa (species)|Koopa]]s or related to them, because they have close relations.
|-
|&#124;variant_of=
|An older or more basic entity that the subject is considered a subtype of, e.g. [[Paragoomba]] is a variant of [[Goomba]].
|-
|&#124;variants=
|An entity considered a subtype of the subject, e.g. one of [[Goomba]]'s variants is [[Paragoomba]]s.
|-
|&#124;derived_subjects=
|Any subjects that are based on a pre-existing species, including real-world species, e.g. [[Bumblebee]] is a [[Bee]].
|-
|&#124;relatives=
|An entity with a variant-type relationship with the subject in which there are significant visual and/or behavioral differences between the two. Alternatively used if it's not clear who is the variant of whom (if either), such as with [[Spoing]]s and [[Spangler]]s.
|-
|&#124;comparable=
|Similar entities that are not necessarily based on one another, such as [[Koopa Troopa]]s and [[Wild Wendell]]s.
|-
|&#124;notable=
|Notable members of a species, like how [[Toad (species)|Toad]]s would have [[Toadette]].
|-
|&#124;collapsed=
|Set to "true" to collapse the "variants", "relatives", "comparable", and "notable" lists when they are long.
|-
!colspan=2|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.
|-
|&#124;subject_origin=
|<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> The species (including real-world species) that the subject is based on, if applicable.
|}
 
<pre>
{{species infobox
<!-- Details directly related to the subject -->
|title=
|image=
|full_name=
 
<!-- Details related to the subject's history -->
|first_appearance=
|latest_appearance=
|latest_portrayal=
|portrayed_by=
 
<!-- Details related to the subject's relations -->
|member_of=
|variant_of=
|variants=
|relatives=
|comparable=
|notable=
|derived_subjects=
|collapsed=
}}
</pre>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 17:49, April 13, 2025

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.
|full_name= The species' full name (for example, "Dangerous Duck" is the full name of the D.D. species). 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 Goomba's full name as "Goomba," 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.
|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".
|member_of= Groups the character is a member of. Differs from variants, as membership implies close association with others despite any and all differences, e.g. Goombas and Piranha Plants are members of Bowser's Minions, despite not being Koopas or related to them, because they have close relations.
|variant_of= An older or more basic entity that the subject is considered a subtype of, e.g. Paragoomba is a variant of Goomba.
|variants= An entity considered a subtype of the subject, e.g. one of Goomba's variants is Paragoombas.
|derived_subjects= Any subjects that are based on a pre-existing species, including real-world species, e.g. Bumblebee is a Bee.
|relatives= An entity with a variant-type relationship with the subject in which there are significant visual and/or behavioral differences between the two. Alternatively used if it's not clear who is the variant of whom (if either), such as with Spoings and Spanglers.
|comparable= Similar entities that are not necessarily based on one another, such as Koopa Troopas and Wild Wendells.
|notable= Notable members of a species, like how Toads would have Toadette.
|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.
|subject_origin= (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.) The species (including real-world species) that the subject is based on, if applicable.
{{species infobox
<!-- Details directly related to the subject -->
|title=
|image=
|full_name=

<!-- Details related to the subject's history -->
|first_appearance=
|latest_appearance=
|latest_portrayal=
|portrayed_by=

<!-- Details related to the subject's relations -->
|member_of=
|variant_of=
|variants=
|relatives=
|comparable=
|notable=
|derived_subjects=
|collapsed=
}}