Difference between revisions of "Template:Species-infobox"
From Marioverse Wiki
Jump to navigationJump to search
LadySophie (talk | contribs) |
LadySophie (talk | contribs) |
||
Line 1: | Line 1: | ||
{{ | <includeonly>{| class="infobox" 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: ghostwhite; border:1px solid #8a8; color:black" | ||
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>''' | |||
|- | |||
|align="center" colspan="2" | {{{image|}}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{affiliation|}}}|{{!}}- style="vertical-align: top;" | |||
{{!}} '''Affiliation(s)''' | |||
{{!}} {{{affiliation}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{first_appearance|}}}|{{!}}- style="background:#c5ced6; vertical-align:top" | |||
{{!}} '''First appearance''' | |||
{{!}} {{{first_appearance}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{latest_appearance|}}}|{{!}}- style="vertical-align:top" | |||
{{!}} '''Latest appearance''' | |||
{{!}} {{{latest_appearance}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{species_origin|}}}|{{!}}- style="background:#c5ced6; vertical-align: top;" | |||
{{!}} '''Subject origin''' | |||
{{!}} style="width:17em" {{!}} {{{species_origin}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{parent_species|}}}|{{!}}- style="background:#c5ced6; vertical-align: top;" | |||
{{!}} '''Variant of''' | |||
{{!}} style="width:17em" {{!}} {{{parent_species}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{sub_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;" {{!}} {{{sub_species|}}} | |||
{{!}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
}}< | {{#if:{{{derived_species|}}}| | ||
{{!}} colspan="2" style="padding:0" {{!}} | |||
</noinclude> | {{{!}} 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:{{{related|}}}| | |||
{{!}} 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;" {{!}} Comparable | |||
{{!}}- | |||
{{!}} style="padding:0 2px;" {{!}} {{{related|}}} | |||
{{!}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{relatives|}}}| | |||
{{!}} 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;" {{!}} Relatives | |||
{{!}}- | |||
{{!}} style="padding:0 2px;" {{!}} {{{relatives|}}} | |||
{{!}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{notable|}}}| | |||
{{!}} 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;" {{!}} Notable members | |||
{{!}}- | |||
{{!}} style="padding:0 2px;" {{!}} {{{notable}}} | |||
{{!}}} | |||
|}} | |||
|}</includeonly><noinclude><div style="float:right"><pre>{{species-infobox | |||
|title= | |||
|image= | |||
|first_appearance= | |||
|latest_appearance= | |||
|parent_species= | |||
|derived_species= | |||
|related= | |||
|relatives= | |||
|notable= | |||
|expand= | |||
}}</pre></div> | |||
*image – an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. | |||
*title – default pagename, just in case can be changed | |||
*first_appearance | |||
*latest_appearance | |||
*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 [[Gloomba]]s | |||
*related (shown as ''Comparable'') – similar entities that are not actually based off one another, such as [[Tub-O-Troopa]]s and [[Big Koopa Paratroopa]]s | |||
*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 [[Magikoopa]]s would have [[Kamek]]. | |||
*affiliation – 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 – 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|{{PAGENAME}}]]</noinclude> |
Revision as of 03:52, 16 December 2020
{{species-infobox |title= |image= |first_appearance= |latest_appearance= |parent_species= |derived_species= |related= |relatives= |notable= |expand= }}
- image – an image. Must use
{{!}}
for a|
break symbol in image syntax. - title – default pagename, just in case can be changed
- first_appearance
- latest_appearance
- 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.
- affiliation – i.e., Koopa Troop, X-Naut. 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.
- expand – for collapsing the "derives species", "related species" and "notable" lists when they are long. Activate this by writing "expandable" (it is "noexpandable" by default).