Template:Group infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Never mind, that seems to have messed up the collapsible part.) |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="infobox" cellpadding=2 cellspacing=2 align={{{align|right}}} width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: #fff7ee; border:1px solid #ff5300; color:#000" | {| class="infobox" cellpadding=2 cellspacing=2 align={{{align|right}}} width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background: #fff7ee; border:1px solid #ff5300; color:#000" | ||
| align="center" colspan="2" bgcolor="#ff8a4a" style="font-size:145% | | align="center" colspan="2" bgcolor="#ff8a4a" style="font-size:145%" | '''{{{title|{{PAGENAME}}}}}''' | ||
|- | |- | ||
|align="center" colspan="2" | {{{image|}}} | |align="center" colspan="2" | {{{image|}}} | ||
Line 10: | Line 10: | ||
{{#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=" | {{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="text-align:left" border="0" cellpadding="0" cellspacing="0" | ||
! style="padding:2px | ! style="padding:2px" {{!}} Members | ||
{{!}}- | {{!}}- | ||
{{!}} style="padding:0 2px | {{!}} style="padding:0 2px" {{!}} {{{members|}}} | ||
{{!}}} | {{!}}} | ||
|}} | |}} | ||
Line 22: | Line 22: | ||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{latest_appearance|}}}|{{!}}- style="vertical-align: top | {{#if:{{{latest_appearance|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} '''Latest appearance''' | {{!}} '''Latest appearance''' | ||
{{!}} {{{latest_appearance}}} | {{!}} {{{latest_appearance}}} | ||
Line 29: | Line 29: | ||
{{#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=" | {{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="text-align:left" border="0" cellpadding="0" cellspacing="0" | ||
! style="background:{{{secbg|#ff9c77}}}; padding:2px | ! style="background:{{{secbg|#ff9c77}}}; padding:2px" {{!}} Member species | ||
{{!}}- | {{!}}- | ||
{{!}} style="padding:0 2px | {{!}} style="padding:0 2px" {{!}} {{{member_species|}}} | ||
{{!}}} | {{!}}} | ||
|}} | |}} |
Revision as of 20:47, August 11, 2020
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.