Template:Language subpage/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added preview)
No edit summary
 
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
{{shortcut|{{tl|link=langsp}}<br>{{tl2|lang sp}}}}
{{shortcut|{{tl|link=langsp}}<br>{{tl2|lang sp}}}}
Adds a cool message stating that the page on which this template is located is a language subpage.
This template redirects to [[Template:LanguageBar]]. It has been '''deprecated'''.
 
{{tip|You can also use [[Template:Langsp]] or [[Template:Lang sp]] shortcut which is much quicker to type, if you already moving the page and renaming (example: /en language subpage) from {{tl|link=Lang}} to {{tl|Langsp}}. They both redirects to this template.}}
 
<includeonly>
{{todo|Ability to switch between language subpages.}}
</includeonly>
== Parameters ==
* {{Code|style=1|{{param|title}}}} - The title of the root page.
* {{Code|style=1|{{param|1}}}} - The contents should show on the root page. It's useful for adding categories.
* {{code|style=1|{{param|force}}}} - Forces the notice to display, even if it is not on a subpage (used for sandbox)
 
== Examples ==
{{Code|{{((}}Language subpage{{!}}title{{=}}Language subpage{{))}}}}
 
{{Code|{{((}}Language subpage{{!}}<nowiki>[[Category:Translation templates]]</nowiki>{{))}}}}
 
== Preview ==
{{Langsp|force=2}}
 
== See also ==
* [[Template:MultiPage|MultiPage]]

Latest revision as of 01:00, 16 July 2024

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

This template redirects to Template:LanguageBar. It has been deprecated.