Template:Item infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "\[\[Category:([^\]|]+)\|{{PAGENAME}}\]\]" to "Category:$1") |
m (Text replacement - "|-↵|}" to "|}") |
||
(35 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" | <includeonly>{| class="infobox" style="width:250px;background:whitesmoke;border-color:darkgray" | ||
! colspan="2" style="font-size:125%;background:silver" | {{{title|{{PAGETITLE}}}}} | |||
|- | |- | ||
| | | colspan="2" style="text-align:center" | {{{image|}}} | ||
|- style=" | |- style="background:gainsboro" | ||
{{#if:{{{description|}}}| | {{#if:{{{description|}}}| | ||
! colspan="2" {{!}} Description | |||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="border-bottom:1px solid darkgray | {{!}} colspan="2" style="text-align:center;border-bottom:1px solid darkgray" {{!}} {{{description}}} | ||
}} | |||
{{#if:{{{first_appearance|}}}| | |- | ||
{{!}} | {{#if:{{{first_appearance|}}}| | ||
'''First appearance''' | {{!}} '''First appearance''' | ||
{{!}}{{{first_appearance | {{!}} {{{first_appearance}}} | ||
{{#if:{{{latest_appearance|}}}| | }} | ||
{{!}} | |- | ||
'''Latest appearance''' | {{#if:{{{latest_appearance|}}}| | ||
{{!}}{{{latest_appearance | {{!}} '''Latest appearance''' | ||
|- | {{!}} {{{latest_appearance}}} | ||
}} | |||
{{#if:{{{effect|}}}| | |- | ||
{{!}} | {{#if:{{{effect|}}}| | ||
'''Effect | {{!}} '''Effect''' | ||
{{!}} {{{effect | {{!}} {{{effect}}} | ||
}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{{{ | {{{{PAGENAME}} | ||
|title={{ | |title={{PAGENAME}} test | ||
|image=[[File:Nocoverart.png|125px]] | |image=[[File:Nocoverart.png|125px|class=notpageimage]] | ||
|description=For various [[:Category:Items|items]]. | |description=For various [[:Category:Items|items]]. | ||
|first_appearance=''[[Super Mario Bros.]]'' | |first_appearance=''[[Super Mario Bros.]]'' | ||
Line 33: | Line 33: | ||
|effect=User gains knowledge. | |effect=User gains knowledge. | ||
}} | }} | ||
{{br}} | |||
== Usage == | |||
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3 | |||
!colspan=2 style="background-color:silver"|Syntax | |||
|- | |||
||title= | |||
<pre>{{ | |The name of the item - only use this if it is different from the name of the article. | ||
|title= | |- | ||
|image= | ||image= | ||
|description= | |An image of the item within '''<nowiki>[[File:]]</nowiki>'''. Example: '''<nowiki>[[File:Mario.png]]</nowiki>''' | ||
|first_appearance= | |- | ||
|latest_appearance= | ||description= | ||
|effect= | |In-game description of the item. Do not use this for common items that have multiple descriptions across games and supporting material. | ||
}}</pre> | |- | ||
||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. | |||
|} | |||
<pre> | |||
{{item infobox | |||
|title= | |||
|image= | |||
|description= | |||
|first_appearance= | |||
|latest_appearance= | |||
|effect= | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 23:06, February 4, 2024
Item infobox test | |
---|---|
File:Nocoverart.png | |
Description | |
For various items. | |
First appearance | Super Mario Bros. |
Latest appearance | Super Mario 3D World |
Effect | User gains knowledge. |
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. |
{{item infobox |title= |image= |description= |first_appearance= |latest_appearance= |effect= }}