Template:Infobox Item: Difference between revisions

m
Add <includeonly> tags
(Added episode categories.)
m (Add <includeonly> tags)
 
(4 intermediate revisions by 3 users 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>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]]|#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>