"विकिपिडिया:प्रयोगकर्ताबाकसहरू" का संशोधनहरू बिचको अन्तर

नयाँ पृष्ठ: {| style="float:right; background:none;" |- |{{userbox|blue|aqua|40px|प्रयोगकर्ता बाकस यस्तै ख...
 
कुनै सम्पादन सारांश छैन
पङ्क्ति ७:
|{{userbox-2|#0000CD|#ADD8E6|[[File:Crystal package favourite.png|40px]]|रयोगकर्ता बाकसहरुमा एक वा दुई साईड बाकस हुनसक्छन ।|[[File:Ark-icon.png|40px]]}}
|}
 
 
=== प्रयोगकर्ताबाकसको निर्माण ===
==== प्रयोगकर्ताबाकस कसरी निर्माण गर्ने? ====
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 typically made using maker-templates that have a number of parameters.
{| class="wikitable"
!Template Parameters
!Meaning
!Value type
|-
|border-c
|<span style="border:1px solid #333;">The '''border color''' of the userbox.</span>
|[[Web colors|CSS color value]] ([[hexadecimal|#hex]] or color 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 color''' of the id box.</span>
|CSS color 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="color:#090">'''color'''</span> of the id box text.
|CSS color value
|-
|id-p
|The distance between border and content of id box.
|CSS padding width value. [[Pixel|px]], [[Point (typography)|pt]]
|-
|id-lh
|The distance between text lines of id box.
|CSS relative line height/length value. [[Em (typography)|em]]
|-
|info-c
|<span style="background:#efe">The background color of info box.</span>
|CSS color 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">'''color'''</span> of info box.
|CSS color value
|-
|info-p
|The distance between border and content of info box.
|CSS padding width value. px, pt
|-
|info-lh
|The distance between text lines of info box.
|CSS relative line height/length value. em
|-
|id
|This is the '''content''' of the id box.
|Free-form
|-
|info
|This is the '''content''' of info box.
|Free-form
|}
 
The '''id''' and '''info''' boxes can include text, links, and images using the usual Wikipedia syntax. Generally, the '''id''' box will contain a few letters or a 43px image, while the '''info''' box will contain a sentence with a link or two.