Difference between revisions of "Template:Resource Box"
From Pangaea Wiki
MyraMidnight (Talk | contribs) |
MyraMidnight (Talk | contribs) |
||
| Line 13: | Line 13: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | ===Example=== | ||
| + | {{Resource Box|resource=[[Trees|Date Palm]]|bigpicture=Date-tree.png}} | ||
</noinclude><includeonly>{| class="pangtable" | </noinclude><includeonly>{| class="pangtable" | ||
|rowspan=5| {{#if:{{{bigpicture|}}}|[[File:{{{bigpicture}}}|link=]]}} | |rowspan=5| {{#if:{{{bigpicture|}}}|[[File:{{{bigpicture}}}|link=]]}} | ||
| − | !colspan=2 style="min-width:300px"|Resources gathered from | + | !colspan=2 style="min-width:300px"|Resources gathered from {{{resource}}} |
|- | |- | ||
!style="width:80px" |[[File:Dagger.png|link=]] Dagger | !style="width:80px" |[[File:Dagger.png|link=]] Dagger | ||
Revision as of 14:29, 16 March 2016
If you do not add the optional parameters, then it will automatically write "nothing" instead.
Template Parameters
{{Resource Box
|resource=
|bigpicture=
''Optional''
|dagger=
|hatchet=
|pickaxe=
}}