Template:Item infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
m (Text replacement - "|-↵|}" to "|}") |
||
(16 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="width:250px;background:whitesmoke;border: | <includeonly>{| class="infobox" style="width:250px;background:whitesmoke;border-color:darkgray" | ||
! colspan="2" style="font-size:125%;background:silver" | {{{title|{{PAGETITLE}}}}} | |||
|- | |- | ||
|align=" | | colspan="2" style="text-align:center" | {{{image|}}} | ||
|- style="background:gainsboro" | |||
{{#if:{{{description|}}}| | |||
! colspan="2" {{!}} Description | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align:center;border-bottom:1px solid darkgray" {{!}} {{{description}}} | |||
}} | |||
|- | |||
{{#if:{{{first_appearance|}}}| | |||
{{!}} '''First appearance''' | |||
{{!}} {{{first_appearance}}} | |||
}} | |||
|- | |||
{{#if:{{{latest_appearance|}}}| | |||
{{!}} '''Latest appearance''' | |||
{{!}} {{{latest_appearance}}} | |||
}} | |||
|- | |- | ||
{{#if:{{{effect|}}}| | |||
{{!}} '''Effect''' | |||
{{!}} {{{effect}}} | |||
}} | |||
{{#if:{{{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 30: | Line 33: | ||
|effect=User gains knowledge. | |effect=User gains knowledge. | ||
}} | }} | ||
{{br}} | |||
== Usage == | == 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= | |||
|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 '''<nowiki>[[File:]]</nowiki>'''. Example: '''<nowiki>[[File:Mario.png]]</nowiki>''' | |||
|- | |||
||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. | |||
|} | |||
<pre>{{item infobox | <pre> | ||
|title= | {{item infobox | ||
|image= | |title= | ||
|description= | |image= | ||
|first_appearance= | |description= | ||
|latest_appearance= | |first_appearance= | ||
|effect= | |latest_appearance= | ||
}}</pre> | |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= }}