Template:Mechanic/doc: Difference between revisions

From Celeste Wiki
Jump to navigation Jump to search
Content added Content deleted
(documentation)
 
m (nah, inline's better)
Line 50: Line 50:
},
},
"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": "block"
"format": "inline"
}
}
</templatedata>
</templatedata>

Revision as of 08:00, 26 May 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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
File name1 file

File name without square brackets, File: prefix or additional parameters

Filesuggested
Name of the object2 name

Name as used very commonly or in-game. An anchor will be created to that name.

Stringrequired
Other names3 other

Other commonly used names for this object.

Stringoptional
Summary (description)4 desc summary

no description

Stringsuggested
Chapters5 ch

A ch template (with curly braces) or other text indicating the chapters this object is used in.

Example
{{ch|5a|5b|7}}
Linesuggested