Template:Infobox Item: Difference between revisions

m
Add <includeonly> tags
No edit summary
m (Add <includeonly> tags)
 
(One intermediate revision by one other user not shown)
Line 1:
<includeonly>{{#invoke:Infobox Item|main}}{{Mainonly|[[Category:Items]]}}</includeonly><noinclude>{{clear}}{{/doc}}</noinclude>
{| class="wikitable infobox-item" style="float:right"
! colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
| colspan="2" style="text-align:center" | {{#if:{{{image|}}}|{{clean image|file={{{image}}}}}|[[Special:Upload|Please upload an image!]]{{Mainonly|[[Category:Needs image]]}}}}
|-
| <b>Release date</b> || {{#if:{{{release|}}}|{{{release}}}|Q3 [[2024]]}}
|-
| <b>Premium</b> || {{#switch:{{lc:{{{premium|}}}}}|yes=Yes{{Mainonly|[[Category:Premium items]]}}|no=No|#default={{Edit button|text=<b>?</b> (edit)}}{{Mainonly|[[Category:Needs premium status]]}}}}
|-
| <b>Episode</b> || {{#switch:{{{episode|}}}|Hopeport=[[File:Hopeport episode icon.png|18px]] [[Hopeport]][[Category:Hopeport]]|Hopeforest=[[File:Hopeforest episode icon.png|18px]] [[Hopeforest]][[Category:Hopeforest]]|Mine of Mantuban=[[File:Mine of Mantuban episode icon.png|18px]] [[Mine of Mantuban]][[Category:Mine of Mantuban]]|Crenopolis=[[File:Crenopolis episode icon.png|18px]] [[Crenopolis]][[Category:Crenopolis]]|#default=[[File:Unknown episode icon.png|18px]] Unknown}}
|-
| <b>Profession</b> || {{#if:{{{profession|}}}|{{{profession}}}|{{Edit button|text=<b>?</b> (edit)}}{{Mainonly|[[Category:Items needing profession]]}}}}
|-
| <b>Value</b> || {{#if:{{{value|}}}|{{{value}}}|{{Edit button|text=<b>?</b> (edit)}}{{Mainonly|[[Category:Items needing value]]}}}}
|}{{Mainonly|[[Category:Items]]}}<noinclude>{{clear}}{{/doc}}</noinclude>