Difference between revisions of "Template:Species-infobox"

From Marioverse Wiki
Jump to navigationJump to search
m
 
(4 intermediate revisions by the same user not shown)
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"
<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=" #ff1a1a" style="font-size:100%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
| align="center" colspan="2" bgcolor="#ff6666" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
|-
|-
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
|- style="vertical-align: top"
{{#if:{{{names|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Other Names'''
{{!}} {{{names}}}
|}}


|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{habitat|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{habitat|}}}|{{!}}- style="vertical-align:top"
{{!}} '''habitat'''
{{!}} '''Habitat'''
{{!}} {{{habitat}}}
{{!}} {{{habitat}}}
|}}
|}}
Line 15: Line 21:
{{!}} 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;" {{!}} Related Species
! style="background:{{{secbg|#ff6666}}}; padding:2px;" {{!}} Related Species
{{!}}-
{{!}}-
{{!}} style="padding:0 2px;" {{!}} {{{related_species|}}}
{{!}} style="padding:0 2px;" {{!}} {{{related_species|}}}
Line 25: Line 31:
{{!}} 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;" {{!}} Notable members
! style="background:{{{secbg|#ff6666}}}; padding:2px;" {{!}} Notable members
{{!}}-
{{!}}-
{{!}} style="padding:0 2px;" {{!}} {{{notable}}}
{{!}} style="padding:0 2px;" {{!}} {{{notable}}}
Line 35: Line 41:
|title=
|title=
|image=
|image=
|first_appearance=
|habitat=
|latest_appearance=
|related_species=
|parent_species=
|derived_species=
|related=
|relatives=
|notable=
|notable=
|expand=
|expand=
}}</pre></div>
}}</pre></div>
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*image &ndash;
*title &ndash; default pagename, just in case can be changed
*title &ndash;
*first_appearance
*habitat &ndash;
*latest_appearance
*related_species &ndash;  
*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]]
*notable &ndash;
*derived_species (shown as ''Variants'') &ndash; an entity based on the subject, i.e one of [[Goomba]]'s variants is [[Gloomba]]s
*expand &ndash;
*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).
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:20, 9 June 2021

{{species-infobox
|title=
|image=
|habitat=
|related_species=
|notable=
|expand=
}}
  • image –
  • title –
  • habitat –
  • related_species –
  • notable –
  • expand –