ვიკიპედია:მომხთარგები: განსხვავება გადახედვებს შორის

შიგთავსი ამოიშალა შიგთავსი დაემატა
No edit summary
მუშავდება
ხაზი 56:
*''[[ვიკიპედია:თარგები/მომხმარებლები/კომპიუტერი]], კომპიუტერთან დაკავშირებული ინფორმაცია (პროგრამული სისტემები, პროგრამული უზრუნველყოფა და სხვა)''
*''[[ვიკიპედია:თარგები/მომხმარებლები/წიგნები]],თქვენი საყვარელი წიგნები
'''''ინგლისური ვიკიპედია'''''
 
*''[[Wikipedia:Userboxes/Automotive]], for automotive interests.''
*''[[Wikipedia:Userboxes/Books]], for favourite books and graphic novels.''
*''[[Wikipedia:Userboxes/Colours]], for favourite colours.''
*''[[Wikipedia:Userboxes/Computing]], for computing, such as blogs, websites, browsers and hardware.''
*''[[Wikipedia:Userboxes/Food]], for favourite foods, beverages, and eating habits.''
*''[[Wikipedia:Userboxes/Games]], for favourite board, card and video games.
*''[[Wikipedia:Userboxes/Interests]], for universal human interests and hobbies.''
*''[[Wikipedia:Userboxes/Mathematics]], for statistics, measurement systems, and other areas in mathematics.''
*''[[Wikipedia:Userboxes/Media]], for favourite radio, television, movies and newspapers.''
*''[[Wikipedia:Userboxes/Music]], for musical taste and interests.''
*''[[Wikipedia:Userboxes/Pets]], for pets and other animals.''
*''[[Wikipedia:Userboxes/Sports]], for favourite sports.''
 
==== ვიკიპედიასთან დაკავშირებული ====
*''[[ვიკიპედია:თარგები/მომხმარებლები/ვიკიპედია]], მომხმარებელთა კატეგორიებისა, ასოციაციის და მათი შეხედულებებისთვის.''
 
==== Wikipedia-related ====
*''[[Wikipedia:Userboxes/Wikipedia]], for user category, association, editing philosophy and preferences.''
*''[[Wikipedia:Userboxes/WikiProjects]], for userboxes related to WikiProjects.''
*''[[Wikipedia:Userboxes/Userboxes]], for userboxes about userboxes and userbox policy.''
 
==== Other userboxes ====
*''[[Wikipedia:Userboxes/Emoticons]], for userboxes representing a current mood.''
*''[[Wikipedia:Userboxes/Humor]], for humorous or silly userboxes that don't fit elsewhere.''
*''[[Wikipedia:Userboxes/Seasonal]], for seasonal userboxes.''
 
And if you actually ''looked'' into all those categories, [[:Template:User Kleptobox|this userbox]] may be for you!
 
===Grouping userboxes===
{{Userboxtop|Example 1}}
{{User wikipedia/Administrator}}
{{Wikipedia:WikiProject Userboxes/Userbox}}
{{User browser}}
{{User Rome}}
{{User friendly}}
{{Userboxbottom}}
As with the Babel box, there is a box to group userboxes together. Just make a list of userboxes with {{[[Template:Userboxtop|Userboxtop]]|box-name}} at the top and {{tl|Userboxbottom}} at the bottom. For example, the box to the right is created using the following list:
{{-}}<pre>
{{Userboxtop|Example 1}}
{{User wikipedia/Administrator}}
{{Wikipedia:WikiProject Userboxes/Userbox}}
{{User browser}}
{{User Rome}}
{{User friendly}}
{{Userboxbottom}}
</pre>
You may also change the alignment by using 'right' or 'left' as the 2nd parameter, or explicitly using parameter align. Thus, it is possible to create the same box on the right, but positioned on the left side of the page, by changing the the first line from <nowiki>{{Userboxtop|Example 1}}</nowiki> to <nowiki>{{Userboxtop|Example 1|left}}</nowiki>.
 
Or, If you want to use a function similar to {{tl|Babel-X}} (which holds 100 babel boxes), use {{tl|UBX-X}}.
 
The actual Babel grouping system can also be used, e.g. <nowiki>{{Babel-4|sv|no-4|browser|rome}}</nowiki>. However, it only works for user boxes with the "User" prefix, which must then be dropped for the arguments. Also, boxes that need arguments of their own (such as {{tl|User alignment}}) cannot be used with Babel.
 
