Template:Language subpage/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
m (Added preview)
Line 17: Line 17:


{{Code|{{((}}Language subpage{{!}}<nowiki>[[Category:Translation templates]]</nowiki>{{))}}}}
{{Code|{{((}}Language subpage{{!}}<nowiki>[[Category:Translation templates]]</nowiki>{{))}}}}
== Preview ==
{{Langsp|force=2}}


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

Revision as of 12:11, 17 April 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]]}}

Preview

Flag-white.pngEnglish (en)

See also