Template:User WP/based: Difference between revisions
Appearance
imported>Deadfire creation |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|{{User WP/based/notice}}|{{-}}{{documentation | <includeonly>{{#ifeq:{{SUBPAGENAME}}|doc|{{User WP/based/notice}}|{{-}}{{documentation | ||
|content = This [[Help:Template|template]] creates a [[ | |content = This [[Help:Template|template]] creates a [[BattleIntelligence:Userboxes|userbox]] that identifies an editor who actively participates in [[BattleIntelligence:WikiProject {{{1}}}|WikiProject {{{1}}}]].{{-}}This template invokes {{tln|User WP}}. | ||
== Usage == | == Usage == | ||
Place the code {{tlx|{{#ifeq:{{NAMESPACE}}|Template|{{PAGENAME}}|{{FULLPAGENAME}}}}}} on [[Special:MyPage|your user page]] to display the userbox shown above. | Place the code {{tlx|{{#ifeq:{{NAMESPACE}}|Template|{{PAGENAME}}|{{FULLPAGENAME}}}}}} on [[Special:MyPage|your user page]] to display the userbox shown above. | ||
| Line 11: | Line 11: | ||
== Membership == | == Membership == | ||
To join WikiProject {{{1}}}, add your username to: | To join WikiProject {{{1}}}, add your username to: | ||
*[[{{#if:{{{Section|}}}| | *[[{{#if:{{{Section|}}}|BattleIntelligence:WikiProject {{{1}}}#{{{Section}}}|{{User WP/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 WP/switch|{{{1}}}|ucat}}|{{Userbox/categories|{{User WP/switch|{{{1}}}|ucat}}|{{User WP/switch|{{{1}}}|ucat2}}}}}}{{#if:{{{Add|}}}|{{-}} | ||
{{{Add}}}}} | {{{Add}}}}} | ||
Latest revision as of 01:13, 1 May 2025
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
This is a documentation subtemplate, displaying default informations about WikiProject userboxes based on Template:User WP.
Usage
To create a new WikiProject userbox, copy-paste and edit the following sample from Template:User WP Templates:
{{User WP|Templates|{{{1|}}}|{{{2|}}}|nocat={{{nocat|}}}}}<noinclude>{{User WP/based |Templates}}</noinclude>
In this example, the documentation subtemplate is:
{{User WP/based |Templates}}
Parameters
- Set the 1st unnamed parameter as the project name (e.g.
Templates), required to categorise the userbox template and make other parameters work. - Set the 2nd unnamed parameter to
list,breakorallto include related informations and examples; if the project name is shorter than 15 characters,listis the default. - Set the 2nd or 3rd unnamed parameter to
regionalto include the template in Category:Regional WikiProject user templates. Section =for the optional member list section (default is 'Participants').Add =for additional sections.
Notes
{{User WP/sub}}is a shortcut to this subtemplate,{{User WP/based}}, and can be used in its place.- This subtemplate automatically includes Template:Documentation.