සැකිල්ල:User WP/doc
මෙම සැකිල්ල පිටු 3,600 පමණ භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
This template creates a userbox that identifies you as a member of a Wikipedia project, for example:
This user is a member of WikiProject Americas. |
Usage
සංස්කරණයThis template invokes සැකිල්ල: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
සංස්කරණයUnnamed parameters
සංස්කරණය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
orleft
(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
සංස්කරණයimage
the optional image base name (without the "File:" prefix).size
the optional image size (without the "px" suffix): default issize=39x39
.id-c
the optional background color for the image: default isid-c=#DEF
.info-c
the optional background color for the info: default isinfo-c=#FFFFFD
.info-fc
the optional font color for the info, including links.border-c
the optional border color: default isborder-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
සංස්කරණය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
සංස්කරණය
|
|
|
|
|
|
- Examples with three parameters
|
|
|
|
|
|
TemplateData
සංස්කරණයTemplateData for User WP
Parameter | Description | Type | Status | |
---|---|---|---|---|
WikiProject base name | 1 | WikiProject base name, without the 'Wikipedia:WikiProject' prefix, nor the 'work group' or 'task force' postfix
| String | required |
Text alignment | 2 | Text alignment (center or left)
| String | optional |
Id image base name | image | Image base name, without the 'File:' prefix
| File | optional |
Id image size | size | Image size, without the 'px' postfix
| String | optional |
Id text | id | Id text, alternative to the image | String | optional |
Id image or text background color | id-c |
| String | optional |
Id text font color | id-fc |
| String | optional |
Id text other CSS parameters | id-op | String | optional | |
Id text size in points | id-s |
| String | optional |
Info background color | info-c |
| String | optional |
Info font color | info-fc | Info font color, including links | String | optional |
Border color | border-c |
| String | optional |
User category | ucat | User category, without the 'Category:' prefix
| Page name | optional |
User category inhibitor | nocat | User category inhibitor to not declare the WikiProject membership (true or false)
| String | optional |
Defaulted 1
required
Redirects
සංස්කරණයSee also
සංස්කරණයView related userboxes at: