Difference between revisions of "Template:User Infobox"

From Moegirlpedia
Jump to: navigation, search
m (fix "title" parameter displaying as a table row)
m (TemplateData no longer in use// Edit via Wikiplus)
 
Line 55: Line 55:
 
{{Documentation|content=
 
{{Documentation|content=
 
See also: [[Template:User Info]]
 
See also: [[Template:User Info]]
<templatedata>
 
{
 
"params": {
 
"image": {
 
"description": "Image markup. Has higher priority than \"img\".",
 
"type": "content",
 
"example": "<img src=\"https://derpicdn.net/img/download/2020/7/12/2396752.png\" style=\"width:250px\"/>",
 
"autovalue": "https://",
 
"label": "External image"
 
},
 
"img": {
 
"description": "Filename of image (without the \"File:\" prefix). User avatar will be shown if both \"image\" and this are unspecified.",
 
"type": "string",
 
"example": "Moegirlwiki Twitter Profile Image.png",
 
"label": "Internal image"
 
},
 
"width": {
 
"description": "CSS width of info box.",
 
"type": "string",
 
"default": "250px",
 
"example": "267px",
 
"label": "Box width"
 
},
 
"user": {
 
"description": "User name. Used fow showing avatar and statistics. Defaults to {{BASEPAGENAME}}.",
 
"type": "string",
 
"example": "DGCK81LNN",
 
"label": "User"
 
},
 
"ribbon-fc": {
 
"type": "string",
 
"default": "#000",
 
"example": "#042",
 
"label": "Title color"
 
},
 
"ribbon-c": {
 
"example": "#6FC",
 
"default": "#6CF",
 
"label": "Title bar fill color"
 
},
 
"lwidth": {
 
"description": "CSS width of left column.",
 
"type": "string",
 
"default": "90px",
 
"example": "100px",
 
"label": "Left column width"
 
},
 
"Name": {
 
"description": "Defaults to the value of \"user\".",
 
"type": "content",
 
"example": "Roy"
 
},
 
"Aliases": {
 
"type": "content",
 
"example": "Royi, LNN, Innocent Souls"
 
},
 
"Sex": {
 
"type": "content",
 
"example": "Male"
 
},
 
"Gender": {
 
"type": "content"
 
},
 
"hide": {
 
"description": "Set to anything to hide statistics.",
 
"type": "boolean",
 
"example": "yes",
 
"label": "Hide statistics?"
 
},
 
"title": {
 
"description": "Infobox title.",
 
"default": "About Me",
 
"example": "About DGCK81LNN",
 
"label": "Title"
 
}
 
},
 
"paramOrder": [
 
"image",
 
"img",
 
"width",
 
"user",
 
"ribbon-fc",
 
"ribbon-c",
 
"title",
 
"lwidth",
 
"Name",
 
"Aliases",
 
"Sex",
 
"Gender",
 
"hide"
 
],
 
"description": "Displays info box for user page.\nCapitalized parameters are displayed directly as info rows, and optional rows will not appear when omitted; you can also add more rows by providing unspecified named parameters.",
 
"format": "block"
 
}
 
</templatedata>
 
 
}}
 
}}
 
[[zh:Template:User_Infobox]]
 
[[zh:Template:User_Infobox]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:56, 28 February 2022

About me
Name User Infobox
Edited pages Invalid username
Contributions Invalid username
Score Invalid username
Template-info.svg Template Documentation  [Edit]

See also: Template:User Info