Template:Item infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "|-↵|}" to "|}")
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 23: Line 23:
{{!}} '''Effect'''
{{!}} '''Effect'''
{{!}} {{{effect}}}
{{!}} {{{effect}}}
}}
|-
{{#if:{{{variant_of|}}}|
{{!}} '''Variant of'''
{{!}} {{{variant_of}}}
}}
|-
{{#if:{{{variants|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{variants-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left" {{!}} Variants
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{variants-col|{{#rmatch:{{{variants}}}|<br\b|2|1|caseless=1}}}}}">{{{variants}}}</div>
{{!}}}
}}
|-
{{#if:{{{related|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{related-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left" {{!}} Related
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{related-col|{{#rmatch:{{{related}}}|<br\b|2|1|caseless=1}}}}}">{{{related}}}</div>
{{!}}}
}}
|-
{{#if:{{{comparable|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="{{#if:{{{comparable-collapsed|{{{collapsed|}}}}}}|mw-collapsible mw-collapsed}}" style="width:100%" cellspacing="0"
! style="text-align:left" {{!}} Comparable
{{!}}-
{{!}} style="padding:0 2px !important" {{!}} <div style="columns:{{{comparable-col|{{#rmatch:{{{comparable}}}|<br\b|2|1|caseless=1}}}}}">{{{comparable}}}</div>
{{!}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{{{PAGENAME}}
|title={{PAGENAME}} test
|image=[[File:Nocoverart.png|125px|class=notpageimage]]
|description=For various [[:Category:Items|items]].
|first_appearance=''[[Super Mario Bros.]]''
|latest_appearance=''[[Super Mario 3D World]]''
|effect=User gains knowledge.
}}
{{br}}
== Usage ==
== Usage ==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
{|class=wikitable style="width:70%;float:right;margin:0 0 1em 1em"
!colspan=2 style="background-color:silver"|Syntax
!colspan=2|Syntax
|-
|-
|&#124;title=
|&#124;title=
Line 50: Line 73:
|The first appearance of the item.
|The first appearance of the item.
|-
|-
|&#124;latest_appearance=
|style="white-space:nowrap"|&#124;latest_appearance=
|The most recent appearance of the item.
|The most recent appearance of the item.
|-
|-
|&#124;effect=
|&#124;effect=
|What this item does to its user.
|What this item does to its user.
|-
|&#124;variant_of=
|A subject that the item is based on.
|-
|&#124;variants=
|Any subjects which are considered subtypes of the item.
|-
|&#124;related=
|A subject with a variant-type relationship with the item in which there are significant visual and/or behavioral differences between the two. Alternatively used if it's not clear which is the variant of which (if either).
|-
|&#124;comparable=
|Similar subjects that are not necessarily based on one another.
|}
|}


Line 65: Line 100:
|latest_appearance=
|latest_appearance=
|effect=
|effect=
|variant_of=
|variants=
|related=
|comparable=
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 18:47, October 30, 2024

Usage

Syntax
|title= The name of the item - only use this if it is different from the name of the article.
|image= An image of the item within [[File:]]. Example: [[File:Mario.png]]
|description= In-game description of the item. Do not use this for common items that have multiple descriptions across games and supporting material.
|first_appearance= The first appearance of the item.
|latest_appearance= The most recent appearance of the item.
|effect= What this item does to its user.
|variant_of= A subject that the item is based on.
|variants= Any subjects which are considered subtypes of the item.
|related= A subject with a variant-type relationship with the item in which there are significant visual and/or behavioral differences between the two. Alternatively used if it's not clear which is the variant of which (if either).
|comparable= Similar subjects that are not necessarily based on one another.
{{item infobox
|title=
|image=
|description=
|first_appearance=
|latest_appearance=
|effect=
|variant_of=
|variants=
|related=
|comparable=
}}