Difference between revisions of "Template:Resource Box"

From Pangaea Wiki
Jump to: navigation, search
Line 1: Line 1:
{| class="wikitable" style="margin-left:1.6em"
+
<includeonly>{{#if: {{{tree|}}} |</includeonly>{{Template:Resource Box/tree}} <includeonly>}}</includeonly>
!colspan=2 style="width:600px"|Resources from <span style="color:#ffec8f;">{{{resource}}}</span>
+
<includeonly>{{#if: {{{corpse|}}} |</includeonly>{{Template:Resource Box/corpse}} <includeonly>}}</includeonly>
!rowspan=5 | {{#if:{{{bigpicture|}}}|[[File:{{{bigpicture}}}|upright|x300px|link=]]}}
+
<includeonly>{{#if: {{{field|}}} |</includeonly>{{Template:Resource Box/field}} <includeonly>}}</includeonly>
|-
+
<includeonly>{{#if: {{{other|}}} |</includeonly>{{Template:Resource Box/other}} <includeonly>}}</includeonly>
!style="width:80px"|[[File:Dagger.png|link=]] Dagger
+
<noinclude>{{Documentation}}</noinclude>
|style="width:350px"|{{{dagger|<span style="color:#000">nothing</span>}}}
+
|-
+
![[File:Hatchet.png|link=]] Hatchet
+
|{{{hatchet|<span style="color:#000">nothing</span>}}}
+
|-
+
{{#if:{{{pickaxe|}}}|![[File:Pickaxe.png|link=]] Pickaxe
+
{{!}}{{{pickaxe}}}
+
{{!}}-}}
+
{{#if:{{{shovel|}}}|![[File:Shovel.png|link=]] Shovel
+
{{!}}{{{shovel}}}
+
{{!}}-}}
+
|colspan=2|
+
{{{addnote|}}}
+
|}
+
<noinclude>{{Documentation}}
+
</noinclude>
+

Revision as of 21:49, 18 August 2018

Resourses from {{{from}}} tree
hatchet {{{from}}} logs
dagger normal kindling


Resourses from {{{from}}}'s corpse
default loot {{{loot}}}
cut with dagger {{{daggercut}}}

Template:Resource Box/field Template:Resource Box/other

Documentation icon Template documentation ( view · talk · edit)

If you do not add the optional parameters, then it will automatically write "nothing" instead.

  • You can add a link in all the parameters EXCEPT the bigpicture, if you wish to direct people to certain pages.

Template Parameters

{{Resource Box
 | resource=

Optional
 | bigpicture=
 | dagger=
 | hatchet=
 | pickaxe=
 | shovel=
 | addnote=
}}

Example

{{Resource Box|resource=[[Trees|Date Palm]]|bigpicture=Date-tree.png|dagger=Dates|hatchet=[[List of Logs|Date log]]}}

The above documentation is transcluded from Template:Resource Box/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly> tags.