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 1: Line 1:
{| class="infobox" style="width:280px;background:ghostwhite;border:1px solid #88a"
{| class="infobox blue" style="width:280px"
! colspan="2" style="font-size:125%;background-color:#10274c;color:#fff" | {{{title|{{PAGETITLE}}}}}
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
Line 9: Line 9:
|}}
|}}
|-
|-
{{#if:{{{first_appearance|}}}|{{!}}- style="background:#c5ced6"
{{#if:{{{first_appearance|}}}|{{!}}-
{{!}} '''First appearance'''
{{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
Line 19: Line 19:
|}}
|}}
|-
|-
{{#if:{{{latest_portrayal|}}}|{{!}}- style="background:#c5ced6"
{{#if:{{{latest_portrayal|}}}|{{!}}-
{{!}} '''Latest portrayal'''
{{!}} '''Latest portrayal'''
{{!}} {{{latest_portrayal}}}
{{!}} {{{latest_portrayal}}}
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%;background:ghostwhite" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;background:{{{secbg|#c5ced6}}};padding:2px !important" {{!}} Variants
! style="text-align:left;padding:2px !important" {{!}} Variants
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{variants}}}
{{!}} style="padding:0 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%;background:ghostwhite" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;background:{{{secbg|#c5ced6}}};padding:2px !important" {{!}} Relatives
! style="text-align:left;padding:2px !important" {{!}} Relatives
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{relatives}}}
{{!}} style="padding:0 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%;background:ghostwhite" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;background:{{{secbg|#c5ced6}}};padding:2px !important" {{!}} Comparable
! style="text-align:left;padding:2px !important" {{!}} Comparable
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{comparable}}}
{{!}} style="padding:0 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%;background:ghostwhite" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left;background:{{{secbg|#c5ced6}}};padding:2px !important" {{!}} Notable members
! style="text-align:left;padding:2px !important" {{!}} Notable members
{{!}}-
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} {{{notable}}}
{{!}} style="padding:0 2px !important" {{!}} {{{notable}}}
Line 72: Line 72:
==Usage==
==Usage==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
!colspan=2 style="background-color:#10274c;color:white"|Syntax
!colspan=2 style="background:#10274c;color:white"|Syntax
|-
|-
||title=
||title=

Revision as of 10:11, 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.
|expand= Collapses the "variants", "relatives", "comparable", and "notable" lists when they are long. It can be enabled by writing "expandable".
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=
|expand=
}}