We Happy Few Wiki

We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

READ MORE

We Happy Few Wiki
Line 1: Line 1:
<includeonly>[[File:{{{file|{{{1|}}}}}}.png|20px|link={{{1}}}]] [[{{{1}}}]] x {{{quantity}}}</includeonly><noinclude>{{doc}}
+
<includeonly>{{#if: {{{file|}}} | [[File:{{{file|{{{1|}}}}}}.png|20px|link={{{1}}}]] | ''Image?'' }} [[{{{1}}}]] x {{#if: {{{quantity|}}}| {{{quantity}}} }}</includeonly><noinclude>{{doc}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:50, 10 March 2020

Template-info.png Documentation

To add a tiny icon with a link. You can start to work on the new page the link will generate. Just click on it! Example: You upload file:wood.png -> and then can add {{Item|Wood}} to a page where you need it as a tiny icon with a link.

Preview

{{Item|Alcohol|quantity=5}}
{{Item|Some Drink|file=Alcohol|quantity=5}}
{{Item|Alcohol}} - no quantity added

Image? Alcohol x 5
Alcohol.png Some Drink x 5
Image? Alcohol x - no quantity added