Difference between revisions of "Template:Resource Box/tree"

From Pangaea Wiki
Jump to: navigation, search
Line 2: Line 2:
 
!colspan=2 style="text-align:left"|Resourses from [[{{{link|Trees}}}|{{{from}}} tree]]
 
!colspan=2 style="text-align:left"|Resourses from [[{{{link|Trees}}}|{{{from}}} tree]]
 
|-
 
|-
| hatchet || {{{from}}} logs
+
| hatchet || {{#switch: {{{from}}}|tropical=Normal|tree=Normal|#default= {{{from}}} }} logs
 
|-
 
|-
 
| dagger {{#if:{{{fruit|}}}|on trunk}}
 
| dagger {{#if:{{{fruit|}}}|on trunk}}

Revision as of 08:52, 19 August 2018

Resourses from {{{from}}} tree
hatchet {{{from}}} logs
dagger normal kindling
Documentation icon Template documentation ( view · talk · edit)

parameters

from= name of the tree. tropical and normal will swap the log name to 'normal'
fruit= OPTIONAL description of fruits from this tree
link= OPTIONAL page name for link, default is Trees. ONly include if tree bears fruit.
The above documentation is transcluded from Template:Resource Box/tree/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly> tags.