Actions

Template

Difference between revisions of "Orebox/doc"

From Unofficial Stationeers Wiki

< Template:Orebox
(Fix formatting)
(Add the blank template code)
Line 18: Line 18:
 
|}
 
|}
  
<!-- 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||

Revision as of 12:19, 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 = 
}}