Difference between revisions of "Template:Resource Box"

From Pangaea Wiki
Jump to: navigation, search
Line 20: Line 20:
 
{{Resource Box|resource=[[Trees|Date Palm]]|bigpicture=Date-tree.png|dagger=Dates|hatchet=[[List of Logs|Date log]]}}
 
{{Resource Box|resource=[[Trees|Date Palm]]|bigpicture=Date-tree.png|dagger=Dates|hatchet=[[List of Logs|Date log]]}}
  
</noinclude><includeonly>{| class="wikitable"  
+
</noinclude><includeonly>{| class="wikitable"
!colspan=2|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 style="max-width:200px"| {{#if:{{{bigpicture|}}}|[[File:{{{bigpicture}}}|x300px|link=]]}}
 
|-
 
|-
!style="width:80px" |[[File:Dagger.png|link=]] Dagger  
+
!style="width:80px"|[[File:Dagger.png|link=]] Dagger  
|{{{dagger|<span style="color:#000">nothing</span>}}}
+
|style="width:400px"|{{{dagger|<span style="color:#000">nothing</span>}}}
 
|-
 
|-
 
![[File:Hatchet.png|link=]] Hatchet
 
![[File:Hatchet.png|link=]] Hatchet
Line 36: Line 36:
 
{{!}}{{{shovel}}}
 
{{!}}{{{shovel}}}
 
{{!}}-}}
 
{{!}}-}}
|colspan=2 style="width:500px"|
+
|colspan=2|
 
{{{addnote|}}}
 
{{{addnote|}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 17:21, 16 March 2016

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]]}}