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

From Pangaea Wiki
Jump to: navigation, search
(Created page with "{|class=wikitable !colspan=2 |Resourses from {{{from}}} |- | hatchet || {{{from}}} logs |- | dagger {{#if:{{{fruit|}}}|on trunk}} | {{#switch: {{{from}}}|#default = normal kin...")
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{|class=wikitable
 
{|class=wikitable
!colspan=2 |Resourses from {{{from}}}
+
!colspan=2 style="text-align:left"|Resourses from [[{{{link|Trees}}}|{{{from}}} tree]]
 
|-
 
|-
| hatchet || {{{from}}} logs
+
| hatchet || {{#switch: {{{from}}}|tropical=normal|normal=normal|#default= {{{from}}} }} logs
 
|-
 
|-
 
| dagger {{#if:{{{fruit|}}}|on trunk}}
 
| dagger {{#if:{{{fruit|}}}|on trunk}}
Line 11: Line 11:
 
{{!}}-}}
 
{{!}}-}}
 
|}
 
|}
 +
<noinclude>{{documentation}}</noinclude>

Latest revision as of 09:26, 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.