== Designing a userbox ==
=== Preliminary notes ===
*If you choose to put an image in a userbox, make sure the image license is free. Wikipedia policy does not allow templates or user pages to have copyrighted works on them. See [[Wikipedia:Fair_use#Fair_use_criteria|Wikipedia's fair use policy guidelines]] for more details.
* All items in template and user space are governed by the [[WP:CIVIL|civility]] policy.
*Userboxes are '''not''' encyclopedic content; they are not to be used in articles.
*Userboxes are intended to make statements about a user's skills, attributes, views and affiliations on user pages, but they are public resources residing in user space.
*Userboxes '''must not''' include [[WP:CIVIL|incivility]] and [[WP:NPA|personal attacks]].
*[[WP:NOT#Wikipedia_is_not_a_soapbox|Wikipedia is not an appropriate place for political campaigning]], and userboxes created or used for this purpose may be deleted.
 
=== How to design the box ===
There are a number of box types to select from when deciding to make a userbox. The most commonly used design is the "'''Standard box'''". It has one square shaped area on the left ("''id''") and a rectangular area on the right ("''info''").
 
For ease of use, userboxes are made using maker-templates that have a number of parameters. Once the maker-template is saved, it is automatically transformed to [[HTML]].
{| class="wikitable"
!Template Parameters
!Meaning
!Value type
|-
|border-c
|<span style="border:1px solid #333;">The '''border colour''' of the userbox</span>
|[[Web colours|CSS colour value]] ([[hexadecimal|#hex]] or colour name)
|-
|border-s
|<span style="border:4px solid #3f3;">The '''border size''' of the userbox</span>
|Width in pixels
|-
|id-c
|<span style="background:#efe">The '''background colour''' of the id box</span>
|CSS colour value
|-
|id-s
|The font <span style="font-size:150%">'''size'''</span> of the id box
|Size in [[Point (typography)|PostScript points]]
|-
|id-fc
|The font <span style="colour:#090">'''colour'''</span> of the id box text
|CSS colour value
|-
|info-c
|<span style="background:#efe">The background colour of info box</span>
|CSS colour value
|-
|info-s
|The font <span style="font-size:150%">'''size'''</span> of info box
|Size in PostScript points
|-
|info-fc
|The font <span style="color:#090">'''colour'''</span> of info box
|CSS colour value
|-
|id
|This is the '''content''' of the id box
|Text
|-
|info
|This is the '''content''' of info box
|Text
|}
 
==== Userbox types ====
 
{| cellspacing="1" cellpadding="2" style="background: #99f; colour: #000;"
!style="background: #fff;"|Code
!style="background: #fff;"|Appearance
|-
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Standard box
|-
|style="background: #fff;"|<pre>{{subst:Userbox
|border-c = #000
|border-s = 1
|id-c = #fff
|id-s = 12
|id-fc = #000
|info-c = #039
|info-s = 8
|info-fc = #fff
|id = ID
|info = info box content
}}</pre></tt>
''or'' <tt><nowiki>{{subst:Userbox|side-box colour|main box colour|side-box content|main box content}}</nowiki></tt>
|style="background: #fff;"|{{Userbox|border-c=#000|border-s=1|id-c=#fff|id-s=12|id-fc=#000|info-c=#039|info-s=8|info-fc=#fff|id=ID|info=info box content}}
|-
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Reverse box
|-
|style="background: #fff;"|<pre>{{subst:Userbox-r
|border-c = #000
|border-s = 1
|id-c = #fff
|id-s = 12
|id-fc = #000
|info-c = #039
|info-s = 8
|info-fc = #fff
|id = ID
|info = info box content
}}</pre>
''or'' <tt><nowiki>{{subst:Userbox-r|side-box colour|main box colour|side-box content|main box content}}</nowiki></tt>
|style="background: #fff;"|{{Userbox-r|border-c=#000|border-s=1|id-c=#fff|id-s=12|id-fc=#000|info-c=#039|info-s=8|info-fc=#fff|id=ID|info=info box content}}
|-
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Double box
|-
|style="background: #fff;"|<pre>{{subst:Userbox-2
|border-c = #000
|border-s = 1
|id1-c = #fff
|id1-s = 12
|id1-fc = #000
|id2-c = #000
|id2-s = 12
|id2-fc = #fff
|info-c = #039
|info-s = 8
|info-fc = #fff
|id1 = ID 1
|id2 = ID 2
|info = info box content
}}</pre>
''or'' <tt><nowiki>{{subst:Userbox-2|side-box 1 colour|main box colour|side-box 1 content|message|side-box 2 content|border colour|side-box 2 colour|main box font-colour|box border thickness}}</nowiki></tt>
<br/>'''''Note''': If omitted, border colour and side-box 2 colour default to the same colour as side-box 1, and font colour is black. Default border thickness is 1.''
|style="background: #fff;"|{{Userbox-2|border-c=#000|border-s=1|id1-c=#fff|id1-s=12|id1-fc=#000|id2-c=#000|id2-s=12|id2-fc=#fff|info-c=#039|info-s=8|info-fc=#fff|id1=ID 1|id2=ID 2|info=info box content}}
|-
!colspan="2" style="background: #fff; text-align: left; padding: 0 1em;"|Mini box
|-
|style="background: #fff;"|<pre>{{subst:Userbox-m
|border-c = #000
|border-s = 1
|id-c = #fff
|id-s = 12
|id-fc = #000
|id = ID
}}</pre>
''or'' <tt><nowiki>{{subst:Userbox-m|box colour|box content}}</nowiki></tt>
|style="background: #fff;"|{{Userbox-m|border-c=#000|border-s=1|id-c=#fff|id-s=12|id-fc=#000|id=ID}}
|}
 
=== Submitting your designs ===
If you have designed a userbox that you would like to make available to others, submitting it to the gallery is currently controversial. However, you may display it on the [[Wikipedia_talk:Userboxes/New_Userboxes | new userboxes talk]] page, or you might consider keeping it on your own userspace and making it available through [[:Category:User pages displaying original userboxes and corresponding code]] (remember, to add a page to a [[Help:Category|category]], simply link the page to that category).
 
One thing that is reasonably clear is that, at the present time, '''<font color="maroon">you should not make your userboxes into new templates</font>'''. Display the code instead. The easiest way to display the code for your userboxes is to use the <b>nowiki</b> or <b>pre</b> tags (as described at [[Help:Editing|editing help]]).
 
Ideas for userboxes can be submitted [[Wikipedia talk:Userboxes/Ideas|here]].
 
==== Userbox sampling templates ====
 
To make it easier to quote the generation code for a userbox in a uniform format, a template {{tl|Userbox sample compact}} has been made available, which produces a picture of the userbox along with the code necessary to create it. To use it, just give it exactly the same parameters you would give the {{tl|Userbox}} template. You must use '''subst:''', or the template will not work properly.
 
For example, consider the following code and the resulting demonstration userbox:
 
:<nowiki>{{subst:Userbox sample compact</nowiki>
::<nowiki>| id=UBX</nowiki>
::<nowiki>| id-c=red</nowiki>
::<nowiki>| info=This is a '''[[WP:UBX|Userbox]]'''</nowiki>
:<nowiki>}}</nowiki>
*
{| border="1" cellpadding="2" cellspacing="0"
|-
| style="width:350px; text-align: left; font-size: 8pt; color:black; font-family: Arial; " | {{subst:Userbox &#124; border-c = {{{border-c|#999}}} &#124; border-s = {{{border-width|{{{border-s|1}}}}}} &#124; id-c = {{{logo-background|{{{1|red}}}}}} &#124; id-s = {{{logo-size|{{{5|{{{id-s|14}}}}}}}}} &#124; id-fc = {{{logo-color|{{{id-fc|black}}}}}} &#124; info-c = {{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}} &#124; info-s = {{{info-size|{{{info-s|8}}}}}} &#124; info-fc = {{{info-color|{{{info-fc|black}}}}}} &#124; id = {{#switch:{{{logo|{{{3|UBX}}}}}}
|{{{logo}}} = <nowiki>{{{logo}}}</nowiki>
|{{{3}}} = <nowiki>{{{3}}}</nowiki>
|UBX = <nowiki>UBX</nowiki>
|id}} &#124; info = {{#switch:This is a '''[[WP:UBX|Userbox]]'''
|This is a '''[[WP:UBX|Userbox]]''' = <nowiki>This is a '''[[WP:UBX|Userbox]]'''</nowiki>
|{{{4}}} = <nowiki>{{{4}}}</nowiki>
|<nowiki>''info''</nowiki>}} &#124; float = {{{float|left}}} }}
 
| <div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|red}}}}}}}}}; margin:1px;">
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
| style="width:45px; height:45px; background:{{{logo-background|{{{1|red}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}};" | '''{{{logo|{{{3|UBX}}}}}}'''
| style="font-size:{{{info-size|{{{info-s|8}}}}}}pt; padding:4pt; line-height:1.25em; color:{{{info-color|{{{info-fc|black}}}}}};" | This is a '''[[WP:UBX|Userbox]]'''
|}</div>
 
|}
 
There are not yet any similar templates available for userboxes created by the templates ''Userbox-r'', ''Userbox-2'' and ''Userbox-m''.
 
==See also==
*[[Wikipedia:WikiProject Userboxes]]
*[[Wikipedia:List of userboxes]]
*[http://tools.wikimedia.de/~avar/cgi-bin/userbox_feed RSS feed of user pages on the English Wikipedia ordered by the number of userbox templates on them]
 
{{WP:UBS}}
 
[[კატეგორია:მომხმარებელთა თარგები| ]]
[[Category:WikiProject Userboxes]]
 
[[an:Wikipedia:Plantillas d'usuario]]