Template:Subpage: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Made this template a much more convenient shortcut for SubpageStart, SubpageSeparation and SubpageEnd.) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Subpage}}<!-- | |||
<onlyinclude><includeonly></includeonly></onlyinclude>< | |||
--><onlyinclude><includeonly><!-- | |||
-->{{SubpageStart}}<!-- | |||
-->{{#if: {{{1|}}} | {{{1}}} }}<!-- | |||
-->{{#if: {{{2|}}} | {{SubpageSeparation}} {{{2}}} }}<!-- | |||
-->{{#if: {{{3|}}} | {{SubpageSeparation}} {{{3}}} }}<!-- | |||
-->{{#if: {{{4|}}} | {{SubpageSeparation}} {{{4}}} }}<!-- | |||
-->{{#if: {{{5|}}} | {{SubpageSeparation}} {{{5}}} }}<!-- | |||
-->{{#if: {{{6|}}} | {{SubpageSeparation}} {{{6}}} }}<!-- | |||
-->{{#if: {{{7|}}} | {{SubpageSeparation}} {{{7}}} }}<!-- | |||
-->{{#if: {{{8|}}} | {{SubpageSeparation}} {{{8}}} }}<!-- | |||
-->{{SubpageEnd}}<!-- | |||
--></includeonly></onlyinclude><!-- | |||
--> | |||
== Usage == | |||
This template will allow you to create an additional line of subpages. | |||
It is based on [[Template:SubpageStart]], [[Template:SubpageSeparation]] and [[Template:SubpageEnd]]. | |||
=== Parameters === | |||
*{{param|1}} ''to'' {{param|8}} - The texts that should appear in the line that this template generates. Usually, these should all be wikilinks. | |||
=== Examples === | |||
{{tlc|Subpage|[[Main Page]]}} {{Subpage|[[Main Page]]}} | |||
{{tlc|Subpage|[[Half-Life]]|[[Half-Life 2]]}} {{Subpage|[[Half-Life]]|[[Half-Life 2]]}} | |||
[[Category:Subpage]] | [[Category:Subpage]] | ||
Revision as of 14:50, 14 November 2022
Usage
This template will allow you to create an additional line of subpages. It is based on Template:SubpageStart, Template:SubpageSeparation and Template:SubpageEnd.
Parameters
- {{{1}}} to {{{8}}} - The texts that should appear in the line that this template generates. Usually, these should all be wikilinks.
Examples
{{Subpage|[[Main Page]]}}
Template:SubpageStartMain PageTemplate:SubpageEnd
{{Subpage|[[Half-Life]]|[[Half-Life 2]]}}
Template:SubpageStartHalf-LifeTemplate:SubpageSeparation Half-Life 2Template:SubpageEnd