Difference between revisions of "Template:Subpage"

From The VG Resource Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{#if: {{{1|}}} | {{mbox
 
<includeonly>{{#if: {{{1|}}} | {{mbox
| text=        <span style='font-size: 32px; 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: 32px; 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=       

Revision as of 09:20, 23 May 2014


Usage

If you want to point out that this is a subpage of another one, just use {{subpage}}. If you want to link to a subpage, use it like this:

{{subpage|Name|text=Text|image=Image|width=Width|pic-align=Align|min-width=Min-width}}

Only the subpage name is mandatory.

  • Name is the name of the subpage.
  • Text is a small description of its contents.
  • Image is a related picture, sometimes one of the most interesting items on that subpage.
  • Width is the image's width.
  • Align is the image's align. Default is center.
  • Min-width is the image's minimum width.