Difference between revisions of "Template:Docs"
Jump to navigation
Jump to search
m (boop) |
m |
||
Line 64: | Line 64: | ||
== Common Parameter Rows == |
== Common Parameter Rows == |
||
+ | * [[/image|image]] (o) |
||
− | {{Special:PrefixIndex/{{FULLPAGENAME}}/}} |
||
+ | * [[/world|world]] (r) |
||
+ | * [[/books|books]] (r) |
||
+ | * [[/universe|universe]] (r) |
||
+ | |||
+ | == Row Formatting == |
||
+ | * [[/row/optional|optional]] |
||
+ | * [[/row/required|required]] |
Revision as of 19:51, 19 April 2019
This template includes the "top" of the table for any template documents. Calls to this table should be followed by rows which document each of the templates parameters and finally the table should be "closed" by inserting |}
after the final row.
Parameter | Description | Examples |
---|---|---|
title
|
the text to put into the document table caption | this page, for example: |title=Template Parameter Documentation Table
|
A full example:
{{docs|title=demonstration template}} <!-- test parameter --> |- | <code>test</code> | a testing parameter | <code>|test=testing things</code> |- <!-- image parameter --> {{docs/image|eg=File: Test Image.svg}} |} |
|