Template:USK/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}}
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- Please place categories where indicated at the bottom of this page.) -->
== Usage ==
== Usage ==
Line 6: Line 6:
=== Parameters ===
=== Parameters ===
*{{param|1}} - The age. Expected values are 0, 6, 12, 16 and 18, otherwise this template generates a red text.
*{{param|1}} - The age. Expected values are 0, 6, 12, 16 and 18, otherwise this template generates a red text.
*{{param|suf}} - The language suffix which affects the hover text and link.
*{{param|suf}} - The language suffix which affects the hover text and link. To add new languages, edit this template.
**{{ModernDeprecated|Replaced with {{tl|link=Autolang}}, which is automatically changed according to user selected language on the wiki (or manually by adding "{{Code|&uselang{{=}}(ISO 639 code)}}" at the end of the URL).}}


=== Examples ===
=== Examples ===

Latest revision as of 02:18, 12 January 2024

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

Usage

This template generates a top icon displaying the minimum age of children or teenagers that a game is approved for by the German Unterhaltungssoftware Selbstkontrolle (USK). Clicking the icon links to its wikipedia article.

Parameters

  • {{{1}}} - The age. Expected values are 0, 6, 12, 16 and 18, otherwise this template generates a red text.
  • {{{suf}}} - The language suffix which affects the hover text and link. To add new languages, edit this template.
    • Obsolete-notext.pngDeprecated:Replaced with {{Autolang}}, which is automatically changed according to user selected language on the wiki (or manually by adding "&uselang=(ISO 639 code)" at the end of the URL).

Examples