Template:Subpage: Difference between revisions
Appearance
Devaccount01 (talk | contribs) No edit summary |
Devaccount01 (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{1|}}}|<span style="display:inline-block; vertical-align:top; margin:2px;">{{Mbox | ||
{{#if:{{{1|}}}| | | text = <span style="font-size:150%; line-height:150%;">'''[[{{FULLPAGENAME}}/{{{1}}}|{{{1}}}]]'''</span>{{#if:{{{text|}}}|<br>{{{text}}}}} | ||
<span style="display:inline-block; vertical-align:top; margin:2px;"> | |||
{{Mbox | |||
| text = <span style="font-size:150%; line-height:150%;">'''[[{{FULLPAGENAME}}/{{{1}}}|{{{1}}}]]'''</span><br>{{{text | |||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| border = #ddd | | border = #ddd | ||
| Line 10: | Line 7: | ||
| pic-align = {{{pic-align|center}}} | | pic-align = {{{pic-align|center}}} | ||
| min-width = {{{min-width|50}}} | | min-width = {{{min-width|50}}} | ||
}} | }}</span>}}</includeonly> | ||
</span> | |||
}} | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
Latest revision as of 17:55, 4 September 2026
Usage
Use this template to link to a subpage.
{{Subpage|Name|text=Description|image=Image|width=50|pic-align=center}}
The subpage name is required.
- Name — The name of the subpage.
- text — Optional description.
- image — Optional related image.
- width — Image width. Defaults to 50px.
- pic-align — Image alignment. Defaults to center.
- min-width — Minimum image width. Defaults to 50px.