Tɛmplet:User WP/doc

Diyila Dagbani Wikipedia

This template creates a userbox that identifies you as a member of a Wikipedia project, for example:

This user is a member of
[[Wikipedia:WikiProject Americas|WikiProjectTɛmplet:SpAmericas]].

Usage[mali mi di yibu sheena n-niŋ]

This template invokes Tɛmplet:Tln, automatically adding multiple parameters, including appropriate text, links and categories. If the project name is listed in the switch subtemplate, this template will also automatically display the right image and colors for the given project, otherwise you can set them using the named parameters.

The code is formatted according to recommendations in Wikipedia:Manual of Style/Accessibility §§ Color​ and Animations, video, and audio content.

Parameters[mali mi di yibu sheena n-niŋ]

Unnamed parameters[mali mi di yibu sheena n-niŋ]

To use this userbox template, place the following line of Wikitext on your user page:

{{User WP|1|2|3}}

where:

  • 1 is the required project base name (without the "Wikipedia:WikiProject" prefix, nor the "work group" or "task force" postfix)
  • 2 the optional text alignment:
    • center or left (default).
  • 3 for additional parameters:
    • break to display a line break between the "WikiProject" prefix and the base name;
    • list to display additional links to the project talk, articles and stubs, if the appropriate categories exist.

For examples, see the appropriate section below.

Named parameters[mali mi di yibu sheena n-niŋ]

  • Tɛmplet:Bg the optional image base name (without the "File:" prefix).
  • Tɛmplet:Bg the optional image size (without the "px" suffix): default is size=39x39.
  • Tɛmplet:Bg the optional background color for the image: default is id-c=Tɛmplet:Bg.
  • Tɛmplet:Bg the optional background color for the info: default is info-c=Tɛmplet:Bg.
  • Tɛmplet:Bg the optional font color for the info, including links.
  • Tɛmplet:Bg the optional border color: default is border-c=gray.
  • Tɛmplet:Bg the optional user category (without the "Category:" prefix).
  • Tɛmplet:Bg the optional user category inhibitor:
    • nocat=true do not declare the membership category;
    • nocat=false declare the membership category (default in User namespace).

Other parameters[mali mi di yibu sheena n-niŋ]

Other optional parameters for userboxes with text instead of the image:

Examples[mali mi di yibu sheena n-niŋ]

Lahabali kɔligu:Aus Footy Stub-t.pngThis user is a member ofTɛmplet:Sp[[Wikipedia:WikiProject A-League|WikiProjectTɛmplet:SpA-League]].

Lahabali kɔligu:Aus Footy Stub-t.pngThis user is a member of
[[Wikipedia:WikiProject A-League|WikiProjectTɛmplet:SpA-League]].

This user is a member ofTɛmplet:Sp[[Wikipedia:WikiProject Americas|WikiProjectTɛmplet:SpAmericas]].

This user is a member of
[[Wikipedia:WikiProject Americas|WikiProjectTɛmplet:SpAmericas]].

This user is a member ofTɛmplet:Sp[[Wikipedia:WikiProject Disambiguation|WikiProjectTɛmplet:SpDisambiguation]].

This user is a member of
[[Wikipedia:WikiProject Disambiguation|WikiProjectTɛmplet:SpDisambiguation]].


Examples with three parameters

This user is a member ofTɛmplet:Sp[[Wikipedia:WikiProject Abkhazia|WikiProjectTɛmplet:SpAbkhazia]].
talk

This user is a member of
[[Wikipedia:WikiProject Abkhazia|WikiProjectTɛmplet:SpAbkhazia]].
talk

This user is a member ofTɛmplet:Sp[[Wikipedia:WikiProject Canadian sport|WikiProjectTɛmplet:SpCanadian sport]].
talk

This user is a member of
[[Wikipedia:WikiProject Canadian sport|WikiProjectTɛmplet:SpCanadian sport]].
talk

This user is a member ofTɛmplet:Sp[[Wikipedia:WikiProject European Union|WikiProjectTɛmplet:SpEuropean Union]].
talk

This user is a member of
[[Wikipedia:WikiProject European Union|WikiProjectTɛmplet:SpEuropean Union]].
talk


TemplateData[mali mi di yibu sheena n-niŋ]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for User WP

This template creates a userbox that identifies you as a member of a Wikipedia project.
WikiProject base name1
WikiProject base name, without the 'Wikipedia:WikiProject' prefix, nor the 'work group' or 'task force' postfix
Default
Example
Text alignment2
Text alignment (center or left)
Default
left
Example
center
Id image base nameimage
Image base name, without the 'File:' prefix
Default
{{#invoke:Portal|image|{{{1|}}}}}
Example
Portal-puzzle.svg
Id image sizesize
Image size, without the 'px' postfix
Default
39x39
Id textid
Id text, alternative to the image
Id image or text background colorid-c
Default
#DEF
Id text font colorid-fc
Default
black
Id text other CSS parametersid-op
Id text size in pointsid-s
Default
14
Info background colorinfo-c
Default
#FFFFFD
Info font colorinfo-fc
Info font color, including links
Border colorborder-c
Default
gray
User categoryucat
User category, without the 'Category:' prefix
Default
{{Resolve category redirect|{{#ifexist:Category:WikiProject {{{1}}} participants|WikiProject {{{1}}} participants|{{#ifexist:Category:WikiProject {{{1}}} members|WikiProject {{{1}}} members}}}}}}
Example
WikiProject Italy participants
User category inhibitornocat
User category inhibitor to not declare the WikiProject membership (true or false)
Default
false
Example
true

Defaulted 1 required

Redirects[mali mi di yibu sheena n-niŋ]

See also[mali mi di yibu sheena n-niŋ]

View related userboxes at: