विकिपिडिया:प्रयोगकर्ताबाकसहरू
स्वरूप
प्रयोगकर्ताबाकस प्रत्यक्ष वा अप्रत्यक्ष रुपमा विकिपिडियनहरूको प्रयोगकर्ता पृष्ठमा प्रयोगकर्ताहरूको बारेमा जानकारी दिनको लागि प्रयोग गरिने रङ्गिन बाकसहरू हुन (उदाहरण दाँया तर्फ छन)।
प्रयोगकर्ताबाकसको निर्माण
[सम्पादन गर्नुहोस्]प्रयोगकर्ताबाकस कसरी निर्माण गर्ने?
[सम्पादन गर्नुहोस्]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.
Template Parameters | Meaning | Value type |
---|---|---|
border-c | The border color of the userbox. | CSS color value (#hex or color name) |
border-s | The border size of the userbox. | Width in pixels |
id-c | The background color of the id box. | CSS color value |
id-s | The font size of the id box. | Size in PostScript points |
id-fc | The font color of the id box text. | CSS color value |
id-p | The distance between border and content of id box. | CSS padding width value. px, pt |
id-lh | The distance between text lines of id box. | CSS relative line height/length value. em |
info-c | The background color of info box. | CSS color value |
info-s | The font size of info box. | Size in PostScript points |
info-fc | The font color 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.