Template:ChapterInfo: Difference between revisions

From Marshal Rules Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class='rulesNumbering'  style="counter-reset: page {{{1}}}">
<div class='rulesNumbering'  style="counter-reset: page {{{1}}}">
[[Category:{{{2}}}|{{{1}}}]]<noinclude>
[[Category:{{{2}}}|{{{1}}}]]
={{{3}}}=
__TOC__<noinclude>
<templatedata>
<templatedata>
{
{
Line 14: Line 16:
"description": "Category that contains the handbook chapters",
"description": "Category that contains the handbook chapters",
"example": "Armored Combat Handbook",
"example": "Armored Combat Handbook",
"required": true
},
"3": {
"label": "Chapter name",
"description": "Name of the chapter",
"example": "Conventions of Combat - Behavior and Holds",
"type": "string",
"required": true
"required": true
}
}
Line 20: Line 29:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2"
"2",
"3"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 03:26, 27 June 2024

[[Category:{{{2}}}|{{{1}}}]]

{{{3}}}

Inserts HTML to set Chapter number in wiki for rules numbering

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Chapter number1

Chapter number

Numberrequired
Category2

Category that contains the handbook chapters

Example
Armored Combat Handbook
Unknownrequired
Chapter name3

Name of the chapter

Example
Conventions of Combat - Behavior and Holds
Stringrequired