Template:Subpage: Difference between revisions
Jump to navigation
Jump to search
m (added templatedata) |
m (code adjustment) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>:''See subpage{{#if:{{{2|}}}|s|}} [[{{PAGENAME}}/{{{1|}}}]]{{#if:{{{2|}}}|, [[{{PAGENAME}}/{{{2|}}}]]{{#if:{{{3|}}}|, [[{{PAGENAME}}/{{{3|}}}]]|}}|}}''</includeonly><!-- | <includeonly>:''See subpage{{#if:{{{2|}}}|s|}} [[{{PAGENAME}}/{{{1|}}}|{{{1}}}]]{{#if:{{{2|}}}|, [[{{PAGENAME}}/{{{2|}}}|{{{2}}}]]{{#if:{{{3|}}}|, [[{{PAGENAME}}/{{{3|}}}|{{{3}}}]]|}}|}}''</includeonly><!-- | ||
--><noinclude> | --><noinclude> | ||
A template used to point to an article's subpages. Simply enter the title of the subpage that appears after the /. | A template used to point to an article's subpages. Simply enter the title of the subpage that appears after the /. | ||
| Line 22: | Line 22: | ||
"description": "The name of the subpage (only what appears after the / ).", | "description": "The name of the subpage (only what appears after the / ).", | ||
"example": "Gallery", | "example": "Gallery", | ||
"type": " | "type": "content", | ||
"required": true | "required": true | ||
}, | }, | ||
| Line 28: | Line 28: | ||
"label": "Subpage 2", | "label": "Subpage 2", | ||
"description": "The name of the subpage (only what appears after the / ).", | "description": "The name of the subpage (only what appears after the / ).", | ||
"type": " | "type": "content" | ||
}, | }, | ||
"3": { | "3": { | ||
"label": "Subpage 3", | "label": "Subpage 3", | ||
"description": "The name of the subpage (only what appears after the / )." | "description": "The name of the subpage (only what appears after the / ).", | ||
"type": "content" | |||
} | } | ||
}, | }, | ||
Latest revision as of 09:57, 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 Test
{{Subpage|Test|Test 2|Test 3}}
Results in:
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 / ).
| Content | required |
| Subpage 2 | 2 | The name of the subpage (only what appears after the / ). | Content | optional |
| Subpage 3 | 3 | The name of the subpage (only what appears after the / ). | Content | optional |