Template:Spaceship/Doc: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) Factored out from Template:Spaceship |
Apple Bottom (talk | contribs) m Link slope, etc. |
||
| Line 4: | Line 4: | ||
The following parameters are optional and should only be specified if their values are known. | The following parameters are optional and should only be specified if their values are known. | ||
* '''dir''': the direction of the spaceship (either <tt>dir=Orthogonal</tt>, <tt>dir=Diagonal</tt>, or <tt>dir=Oblique</tt>). | * '''dir''': the [[direction]] of the spaceship (either <tt>dir=Orthogonal</tt>, <tt>dir=Diagonal</tt>, or <tt>dir=Oblique</tt>). | ||
* '''slope''': the slope of the spaceship (for <tt>dir=Oblique</tt> only, e.g. <tt>slope=5</tt>). | * '''slope''': the [[slope]] of the spaceship (for <tt>dir=Oblique</tt> only, e.g. <tt>slope=5</tt>). | ||
* '''h''': the [[heat]] of the spaceship (e.g. <tt>h=4</tt>). | * '''h''': the [[heat]] of the spaceship (e.g. <tt>h=4</tt>). | ||
* '''p''': the period of the spaceship (e.g. <tt>p=4</tt>). | * '''p''': the [[period]] of the spaceship (e.g. <tt>p=4</tt>). | ||
* '''m''': the mod of the spaceship (e.g. <tt>m=2</tt>). | * '''m''': the [[mod]] of the spaceship (e.g. <tt>m=2</tt>). | ||
* '''s''': the speed of the spaceship (e.g. <tt>s=c/4</tt>). | * '''s''': the [[speed]] of the spaceship (e.g. <tt>s=c/4</tt>). | ||
* '''type''': a subcategory of spaceships – leave blank for a normal spaceship or if you're unsure. The only supported value currently is "<tt>type=Puffer engine</tt>". | * '''type''': a subcategory of spaceships – leave blank for a normal spaceship or if you're unsure. The only supported value currently is "<tt>type=Puffer engine</tt>". | ||
Revision as of 11:01, 10 March 2018
This is an infobox template for spaceships. An example can be seen to the right. For general information about how to use pattern templates, see LifeWiki:Style guide/Pattern layout. To see a live example of this template in action, see glider.
Special parameters
The following parameters are optional and should only be specified if their values are known.
- dir: the direction of the spaceship (either dir=Orthogonal, dir=Diagonal, or dir=Oblique).
- slope: the slope of the spaceship (for dir=Oblique only, e.g. slope=5).
- h: the heat of the spaceship (e.g. h=4).
- p: the period of the spaceship (e.g. p=4).
- m: the mod of the spaceship (e.g. m=2).
- s: the speed of the spaceship (e.g. s=c/4).
- type: a subcategory of spaceships – leave blank for a normal spaceship or if you're unsure. The only supported value currently is "type=Puffer engine".