Pumunta sa nilalaman

Padron:User WP/doc

Mula sa Wikipedia, ang malayang ensiklopedya

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

Padron:User WP/switchThis user is a participant in
WikiProyekto Americas.

This template invokes Padron: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.

Unnamed parameters

[baguhin ang wikitext]

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:WikiProyekto" 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 "WikiProyekto" 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

[baguhin ang wikitext]
  • image the optional image base name (without the "File:" prefix).
  • size the optional image size (without the "px" suffix): default is size=39x39.
  • id-c the optional background color for the image: default is id-c=#DEF.
  • info-c the optional background color for the info: default is info-c=#FFFFFD.
  • info-fc the optional font color for the info, including links.
  • border-c the optional border color: default is border-c=gray.
  • ucat the optional user category (without the "Category:" prefix).
  • nocat 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

[baguhin ang wikitext]

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

  • id: the id text;
  • id-fc: the id text font color;
  • id-op: the id text other CSS parameters;
  • id-s: the id text size in points (default=14).
Examples with three parameters

TemplateData

[baguhin ang wikitext]

Padron:Format TemplateData

View related userboxes at: