Difference between revisions of "Template:Resource Box"

From Pangaea Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<noinclude>
+
<noinclude>{{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
+
  &#124; resource=
+
+
''Optional''
+
  &#124; bigpicture=
+
  &#124; dagger=
+
  &#124; hatchet=
+
  &#124; pickaxe=
+
  &#124; shovel=
+
  &#124; addnote=
+
}}
+
 
+
==Example==
+
<code><nowiki>{{Resource Box|resource=[[Trees|Date Palm]]|bigpicture=Date-tree.png|dagger=Dates|hatchet=[[List of Logs|Date log]]}}
+
</nowiki></code>
+
{{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:1.6em"
 
</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>

Revision as of 09:03, 12 July 2018

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.