Difference between revisions of "Template:Userbox/doc"

From Moegirlpedia
Jump to: navigation, search
m (TemplateData no longer in use// Edit via Wikiplus)
 
Line 23: Line 23:
 
}}
 
}}
 
</pre>
 
</pre>
 
== Template Data ==
 
<templatedata>
 
{
 
"params": {
 
"float": {
 
"description": "left|right|none",
 
"type": "string",
 
"default": "left"
 
},
 
"border-s": {
 
"description": "border width in pixels",
 
"type": "string",
 
"default": "1"
 
},
 
"border-c": {
 
"description": "border color",
 
"type": "string",
 
"default": "id-c or #999"
 
},
 
"id-c": {
 
"description": "id background color",
 
"type": "string",
 
"default": "#DDD"
 
},
 
"info-c": {
 
"description": "info background color",
 
"type": "string",
 
"default": "#EEE"
 
},
 
"id-w": {
 
"description": "id box width in pixels",
 
"type": "string",
 
"default": "45"
 
},
 
"id-s": {
 
"description": "id text size in points",
 
"type": "string",
 
"default": "14"
 
},
 
"id-lh": {
 
"description": "id line height",
 
"type": "string",
 
"default": "1em"
 
},
 
"id-fc": {
 
"description": "id font color",
 
"type": "string",
 
"default": "black"
 
},
 
"id": {
 
"description": "id image or text",
 
"type": "string"
 
},
 
"info-s": {
 
"description": "info text size in points",
 
"type": "string",
 
"default": "9"
 
},
 
"info-lh": {
 
"description": "info line height",
 
"type": "string",
 
"default": "1.25em"
 
},
 
"info-fc": {
 
"description": "info font color",
 
"type": "string",
 
"default": "black"
 
},
 
"info": {
 
"description": "info text or image",
 
"type": "string"
 
}
 
},
 
"description": "This template can be used to quickly create a userbox for display on a user's user page.",
 
"paramOrder": [
 
"id",
 
"id-w",
 
"id-c",
 
"id-s",
 
"id-fc",
 
"id-lh",
 
"info",
 
"info-c",
 
"info-s",
 
"info-fc",
 
"info-lh",
 
"border-c",
 
"border-s",
 
"float"
 
]
 
}
 
</templatedata>
 
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 09:56, 28 February 2022

Introduction

This template can be used to quickly create a userbox for display on a user's user page.

Please note that it is not allowed to add categories that could link to user pages on Moegirlpedia.

Usage

{{Userbox
| id       = <!-- id image or text -->
| id-w     = <!-- id box width in pixels (default=45) -->
| id-c     = <!-- id background color (default=#DDD) -->
| id-s     = <!-- id text size in points (default=14) -->
| id-fc    = <!-- id font color (default=black) -->
| id-lh    = <!-- id line height (default=1em) -->
| info     = <!-- info text or image -->
| info-c   = <!-- info background color (default=#EEE) -->
| info-s   = <!-- info text size in points (default=9) -->
| info-fc  = <!-- info font color (default=black) -->
| info-lh  = <!-- info line height (default=1.25em) -->
| border-c = <!-- border color (default=id-c or #999) -->
| border-s = <!-- border width in pixels (default=1) -->
| float    = <!-- left|right|none (default=left) -->
}}