Template:Subpage: Difference between revisions
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Subpage 1 | 1 | The name of the subpage (only what appears after the / ).
| Page name | required |
Subpage 2 | 2 | The name of the subpage (only what appears after the / ). | Page name | optional |
Subpage 3 | 3 | The name of the subpage (only what appears after the / ). | Unknown | optional |