The wiki has moved!

Visit the new wiki at stationeers-wiki.com The old wiki here at legacy.stationeers-wiki.com will sunset eventually.

Edits made after the 7th of March 6PM EST were NOT carried over to the new server as previously announced right here in this box.

 Actions

Template

Difference between revisions of "Plantbox/doc"

From Unofficial Stationeers Wiki

< Template:Plantbox
(Create Plantbox template documentation)
 
(Add the blank template code)
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||

Revision as of 12:19, 16 July 2018

Summary

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

Parameters

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

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 = 
}}