Difference between revisions of "Template:Resource Box"
From Pangaea Wiki
MyraMidnight (Talk | contribs) (Created page with "{| class="pangtable" |rowspan=5| {{#if:{{{bigpicture|}}}|[[File:{{{bigpicture}}}|link={{#if:{{{page|}}}|{{{page}}}}}]]}} !colspan=2|Resources gathered from [[{{{page}}}]] |- {...") |
MyraMidnight (Talk | contribs) |
||
(43 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly>{{#if: {{{tree|}}} |</includeonly>{{Template:Resource Box/tree | |
− | + | |from={{{from|normal}}} | |
− | + | |link={{{link|Trees}}} | |
− | + | |fruit={{{fruit|}}} | |
− | {{#if:{{{ | + | }}<includeonly>}}</includeonly><includeonly>{{#if: {{{corpse|}}} |</includeonly>{{Template:Resource Box/corpse |
− | {{ | + | |loot={{{loot}}} |
− | {{ | + | |daggercut={{{daggercut}}} |
− | {{#if:{{{ | + | |link={{{link|Corpses}}} |
− | + | }}<includeonly>}}</includeonly><includeonly>{{#if: {{{field|}}} |</includeonly>{{Template:Resource Box/field | |
− | + | | | |
− | {{#if:{{{ | + | }}<includeonly>}}</includeonly><includeonly>{{#if: {{{other|}}} |</includeonly>{{Template:Resource Box/other |
− | + | | | |
− | {{ | + | }}<includeonly>}}</includeonly><noinclude>{{Documentation}}</noinclude> |
− | + |
Latest revision as of 09:25, 19 August 2018
Resourses from normal tree | |
---|---|
hatchet | normal logs |
dagger | normal kindling |
Resourses from {{{from}}}'s corpse | |
---|---|
default loot | {{{loot}}} |
cut with dagger | {{{daggercut}}} |
Template documentation (
)
)
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.