Template:Group infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "145%" to "125%")
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:280px;background:#fff7ee;border:1px solid #ff5300"
{| class="infobox new orange"
| align="center" colspan="2" bgcolor="#ff8a4a" style="font-size:125%" | '''{{{title|{{PAGENAME}}}}}'''
| colspan="2" | '''{{{title|{{PAGENAME}}}}}'''
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" | {{{image|}}}
{{#if:{{{leader|}}}|{{!}}- style="background:#ff9c77"
{{#if:{{{leader|}}}|{{!}}-
{{!}}'''Leader'''
{{!}}'''Leader'''
{{!}} style="width:17em" {{!}} {{{leader|}}}
{{!}} {{{leader|}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{members|}}}|
{{#if:{{{members|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="text-align:left" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" width="100%" style="text-align:left" border="0" cellpadding="0" cellspacing="0"
! style="padding:2px" {{!}} Members
! style="padding:2px" {{!}} Members
{{!}}-
{{!}}-
Line 16: Line 16:
{{!}}}
{{!}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{first_appearance|}}}|{{!}}- style="background:#ff9c77"
{{#if:{{{first_appearance|}}}|{{!}}-
{{!}} '''First appearance'''
{{!}} '''First appearance'''
{{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{latest_appearance|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{latest_appearance|}}}|{{!}}-
{{!}} '''Latest appearance'''
{{!}} '''Latest appearance'''
{{!}} {{{latest_appearance}}}
{{!}} {{{latest_appearance}}}
|}}
|}}
|- style="vertical-align: top"
|-
{{#if:{{{member_species|}}}|
{{#if:{{{member_species|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="text-align:left" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed}}" width="100%" style="text-align:left" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#ff9c77}}}; padding:2px" {{!}} Member species
! style="padding:2px" {{!}} Member species
{{!}}-
{{!}}-
{{!}} style="padding:0 2px" {{!}} {{{member_species|}}}
{{!}} style="padding:0 2px" {{!}} {{{member_species|}}}
Line 44: Line 44:
*member_species - Species frequently employed by a group; i.e. [[Koopatrols]] are a member species of the Koopa Troop.
*member_species - Species frequently employed by a group; i.e. [[Koopatrols]] are a member species of the Koopa Troop.
*expand - Collapses the "members" and "member_species" lists when they are long. Activate this by writing "expandable". "noexpandable" by default.
*expand - Collapses the "members" and "member_species" lists when they are long. Activate this by writing "expandable". "noexpandable" by default.
{{br}} [[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 16:34, May 31, 2021

Group infobox
  • image - An image. Must use {{!}} for a | break symbol in image syntax.
  • title - Default pagename, for titles with parentheses.
  • leader - The leader of a group; i.e. Bowser's the leader of the Koopa Troop.
  • members - Notable members of a group that aren't the leader; i.e. Kamek is a notable member of the Koopa Troop.
  • first_appearance
  • latest_appearance
  • member_species - Species frequently employed by a group; i.e. Koopatrols are a member species of the Koopa Troop.
  • expand - Collapses the "members" and "member_species" lists when they are long. Activate this by writing "expandable". "noexpandable" by default.