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
Line 1: Line 1:
{{DISPLAYTITLE:Subpage}}<!--
{{DISPLAYTITLE:Subpage}}<!--
--><onlyinclude><includeonly><!--
--><onlyinclude><includeonly><!--
-->{{SubpageStart}}<!--
-->{{SubpageStart}}<!--
Line 13: Line 12:
-->{{SubpageEnd}}<!--
-->{{SubpageEnd}}<!--
--></includeonly></onlyinclude><!--
--></includeonly></onlyinclude><!--
 
-->{{documentation}}
-->
== 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]]

Revision as of 03:53, 17 November 2022

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