Difference between revisions of "Template:Resource Box"

From Pangaea Wiki
Jump to: navigation, search
m
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" style="margin-left:30px"
+
</noinclude><includeonly>{| 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=]]}}

Revision as of 17:27, 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]]}}