Template:Item: Difference between revisions

Template page
No edit summary
(Use Infobox template)
Line 1: Line 1:
<infobox type="Item">
<!-- Infobox -->
<title source="title">
<includeonly>
<default>{{PAGENAME}}</default>
{{Infobox|
</title>
|bodyclass = mw-collapsible floatright
<image source="image"><caption source="imagecaption"/></image>
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|400px]]|[[Special:Upload|No image available]]}}
<data source="type"><label>Type</label></data>
|imagerowclass1 = infobox-image
</infobox>
 
{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Items]]}}
|header1 = {{#if:{{{name|}}}|{{Infobox title icon|{{{name}}}|icon={{{icon|}}}|inverted={{{invertedicon|}}}}}}}
|rowclass1 = infobox-title
 
|label2 = Type
|data2 = {{type|}}
|rowclass2 = data-type infobox-subtitle infobox-data infobox-col1
}}
</includeonly>
<noinclude>{{Documentation}}</noinclude>

Revision as of 12:21, 1 May 2024


Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Item/doc. Changes can be proposed in the talk page.