Jump to content

Template:Ubxrow/doc

From Wikipedia, the free encyclopedia

This template is used for showing userboxes and their properties in a table.

Usage

[edit]

There are four related templates:

Ubxrowsep parameters

[edit]

There is one unnamed parameter for the separator title. If the title includes "=", then add the title with |1= <name>. The name is also included as an anchor for direct linking.

Ubxrow parameters

[edit]
  • |topic= Userbox topic; may be wikilinked
  • |ubx= userbox name, include the namespace (Wikipedia:, Template:, User:) but do not wikilink
  • |cat= category invoked by the userbox, do not include Category: and do not wikilink
  • |p1=, |p2=, |p3= and |p4= optional userbox parameters

Category suppression

[edit]

Some userboxes automatically place the page where it is used into a category. These categories are not appropriate for pages such as lists, so some userboxes support a feature to suppress the automatic category. This template automatically invokes category suppression for userboxes that use these methods:

  • |nocat=true
  • |category=
  • |categories=no

Example

[edit]
{{ubxrowtop}}
{{ubxrowsep|WikiProject Scouting}}
{{ubxrow
|topic=[[Scouting]]
|ubx=Wikipedia:WikiProject Scouting/Userboxes/Scouting WikiProject
|cat=WikiProject Scouting participants
|p1=categories=no
}}
{{ubxrow
|topic=[[Wood Badge]]
|ubx=Wikipedia:WikiProject Scouting/Userboxes/Wood Badger
|cat=Wikipedian Wood Badgers
|p1=2
|p2=3
|p3=4
|p4=categories=no
}}
{{ubxrowsep|By association}}
{{ubxrow
|topic=[[Scouts Australia]]
|ubx=Wikipedia:WikiProject Scouting/Userboxes/Scouts Australia
|cat=Wikipedians interested in Scouting
|p1=categories=no
}}
{{end}}
Topic What to type Result Parameters
WikiProject Scouting
Scouting {{Wikipedia:WikiProject Scouting/Userboxes/Scouting WikiProject}}
Category:WikiProject Scouting participants
Linked pages 
This user is a member of the
Scouting WikiProject.
categories=no
Wood Badge {{Wikipedia:WikiProject Scouting/Userboxes/Wood Badger}}
Category:Wikipedian Wood Badgers
Linked pages 
Wood Badge Beads - 2This user is a Wood Badger.
2
3
4
categories=no
By association
Scouts Australia {{Wikipedia:WikiProject Scouting/Userboxes/Scouts Australia}}
Category:Wikipedians interested in Scouting
Linked pages 
This user is or was a member of Scouts Australia.
categories=no

See also

[edit]