Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Orebox/doc: Difference between revisions

Template page
Create the Orebox template documentation
 
Reformat blank code
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
{| class="wikitable"
{| class="wikitable"
|-
|-
! Parameter Name   !! Description
! Parameter Name !! Description
|-
|-
| name             || The name of the ore.
| name           || The name of the ore.
|-
|-
| mined_with       || The tool, the ore is mined with. Defaults to [[Mining Drill]].
| image          || An image of the ore.
|-
| mined_with     || The tool, the ore is mined with. Defaults to [[Mining Drill]].
|}
|}


<!-- The below does not work, unless we install the "Parameters" Mediawiki module -->
== Blank ==
<!-- == Blank ==
This is the blank template code, that can be copy-pasted into a page to use it there.
This is the blank template code, that can be copy-pasted into a page to use it there.
{{subst:#tag:pre|{{subst:Parameters|code|base={{subst:BASEPAGENAME}}}}|style=overflow: auto;|pad=yes}} -->
<pre style="overflow: auto;" pad="yes">{{Orebox
| name      =
| image      =
| mined_with =
}}</pre>


<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>{{sandbox other||
<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>{{sandbox other||

Latest revision as of 17:23, 16 July 2018

Summary

This template should be used for ores.

Parameters

The following, optional parameters can be supplied:

Parameter Name Description
name The name of the ore.
image An image of the ore.
mined_with The tool, the ore is mined with. Defaults to Mining Drill.

Blank

This is the blank template code, that can be copy-pasted into a page to use it there.

{{Orebox
| name       = 
| image      = 
| mined_with = 
}}