Template:ChapterInfo: Difference between revisions

From Marshal Rules Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class='rulesNumbering'  style="counter-reset: page {{{1}}}">
{{ChapterInfoNoTOC|{{{1|}}}|{{{2|}}}|{{{3|}}} }}
[[Category:{{{2}}}|{{{1}}}]]<noinclude>
__TOC__
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"1": {
"1": {
"label": "Category",
"description": "Category that contains the handbook chapters",
"example": "Armored Combat Handbook",
"required": true
},
        "2": {
"label": "Chapter number",
"label": "Chapter number",
"description": "Chapter number",
"description": "Chapter number",
Line 10: Line 17:
"required": true
"required": true
},
},
"2": {
"3": {
"label": "Category",
"label": "Chapter name",
"description": "Category that contains the handbook chapters",
"description": "Name of the chapter",
"example": "Armored Combat Handbook",
"example": "Conventions of Combat - Behavior and Holds",
"type": "string",
"required": true
"required": true
}
}
Line 20: Line 28:
"paramOrder": [
"paramOrder": [
"1",
"1",
"2"
"2",
"3"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 07:44, 27 June 2024

[[Category:|]]

Inserts HTML to set Chapter number in wiki for rules numbering

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Category1

Category that contains the handbook chapters

Example
Armored Combat Handbook
Unknownrequired
Chapter number2

Chapter number

Numberrequired
Chapter name3

Name of the chapter

Example
Conventions of Combat - Behavior and Holds
Stringrequired