Template:User x/doc: Difference between revisions
Appearance
Content deleted Content added
<!--!!!DOCUMENTATION FOR THIS TEMPLATE BEGINS HERE!!!--> |
|||
Line 2: | Line 2: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
||
== 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: {{[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}} |
|||
*Put this userbox in 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> |
|||
{{#ifexist:Category:{{BASEPAGENAME}}-N |
|||
|[[Category:{{BASEPAGENAME}}-N|{{Str right|{{BASEPAGENAME}}|5}}-N]] |
|||
|{{#ifexist:Category:{{BASEPAGENAME}} |
|||
|[[Category:{{BASEPAGENAME}}|{{Str right|{{BASEPAGENAME}}|5}}]] |
|||
|{{#ifexist:Category:{{Str crop|{{BASEPAGENAME}}|2}} |
|||
|[[Category:{{Str crop|{{BASEPAGENAME}}|2}}|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}}]] |
|||
|[[Category:Wikipedians by language|{{Str right|{{BASEPAGENAME}}|5}}]] |
|||
}} |
|||
}} |
|||
}} |
|||
{{#ifexist:Category:User templates {{Str right|{{BASEPAGENAME}}|5}}-N |
|||
|[[Category:User templates {{Str right|{{BASEPAGENAME}}|5}}-N|{{Str right|{{BASEPAGENAME}}|5}}-N]] |
|||
|{{#ifexist:Category:User templates {{Str right|{{BASEPAGENAME}}|5}} |
|||
|[[Category:User templates {{Str right|{{BASEPAGENAME}}|5}}|{{Str right|{{BASEPAGENAME}}|5}}]] |
|||
|{{#ifexist:Category:User templates {{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}} |
|||
|[[Category:User templates {{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}}|{{Str crop|{{Str right|{{BASEPAGENAME}}|5}}|2}}]] |
|||
|[[Category:Language user templates|{{Str right|{{BASEPAGENAME}}|5}}]] |
|||
}} |
|||
}} |
|||
}}</includeonly><noinclude> |
|||
<!--!!!DOCUMENTATION FOR THIS TEMPLATE BEGINS HERE!!!--> |
|||
__NOTOC__ |
__NOTOC__ |
||
---- |
---- |
Revision as of 08:03, 19 October 2018
This is a documentation subpage for Template:User x. It may contain usage information, categories and other content that is not part of the original template page. |
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}}
- Put this userbox in Babel like this: {{Babel|User x}}
- This template will automatically add your page to the following categories:
See also