Template:Language subpage/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 13: Line 13:
* {{Code|style=1|{{param|title}}}} - The title of the root page.
* {{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|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 ==
== Examples ==

Revision as of 18:51, 13 September 2023

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.

Template:ModernTip

Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.


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