Template:Mechanic/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (nah, inline's better) |
(Documented sort feature) |
||
Line 47: | Line 47: | ||
"type": "line", |
"type": "line", |
||
"suggested": true |
"suggested": true |
||
}, |
|||
"sort": { |
|||
"label": "Data sort value", |
|||
"description": "If defined, will override the default sorting on chapters. Define starting with ! for mechanics in Prologue and all chapters.", |
|||
"example": "!allfall", |
|||
"type": "line" |
|||
} |
} |
||
}, |
}, |
||
"description": "Add a mechanic on the Mechanics table. Use without any additional markup. The template will also create an anchor of the object's name, so there must be no duplicates." |
"description": "Add a mechanic on the Mechanics table. Use without any additional markup. The template will also create an anchor of the object's name, so there must be no duplicates." |
||
"format": "inline" |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Latest revision as of 10:12, 3 July 2023
Add a mechanic on the Mechanics table. Use without any additional markup. The template will also create an anchor of the object's name, so there must be no duplicates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
File name | 1 file | File name without square brackets, File: prefix or additional parameters | File | suggested |
Name of the object | 2 name | Name as used very commonly or in-game. An anchor will be created to that name. | String | required |
Other names | 3 other | Other commonly used names for this object. | String | optional |
Summary (description) | 4 desc summary | no description | String | suggested |
Chapters | 5 ch | A ch template (with curly braces) or other text indicating the chapters this object is used in.
| Line | suggested |
Data sort value | sort | If defined, will override the default sorting on chapters. Define starting with ! for mechanics in Prologue and all chapters.
| Line | optional |