Template:User CP/based: Difference between revisions

no edit summary
(Created page with "<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|{{User WP/based/notice}}|{{-}}{{documentation |content = This template creates a userbox that identifies a user who actively participates in [[Wikipedia:WikiProject {{{1}}}|WikiProject {{{1}}}]].{{-}}This template invokes {{tln|User WP}}. == Usage == Place the code {{tlx|{{#ifeq:{{NAMESPACE}}|Template|{{PAGENAME}}|{{FULLPAGENAME}}}}}} on Special:MyPage|your user...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|{{User WP/based/notice}}|{{-}}{{documentation
<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|{{User CP/based/notice}}|{{-}}{{documentation
|content = This [[Help:Template|template]] creates a [[Wikipedia:Userboxes|userbox]] that identifies a [[Wikipedia:Wikipedians|user]] who actively participates in [[Wikipedia:WikiProject {{{1}}}|WikiProject {{{1}}}]].{{-}}This template invokes {{tln|User WP}}.
|content = This [[Help:Template|template]] creates a [[Chabadpedia:Userboxes|userbox]] that identifies a [[Chabadpedia:Chabadpedians|user]] who actively participates in [[Chabadpedia:WikiProject {{{1}}}|WikiProject {{{1}}}]].{{-}}This template invokes {{tln|User CP}}.
== Usage ==
== Usage ==
Place the code {{tlx|{{#ifeq:{{NAMESPACE}}|Template|{{PAGENAME}}|{{FULLPAGENAME}}}}}} on [[Special:MyPage|your user&nbsp;page]] to display the userbox shown above.
Place the code {{tlx|{{#ifeq:{{NAMESPACE}}|Template|{{PAGENAME}}|{{FULLPAGENAME}}}}}} on [[Special:MyPage|your user&nbsp;page]] to display the userbox shown above.
Line 8: Line 8:
|Add the unnamed parameter <code>list</code> to show the additional links to the project talk, articles and stubs, if the appropriate categories exist.{{-}}}}
|Add the unnamed parameter <code>list</code> to show the additional links to the project talk, articles and stubs, if the appropriate categories exist.{{-}}}}
'''Examples:'''
'''Examples:'''
{{User WP/based/examples|{{#ifeq:{{NAMESPACE}}|Template|{{PAGENAME}}|{{FULLPAGENAME}}}}|{{#if:{{str ≤ len|{{{1}}}|14|{{#ifexist:Category:WikiProject {{{1}}} articles|A}}{{#ifexist:Category:Stub-Class {{{1}}} articles|S}}}}{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|regional||2}}}}|{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|regional|list|{{#ifeq:{{{2|}}}|list|{{str ≥ len|{{{1}}}|15|all|list}}|{{{2}}}}}}}|list}}}}}}{{-}}
{{User CP/based/examples|{{#ifeq:{{NAMESPACE}}|Template|{{PAGENAME}}|{{FULLPAGENAME}}}}|{{#if:{{str ≤ len|{{{1}}}|14|{{#ifexist:Category:WikiProject {{{1}}} articles|A}}{{#ifexist:Category:Stub-Class {{{1}}} articles|S}}}}{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|regional||2}}}}|{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|regional|list|{{#ifeq:{{{2|}}}|list|{{str ≥ len|{{{1}}}|15|all|list}}|{{{2}}}}}}}|list}}}}}}{{-}}
== Membership ==
== Membership ==
To join WikiProject {{{1}}}, add your username to:
To join WikiProject {{{1}}}, add your username to:
*[[{{#if:{{{Section|}}}|Wikipedia:WikiProject {{{1}}}#{{{Section}}}|{{User WP/switch|{{{1}}}|ulist}}}}]]{{-}}
*[[{{#if:{{{Section|}}}|Chabadpedia:WikiProject {{{1}}}#{{{Section}}}|{{User CP/switch|{{{1}}}|ulist}}}}]]{{-}}
{{#ifexist:Category:{{User WP/switch|{{{1}}}|ucat}}|{{Userbox/categories|{{User WP/switch|{{{1}}}|ucat}}|{{User WP/switch|{{{1}}}|ucat2}}}}}}{{#if:{{{Add|}}}|{{-}}
{{#ifexist:Category:{{User CP/switch|{{{1}}}|ucat}}|{{Userbox/categories|{{User CP/switch|{{{1}}}|ucat}}|{{User CP/switch|{{{1}}}|ucat2}}}}}}{{#if:{{{Add|}}}|{{-}}
{{{Add}}}}}
{{{Add}}}}}
{{#ifexist:Category:{{{1}}} user templates|
{{#ifexist:Category:{{{1}}} user templates|
== Template category ==
== Template category ==
For other {{#ifexist:Category:Wikipedians interested in {{lc:{{{1}}}}}|{{lc:{{{1}}}}}|{{#ifexist:Category:Wikipedians interested in the {{lc:{{{1}}}}}|{{lc:{{{1}}}}}|{{{1}}}}}}} user templates, please see:
For other {{#ifexist:Category:Chabadpedians interested in {{lc:{{{1}}}}}|{{lc:{{{1}}}}}|{{#ifexist:Category:Chabadpedians interested in the {{lc:{{{1}}}}}|{{lc:{{{1}}}}}|{{{1}}}}}}} user templates, please see:
*[[:Category:{{Resolve category redirect|{{{1}}} user templates}}]].}}{{-}}
*[[:Category:{{Resolve category redirect|{{{1}}} user templates}}]].}}{{-}}
This template is part of the categories shown below.
This template is part of the categories shown below.
{{User WP/switch|{{{1}}}|maincat|{{#ifeq:{{{3|{{{2}}}}}}|regional|regional}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
{{User CP/switch|{{{1}}}|maincat|{{#ifeq:{{{3|{{{2}}}}}}|regional|regional}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>