Difference between revisions of Template:Subpage
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
<!--T:1--> | <!--T:1--> | ||
{{#if: {{{1|}}} | {{mbox | {{#if: {{{1|}}} | {{mbox | ||
| text= <span style='font-size: 150%; line-height: 150%'>'''[[{{#if: {{{tr|}}} | {{#titleparts: {{FULLPAGENAME}} | -1 }} | {{FULLPAGENAME}} }}/{{{1}}}{{#if: {{{tr|}}} | /{{#titleparts: {{FULLPAGENAME}} | | -1 }} }} | {{#if: {{{tr|}}} | {{{tr|}}} | {{{1}}} }}]]'''</span><br>{{{text|}}} | | text= <span style='font-size: 150%; line-height: 150%'>'''[[{{#if: {{{tr|}}} | {{#titleparts: {{FULLPAGENAME}} | -1 }} | {{FULLPAGENAME}} }}/{{{1}}}{{#if: {{{tr|}}} | /{{#titleparts: {{FULLPAGENAME}} | | -1 }} }} | {{#if: {{{tr|}}} | {{{tr|}}} | {{{1}}} }}]]'''</span><!--<br>-->{{{text|}}} | ||
| image= {{{image|Blank.png}}} | | image= {{{image|Blank.png}}} | ||
| caption= | | caption= | ||
| Line 10: | Line 10: | ||
| pic-align = {{{pic-align|center}}} | | pic-align = {{{pic-align|center}}} | ||
| min-width = {{{min-width|50}}} | | min-width = {{{min-width|50}}} | ||
| style=width:{{{box-width|100}}} | | style=width:{{{box-width|100}}}% | ||
}} | }} | ||
| <blockquote>'''This is a sub-page of ''[[{{#titleparts: {{FULLPAGENAME}}|-1}}]]''.'''</blockquote> {{#ifeq: {{NAMESPACE}} | User | | [[Category:Subpages]] }} }}</includeonly><noinclude> | | <blockquote>'''This is a sub-page of ''[[{{#titleparts: {{FULLPAGENAME}}|-1}}]]''.'''</blockquote> {{#ifeq: {{NAMESPACE}} | User | | [[Category:Subpages]] }} }}</includeonly><noinclude> | ||
| Line 17: | Line 17: | ||
If you want to point out that this is a subpage of another one, just use <nowiki>{{subpage}}</nowiki>. If you want to '''link''' to a subpage, use it like this: | If you want to point out that this is a subpage of another one, just use <nowiki>{{subpage}}</nowiki>. If you want to '''link''' to a subpage, use it like this: | ||
<pre> | <pre> | ||
{{subpage|Name|text=Text|image=Image|width=Width|pic-align=Align|min-width=Min-width}} | {{subpage|Name|text=Text|image=Image|width=Width|pic-align=Align|min-width=Min-width|box-width=Box-width}} | ||
</pre> | </pre> | ||