Template:Language subpage/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (clean up, replaced: {{ModernTip| → {{tip|, See Also → See also, {{ModernTodo| → {{todo|)
Line 3: Line 3:
Adds a cool message stating that the page on which this template is located is a language subpage.
Adds a cool message stating that the page on which this template is located is a language subpage.


{{ModernTip|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.}}
{{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>
<includeonly>
{{ModernTodo|Ability to switch between language subpages.}}
{{todo|Ability to switch between language subpages.}}
</includeonly>
</includeonly>
== Parameters ==
== Parameters ==
Line 18: Line 18:
{{Code|{{((}}Language subpage{{!}}<nowiki>[[Category:Translation templates]]</nowiki>{{))}}}}
{{Code|{{((}}Language subpage{{!}}<nowiki>[[Category:Translation templates]]</nowiki>{{))}}}}


== See Also ==
== See also ==
* [[Template:MultiPage|MultiPage]]
* [[Template:MultiPage|MultiPage]]

Revision as of 11:56, 6 January 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.

Adds a cool message stating that the page on which this template is located is a language subpage.

Tip.pngTip: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 {{Lang}} to {{Langsp}}. They both redirects to this template.


Parameters

  • {{{title}}} - The title of the root page.
  • {{{1}}} - The contents should show on the root page. It's useful for adding categories.
  • {{{force}}} - Forces the notice to display, even if it is not on a subpage (used for sandbox)

Examples

{{Language subpage|title=Language subpage}}

{{Language subpage|[[Category:Translation templates]]}}

See also