Template:Item infobox: Difference between revisions

m
Text replacement - "|-↵|}" to "|}"
mNo edit summary
m (Text replacement - "|-↵|}" to "|}")
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=250px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: whitesmoke; border:1px solid darkgray; color:black"
<includeonly>{| class="infobox" style="width:250px;background:whitesmoke;border-color:darkgray"
| align="center" colspan="2" bgcolor="silver" style="font-size:145%;" | '''{{{title|{{PAGENAME}}}}}'''
! colspan="2" style="font-size:125%;background:silver" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|- style="vertical-align: top"
|- style="background:gainsboro"
{{#if:{{{description|}}}|{{!}}- style="background:gainsboro; vertical-align:top"
{{#if:{{{description|}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} '''Description'''
! colspan="2" {{!}} Description
{{!}}-
{{!}}-
{{!}} colspan="2" style="border-bottom:1px solid darkgray; text-align:center" {{!}} {{{description|}}}
{{!}} colspan="2" style="text-align:center;border-bottom:1px solid darkgray" {{!}} {{{description}}}
|}}
}}
{{#if:{{{first_appearance|}}}|{{!-}} valign=top
|-
{{!}} width=15% {{!}}
{{#if:{{{first_appearance|}}}|
'''First appearance'''
{{!}} '''First appearance'''
{{!}}{{{first_appearance|}}}}}
{{!}} {{{first_appearance}}}
{{#if:{{{latest_appearance|}}}|{{!-}}valign=top
}}
{{!}} width=15% {{!}}
|-
'''Latest appearance'''
{{#if:{{{latest_appearance|}}}|
{{!}}{{{latest_appearance|}}}}}
{{!}} '''Latest appearance'''
|- valign=top
{{!}} {{{latest_appearance}}}
| width=15% |
}}
{{#if:{{{effect|}}}|{{!-}}valign=top
|-
{{!}} width=15% {{!}}
{{#if:{{{effect|}}}|
'''Effect on player'''
{{!}} '''Effect'''
{{!}} {{{effect|}}}
{{!}} {{{effect}}}
|}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{{{BASEPAGENAME}}
{{{{PAGENAME}}
|title={{BASEPAGENAME}} test
|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.
}}
}}
*title; The name of the item - only use this if it is different from the name of the article.
{{br}}
*image; An image of the item
== Usage ==
*description; Describe the item
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
*first_appearance; The first time this item appeared
!colspan=2 style="background-color:silver"|Syntax
*latest_appearance; The most recent time this item appeared
|-
*effect; What this item does to its user.
|&#124;title=
<pre>{{Item-infobox
|The name of the item - only use this if it is different from the name of the article.
|title={{BASEPAGENAME}} test
|-
|image=[[File:Nocoverart.png|125px]]
|&#124;image=
|description=For various [[:Category:Items|items]].
|An image of the item within '''<nowiki>[[File:]]</nowiki>'''. Example: '''<nowiki>[[File:Mario.png]]</nowiki>'''
|first_appearance=''[[Super Mario Bros.]]''
|-
|latest_appearance=''[[Super Mario 3D World]]''
|&#124;description=
|effect=User gains knowledge.
|In-game description of the item. Do not use this for common items that have multiple descriptions across games and supporting material.
}}</pre>
|-
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
|&#124;first_appearance=
|The first appearance of the item.
|-
|&#124;latest_appearance=
|The most recent appearance of the item.
|-
|&#124;effect=
|What this item does to its user.
|}
 
<pre>
{{item infobox
|title=
|image=
|description=
|first_appearance=
|latest_appearance=
|effect=
}}
</pre>
 
[[Category:Infobox templates]]</noinclude>