Template:Mechanic: Difference between revisions
(template for mechanics) |
(fix errors) |
||
Line 1: | Line 1: | ||
|- |
|- |
||
| [[File:{{{1}}}|alt=|center|frameless|100x100px]] |
| [[File:{{{1|Example.png}}}|alt=|center|frameless|100x100px]] |
||
| {{anchor|{{{2}}}}}'''{{{2}}}''' |
| {{anchor|{{{2}}}}}'''{{{2}}}''' |
||
| {{{3}}} |
| {{{3}}} |
||
| {{{4}}} |
| {{{4}}} |
||
| style="text-align: center" | {{{5}}} |
| style="text-align: center" | {{{5}}} |
||
<noinclude>Don't mind the weird things on this page. Use as described in documentation (source editing preferred).<br>{{Documentation}}</noinclude> |
Revision as of 07:49, 26 May 2023
|-
|
| {{{2}}} | {{{3}}} | {{{4}}} | style="text-align: center" | {{{5}}}
Don't mind the weird things on this page. Use as described in documentation (source editing preferred).
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 |