Template:Subpage/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>{{DISPLAYTITLE:Template: Subpage Start/doc}}{{doc|0}}</noinclude>
{{Doc/subpage}}
This template will allow you to create an additional line of subpages.
 
It is based on [[Template:SubpageStart]], [[Template:SubpageSeparation]] and [[Template:SubpageEnd]].
Creates an additional line of subpages.


=== Parameters ===
=== Parameters ===
*{{param|1}} ''to'' {{param|8}} - The texts that should appear in the line that this template generates. Usually, these should all be wikilinks.
* {{Code|style=2|{{Param|1}}}} ''to'' {{Code|style=2|{{Param|8}}}} - The texts that should appear in the line that this template generates. Usually, these should all be wikilinks.


== Examples ==
== Examples ==
{{MdCode|<nowiki>{{Subpage|[[Main Page]]}}</nowiki>}}
{{Code|<nowiki>{{Subpage| [[Main Page]] }}</nowiki>}}
<div style="background: #262626; border-radius: 3px; padding: 26px 8px 2px 8px;">
{{Capsule|padding=26px 8px 2px 8px|{{Subpage| [[Main Page]] }}}}
{{Subpage|[[Main Page]]}}
 
</div>


{{Code|<nowiki>{{Subpage| [[Main Page]] | [[SDK Docs|Source SDK Index]] }}</nowiki>}}
{{Capsule|padding=26px 8px 2px 8px|{{Subpage| [[Main Page]] | [[SDK Docs|Source SDK Index]] }}}}


{{MdCode|<nowiki>{{Subpage|[[Main Page]]|[[SDK_Docs|Source SDK Index]]}}</nowiki>}}
== See also ==
<div style="background: #262626; border-radius: 3px; padding: 26px 8px 2px 8px;">
*{{tl|link=back}}
{{Subpage|[[Main Page]]|[[SDK_Docs|Source SDK Index]]}}
</div>


[[Category:Subpage]]
{{Doc/Sandbox other|
[[Category:Templates]]
}}

Latest revision as of 20:43, 12 January 2024

Edit-copy.png
This is a documentation subpage for Template:Subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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