Template:User WP/based
Appearance
(Redirected from Template:User WP/sub)
This is a documentation subtemplate, displaying default informations about WikiProject userboxes based on Template:User WP.
Usage
[edit]To create a new WikiProject userbox, copy-paste and edit the following sample from Template:User WikiProject Switzerland:
{{User WP|Switzerland|{{{1|}}}|{{{2|}}}|nocat={{{nocat|}}}}}<noinclude>{{User WP/based|Switzerland |list |regional |Section = Members}}</noinclude>
In this example, the documentation subtemplate is:
{{User WP/based|Switzerland |list |regional |Section = Members}}
In the example of Template:User WP Philosophy, the documentation subtemplate will be:
{{User WP/based|Philosophy |list |Add = {{Wikipedia:WikiProject Philosophy/userbox templates}}}}
Parameters
[edit]- Set the 1st unnamed parameter as the project name (e.g.
Switzerland
), required to categorise the userbox template and make other parameters work. - Set the 2nd unnamed parameter to
list
,break
orall
to include related informations and examples; if the project name is shorter than 15 characters,list
is the default. - Set the 2nd or 3rd unnamed parameter to
regional
to include the template in Category:Regional WikiProject user templates. Section =
for the optional member list section (default is 'Participants').Add =
for additional sections.
Notes
[edit]{{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.