Difference between revisions of "Template:Resource Box"

From Pangaea Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{| class="wikitable" style="margin-left:1.6em"
+
{| class="wikitable" style="margin-left:1.6em"
 
!colspan=2 style="width:600px"|Resources from <span style="color:#ffec8f;">{{{resource}}}</span>
 
!colspan=2 style="width:600px"|Resources from <span style="color:#ffec8f;">{{{resource}}}</span>
 
!rowspan=5 | {{#if:{{{bigpicture|}}}|[[File:{{{bigpicture}}}|upright|x300px|link=]]}}
 
!rowspan=5 | {{#if:{{{bigpicture|}}}|[[File:{{{bigpicture}}}|upright|x300px|link=]]}}
Line 17: Line 17:
 
|colspan=2|
 
|colspan=2|
 
{{{addnote|}}}
 
{{{addnote|}}}
|}</includeonly>
+
|}
 
<noinclude>{{Documentation}}
 
<noinclude>{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 09:04, 12 July 2018

Resources from {{{resource}}}
Dagger.png Dagger nothing
File:Hatchet.png Hatchet nothing
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.