Templat:User label
[[{{{tgt}}}]]
Pendokumenan templat
This template creates a Keep It Simple label, suitable for inclusion on user pages. It is intended to be used from other templates (see 'Label Naming' below).
Example usage with WikiProject Medicine:
- {{user label |tgt=Wikipedia:WikiProject Medicine |tgtname=WP:MED |catname=WikiProject Medicine members |theme={{{theme}}}}}
Label Naming:
Please follow the naming conventions at WP:USERBOX#Which namespace?. All templates should go into the Template:User space, and closely follow an existing category, such as Template:{{User en}} (English language) would become Template:{{User label en}}
Parameters:
- tgt
- Full name of target page: including a Wikipedia: prefix if necessary (i.e. Wikipedia:WikiProject Medicine). Full name is required for mouse hover usage.
- tgtname
- Text you want to appear in the KIS box.
- Prefixes:
- WP: = WikiProjects
- W: = Wikipedia space
- B: = Languages (Babel)
- L: = Life, status, and situation
- W: = Wikipedia-related
- O: = Other
- Prefixes:
- catname
- Optional category in which page should be included (do not include Category: prefix).
- extracat
- A second optional category, same as 'catname' above.
- theme
theme= | Result |
---|---|
default | |
basic | |
tab | |
tab2 | |
pink |
- Controls the appearance of the label. Here are examples on the same tray:
- More information can be found in Theme Gallery.
See also
Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sublaman templat ini. |