Template:Subpage: Difference between revisions

From No Man's Land - A Trigun Wiki
Jump to navigation Jump to search
m (formatting)
m (added templatedata)
Line 15: Line 15:


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Subpage 1",
"description": "The name of the subpage (only what appears after the / ).",
"example": "Gallery",
"type": "wiki-page-name",
"required": true
},
"2": {
"label": "Subpage 2",
"description": "The name of the subpage (only what appears after the / ).",
"type": "wiki-page-name"
},
"3": {
"label": "Subpage 3",
"description": "The name of the subpage (only what appears after the / )."
}
},
"description": "A template used to point to an article's subpages. Simply enter the title of the subpage that appears after the /. Up to 3 subpages can be linked with this template.\n",
"paramOrder": [
"1",
"2",
"3"
]
}
</templatedata></noinclude>

Revision as of 09:52, 25 September 2023

A template used to point to an article's subpages. Simply enter the title of the subpage that appears after the /.

Examples
{{Subpage|Test}}

Results in:

See subpage Subpage/Test
{{Subpage|Test|Test 2|Test 3}}

Results in:

See subpages Subpage/Test, Subpage/Test 2, Subpage/Test 3

A template used to point to an article's subpages. Simply enter the title of the subpage that appears after the /. Up to 3 subpages can be linked with this template.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Subpage 11

The name of the subpage (only what appears after the / ).

Example
Gallery
Page namerequired
Subpage 22

The name of the subpage (only what appears after the / ).

Page nameoptional
Subpage 33

The name of the subpage (only what appears after the / ).

Unknownoptional