Template:Item: Difference between revisions

Template page
m (Add default title)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- Infobox -->
<includeonly>
<includeonly>
    <infobox type="Item">
{{Infobox|
    <title source="title">
|bodyclass = mw-collapsible floatright
    <default>{{PAGENAME}}</default>
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|400px]]|[[Special:Upload|No image available]]}}
    </title>
|imagerowclass1 = infobox-image
    <image source="image"><caption source="imagecaption"/></image>
 
    <data source="type"><label>Type</label></data>
|header1 = {{{name|{{PAGENAME}}}}}
    </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Items]]}}
|rowclass1 = infobox-title
 
|label2 = Type
|data2 = {{#if:{{{type|}}}|[[:Category:{{{type}}}|{{{type}}}]]}}
|rowclass2 = data-type infobox-data infobox-col2
}}
</includeonly>
</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 14:05, 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.