Actions

Template

Difference between revisions of "Plantbox/doc"

From Unofficial Stationeers Wiki

< Template:Plantbox
(Create Plantbox template documentation)
 
(Reformat blank code)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
 
|}
 
|}
  
<!-- 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">{{Plantbox
 +
| name            =
 +
| image            =  
 +
| time_to_fruit    =  
 +
| number_of_fruits =  
 +
}}</pre>
  
 
<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>{{sandbox other||
 
<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>{{sandbox other||

Latest revision as of 12:24, 16 July 2018

Summary[edit]

This template should be used for plants (the planted ones, not the items).

Parameters[edit]

The following, optional parameters can be supplied:

Parameter Name Description
name The name of the plant.
image An image of the plant.
time_to_fruit An optional time it takes for the plant to fruit.
number_of_fruits An optional number of fruits, the plant will bear.

Blank[edit]

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

{{Plantbox
| name             = 
| image            = 
| time_to_fruit    = 
| number_of_fruits = 
}}