|
|
| (One intermediate revision by the same user not shown) |
| 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 |