Actions

Template

Difference between revisions of "Orebox/doc"

From Unofficial Stationeers Wiki

< Template:Orebox
(Add the image parameter to the documentation)
(Reformat blank code)
 
(2 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.
 
|-
 
|-
| image           || An image of the ore.
+
| image         || An image of the ore.
 
|-
 
|-
| mined_with       || The tool, the ore is mined with. Defaults to [[Mining Drill]].
+
| 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 11:23, 16 July 2018

Summary[edit]

This template should be used for ores.

Parameters[edit]

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[edit]

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

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