Jump to content

Template:User WP/based/doc

From Wikipedia, the free encyclopedia

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]
  1. Set the 1st unnamed parameter as the project name (e.g. Switzerland), required to categorise the userbox template and make other parameters work.
  2. Set the 2nd unnamed parameter to list, break or all to include related informations and examples; if the project name is shorter than 15 characters, list is the default.
  3. Set the 2nd or 3rd unnamed parameter to regional to include the template in Category:Regional WikiProject user templates.
  4. Section = for the optional member list section (default is 'Participants').
  5. Add = for additional sections.

Notes

[edit]