साँचा:Userbox/doc

विकिपीडिया केरौ बारे मँ

लुआ त्रुटि मोड्यूल:Lua_banner में पंक्ति 37 पर: attempt to index local 'maybeSandbox' (a nil value)।

Usage[स्रोत सम्पादित करौ]

{{Userbox
| bodyclass     = <!--Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc.-->
| border-c      = <!--border color (default=id-c)-->
| border-s      = <!--border width in pixels (default=1)-->
| float         = <!--left|right|none (default=left)-->
| id            = <!--id image or text (standard height=x45px)-->
| id-class      = <!--Adds an HTML class attribute to the "id" HTML table cell, to allow for styling, emission of microformats, etc.-->
| id-a          = <!--id horizontal alignment left/center/right/justify (default=center)-->
| id-c          = <!--id background color (default=#d0d0d0)-->
| id-fc         = <!--id font color (default=black)-->
| id-h          = <!--id box height in pixels (default=45)-->
| id-lh         = <!--id line height (default=1.25em)-->
| id-op         = <!--id other CSS parameters-->
| id-p          = <!--id cell padding (default=0 1px 0 0)-->
| id-s          = <!--id text size in points (default=14)-->
| id-w          = <!--id box width in pixels (default=45)-->
| info-class    = <!--Adds an HTML class attribute to the "info" HTML table cell, to allow for styling, emission of microformats, etc.-->
| info          = <!--info text or image-->
| info-a        = <!--info horizontal alignment left/center/right/justify (default=left)-->
| info-c        = <!--info background color (default=#e0e0e0)-->
| info-fc       = <!--info font color (default=black)-->
| info-lh       = <!--info line height (default=1.25em)-->
| info-op       = <!--info other CSS parameters-->
| info-p        = <!--info padding (default=0 4px 0 4px)-->
| info-s        = <!--info text size in points (default=8)-->
| usercategory  = <!--user category (optional)-->
| usercategory2 = <!--user category (optional)-->
| usercategory3 = <!--user category (optional)-->
| nocat         = <!--block page category declarations; see [[w:WP:NOCAT]] (default=false)-->
}}
  • All parameters are optional
  • Images should normally be scaled to x45px or less.

TemplateData[स्रोत सम्पादित करौ]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See the monthly parameter usage report for this template.

TemplateData for Userbox

This template can be used to quickly create a userbox for display on a user's user page without having to know HTML or Wikitable syntax.

साँचे के पैरामीटर्स

इस साँचे के लिए पैरामीटरों के ब्लॉक प्रारूपण को प्राथमिकता दी जाती है।

पैरामीटरविवरणप्रकारस्थिति
Body – Class Attributebodyclass

Adds an HTML class attribute to the entire template’s HTML table, to allow for styling, emission of microformats, etc.

स्ट्रिंगवैकल्पिक
Body – Border Colorborder-c

border color

डिफ़ॉल्ट
#999
स्ट्रिंगवैकल्पिक
Body – Border Widthborder-s

border width in pixels

डिफ़ॉल्ट
1
संख्यावैकल्पिक
Body – Floatfloat

left|right|none

सुझावित वैल्यू
left right none
डिफ़ॉल्ट
left
स्ट्रिंगवैकल्पिक
IDid

id image or text

पंक्तिसुझावित
ID – Class Attributeid-class

Adds an HTML class attribute to the “id” HTML table cell, to allow for styling, emission of microformats, etc.

स्ट्रिंगवैकल्पिक
ID – Background Colorid-c

id background color

डिफ़ॉल्ट
#D0D0D0
स्ट्रिंगवैकल्पिक
ID – Text Colorid-fc

id font color

डिफ़ॉल्ट
black
स्ट्रिंगवैकल्पिक
ID – Box Heightid-h

id box height in pixels

डिफ़ॉल्ट
45
संख्यावैकल्पिक
ID – Box Widthid-w

id box width in pixels

डिफ़ॉल्ट
45
संख्यावैकल्पिक
ID – Paddingid-p

id cell padding

डिफ़ॉल्ट
0 1px 0 0
स्ट्रिंगवैकल्पिक
ID – Text Sizeid-s

id text size in points

डिफ़ॉल्ट
14
संख्यावैकल्पिक
ID – CSS line-heightid-lh

id line height

डिफ़ॉल्ट
1.25em
स्ट्रिंगवैकल्पिक
ID – Horizontal Alignmentid-a

id horizontal alignment left/center/right/justify

डिफ़ॉल्ट
center
स्ट्रिंगवैकल्पिक
ID – Other CSS Parametersid-op

id other CSS parameters

स्ट्रिंगवैकल्पिक
Infoinfo

info text or image

सामग्रीआवश्यक
Info – Class Attributeinfo-class

Adds an HTML class attribute to the “info” HTML table cell, to allow for styling, emission of microformats, etc.

स्ट्रिंगवैकल्पिक
Info – Background Colorinfo-c

info background color

डिफ़ॉल्ट
#E0E0E0
स्ट्रिंगवैकल्पिक
Info – Text Colorinfo-fc

info font color

डिफ़ॉल्ट
black
स्ट्रिंगवैकल्पिक
Info – Paddinginfo-p

info padding

डिफ़ॉल्ट
0 4px 0 4px
स्ट्रिंगवैकल्पिक
Info – Text Sizeinfo-s

info text size in points

डिफ़ॉल्ट
8
संख्यावैकल्पिक
Info – CSS line-heightinfo-lh

info line height

डिफ़ॉल्ट
1.25em
स्ट्रिंगवैकल्पिक
Info – Horizontal Alignmentinfo-a

info horizontal alignment left/center/right/justify

सुझावित वैल्यू
left center right justify
डिफ़ॉल्ट
left
स्ट्रिंगवैकल्पिक
Info – Other CSS Parametersinfo-op

info other CSS parameters

स्ट्रिंगवैकल्पिक
User Category 1usercategory

user category (optional)

स्ट्रिंगवैकल्पिक
User Category 2usercategory2

user category (optional)

स्ट्रिंगवैकल्पिक
User Category 3usercategory3

user category (optional)

स्ट्रिंगवैकल्पिक
No Category?nocat

block page category declarations (see WP:NOCAT)

बूलियनवैकल्पिक