Difference between revisions of Template:User x

Jump to navigation Jump to search
m (1 revision imported: Misc wanted temaplte/modules. Template:R from shortcut‏‎ Template:R from alternative spelling‏‎ Template:User x Module:ISO 639 name Template:R from merge Template:R from abbreviation‏‎ Template:R from long name Template:R from other capitalisation‏‎ Template:R from plural‏‎ Template:Uw-tilde)
(remove clutter that has dependent errors.)
 
Line 6: Line 6:
*'''DO NOT''' copy the source of this userbox. Otherwise, you risk putting your userpage in a miscategorization, and/or generating duplicate templates/userboxes.
*'''DO NOT''' copy the source of this userbox. Otherwise, you risk putting your userpage in a miscategorization, and/or generating duplicate templates/userboxes.
*Put this userbox on your userpage like this: {{[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}}
*Put this userbox on your userpage like this: {{[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}}
*Put this userbox in [[WP:Babel|Babel]] like this: <nowiki>{{Babel|</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki>
*{{#ifexist:Template:{{BASEPAGENAME}}-f|For the female version, see: {{tl|{{BASEPAGENAME}}-f}}.
*}}This template will automatically add your page to the following categories:
**{{#ifexist:Category:{{BASEPAGENAME}}-N
|[[:Category:{{BASEPAGENAME}}-N]]
|{{#ifexist:Category:{{BASEPAGENAME}}
|[[:Category:{{BASEPAGENAME}}]]
|{{#ifexist:Category:{{Str crop|{{BASEPAGENAME}}|2}}
  |[[:Category:{{Str crop|{{BASEPAGENAME}}|2}}]]
  |[[:Category:Wikipedians by language]]
  }}
}}
}}


==See also==
*[[:Category:Language user templates]]
*[[:Category:Wikipedians by language]]
*{{tl|Languages}}


{{languages
 
|1={{#if:{{#invoke:ISO 639 name|iso_639_name_exists|{{Str right|{{BASEPAGENAME}}|5}}}}
|{{#invoke:ISO 639 name|iso_639_name| {{#invoke:string|match|s={{BASEPAGENAME}}|pattern=%a%a%a?|start=5 |plain=false|nomatch=mis}} }} <!-- extract 639 code from BASEPAGENAME; User st-0 is malformed ietf tag -->
|{{#invoke:ISO 639 name|iso_639_name| {{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}} <noinclude>en</noinclude> }}
}}
|2={{#if:{{#invoke:ISO 639 name|iso_639_name_exists|{{Str right|{{BASEPAGENAME}}|5}}}}
|{{#invoke:string|match|s={{BASEPAGENAME}}|pattern=%a%a%a?|start=5 |plain=false|nomatch=mis}} <!-- extract 639 code from BASEPAGENAME; prevents malformed wikilinks -->
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}} <noinclude>en</noinclude> }}
|level=6
|sections={{#if:{{#invoke:ISO 639 name|iso_639_name_exists|{{Str right|{{BASEPAGENAME}}|5}}}}
|{{Str right|{{BASEPAGENAME}}|5}}
|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}} <noinclude>en</noinclude> }}
}}
<includeonly>
<includeonly>
{{#ifexist:Category:{{BASEPAGENAME}}-N
{{#ifexist:Category:{{BASEPAGENAME}}-N

Latest revision as of 11:46, 12 June 2020

Usage

  • DO NOT copy the source of this userbox. Otherwise, you risk putting your userpage in a miscategorization, and/or generating duplicate templates/userboxes.
  • Put this userbox on your userpage like this: {{User x}}



Template documentation[create]