Template:Set2
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.
Warning:
The Get2 template does not check if the page exists where it is pulling the description, version and example from, this is because the ifexists parser function is computationally expensive and so Get2 is better suited for long pages where the template is reused many times
Show a Command with a collapsed div containing an example
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Command Name | 1 | Command Name, will like match page name describing this command
| String | required |
| Alternative Command Description | alt-text | Either Alternate Description of Command or an Example
| String | optional |
| Sample output | example | An example output of runing this command
| String | optional |
| Pre Color | color | Color of Pre-formatted Example
| String | optional |
| Name of page section | Section | Name of page section where pre-formatted example is found
| String | optional |
| Open | open | Shows pre-formatted example as open by default
| Boolean | optional |
| Inline | inline | Removes all new lines / carraige returns
| Boolean | optional |