Template:Subpage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Made this template a much more convenient shortcut for SubpageStart, SubpageSeparation and SubpageEnd.)
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Subpage}}<!--
{{Doc}}
 
<includeonly><onlyinclude><div id="contentSub" style="margin-top:-10px">
--><onlyinclude><includeonly><!--
<span class="subpages"><font style="margin-right:3px"><</font><!--
-->{{SubpageStart}}<!--
-->{{#if: {{{1|}}} |             {{{1}}} }}<!--
-->{{#if: {{{1|}}} |                       {{{1}}} }}<!--
-->{{#if: {{{2|}}} | &nbsp;&#124; {{{2}}} }}<!--
-->{{#if: {{{2|}}} | {{SubpageSeparation}} {{{2}}} }}<!--
-->{{#if: {{{3|}}} | &nbsp;&#124; {{{3}}} }}<!--
-->{{#if: {{{3|}}} | {{SubpageSeparation}} {{{3}}} }}<!--
-->{{#if: {{{4|}}} | &nbsp;&#124; {{{4}}} }}<!--
-->{{#if: {{{4|}}} | {{SubpageSeparation}} {{{4}}} }}<!--
-->{{#if: {{{5|}}} | &nbsp;&#124; {{{5}}} }}<!--
-->{{#if: {{{5|}}} | {{SubpageSeparation}} {{{5}}} }}<!--
-->{{#if: {{{6|}}} | &nbsp;&#124; {{{6}}} }}<!--
-->{{#if: {{{6|}}} | {{SubpageSeparation}} {{{6}}} }}<!--
-->{{#if: {{{7|}}} | &nbsp;&#124; {{{7}}} }}<!--
-->{{#if: {{{7|}}} | {{SubpageSeparation}} {{{7}}} }}<!--
-->{{#if: {{{8|}}} | &nbsp;&#124; {{{8}}} }}<!--
-->{{#if: {{{8|}}} | {{SubpageSeparation}} {{{8}}} }}<!--
--></span></div></onlyinclude></includeonly>
-->{{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|&#91;[Main Page]]}} {{Subpage|[[Main Page]]}}
{{tlc|Subpage|&#91;[Half-Life]]|&#91;[Half-Life 2]]}} {{Subpage|[[Half-Life]]|[[Half-Life 2]]}}
 
[[Category:Subpage]]

Latest revision as of 09:44, 19 April 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Creates an additional line of subpages.

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]] }}


{{Subpage| [[Main Page]] | [[SDK Docs|Source SDK Index]] }}

See also