Template:User info/doc: Difference between revisions

From TestWiki
Content added Content deleted
(Created page with "== Usage == <pre> {{user info | full name = | image name = | hover text = | job title = | organization = | short quote = | about me = | about my work = | contact me = |...")
 
No edit summary
Line 25: Line 25:
<templatedata>
<templatedata>
{
{
"params": {
"description": "",
"params": {
"full name": {
"full name": {
"label": "Full name",
"description": "Your full name, like \"John Smith\" or \"Samantha Jones\".",
"label": "Full name",
"type": "string"
"description": "Your full name, like \"John Smith\" or \"Samantha Jones\".",
},
"type": "string"
"job title": {
},
"label": "Position",
"job title": {
"description": "The position or job title you wish to show you have, if any",
"label": "Position",
"type": "string"
"description": "The position or job title you wish to show you have, if any",
},
"type": "string"
"organization": {
},
"aliases": [
"organization": {
"company"
"aliases": [
],
"company"
"label": "Organisation",
],
"description": "The organisation to which your \"position\" refers, if any. If you work for the Wikimedia Foundation, this should be exactly \"Wikimedia Foundation\". This will be shown after your position.",
"label": "Organisation",
"type": "string"
"description": "The organisation to which your \"position\" refers, if any. If you work for the Wikimedia Foundation, this should be exactly \"Wikimedia Foundation\". This will be shown after your position.",
},
"type": "string"
"short quote": {
},
"label": "Quote",
"short quote": {
"description": "A short quote that you'd like to show that represents how you feel",
"label": "Quote",
"type": "string"
"description": "A short quote that you'd like to show that represents how you feel",
},
"type": "string"
"image name": {
},
"label": "Image",
"image name": {
"description": "The name of a file that you'd like to show about you, normally a photo of you like \"Example.jpg\"",
"label": "Image",
"type": "wiki-file-name"
"description": "The name of a file that you'd like to show about you, normally a photo of you like \"Example.jpg\"",
},
"type": "string/wiki-file-name"
"hover text": {
},
"description": "The label to show when people hover your image, or for screenreaders.",
"hover text": {
"type": "string",
"description": "The label to show when people hover your image, or for screenreaders.",
"label": "Image hover"
"type": "string",
},
"label": "Image hover"
"about me": {
},
"description": "Some information about you and your background.",
"about me": {
"type": "string",
"description": "Some information about you and your background.",
"label": "About me"
"type": "string",
},
"label": "About me"
"about my work": {
},
"description": "Some details about what you do on the wikis and why.",
"about my work": {
"type": "string",
"description": "Some details about what you do on the wikis and why.",
"label": "About my work"
"type": "string",
},
"label": "About my work"
"disclaimer": {
},
"description": "A disclaimer about your work, if any. If your organisation is set to \"Wikimedia Foundation\", it will show the regular Foundation staff disclaimer.",
"disclaimer": {
"type": "string",
"description": "A disclaimer about your work, if any. If your organisation is set to \"Wikimedia Foundation\", it will show the regular Foundation staff disclaimer.",
"label": "Disclaimer"
"type": "string",
},
"label": "Disclaimer"
"contact me": {
},
"description": "Details of how you can be contacted beyond on-wiki methods.",
"contact me": {
"type": "string",
"description": "Details of how you can be contacted beyond on-wiki methods.",
"label": "Contact me"
"type": "string",
},
"label": "Contact me"
"about": {
},
"label": "About me label",
"about": {
"description": "Text to display instead of \"About me\" as a section header.",
"label": "About me label",
"type": "string"
"description": "Text to display instead of \"About me\" as a section header.",
},
"type": "string"
"work": {
},
"label": "About my work label",
"work": {
"description": "Text to display instead of \"About my work\" as a section header.",
"label": "About my work label",
"type": "string"
"description": "Text to display instead of \"About my work\" as a section header.",
},
"type": "string"
"contact": {
},
"label": "Contact me label",
"contact": {
"description": "Text to display instead of \"Contact me\" as a section header.",
"label": "Contact me label",
"type": "string"
"description": "Text to display instead of \"Contact me\" as a section header.",
},
"type": "string"
"former": {
}
"label": "Former staff identifier",
}
"description": "If the account belongs to a former Wikimedia Foundation staff member, this should be set to 'true' (or to any string) to tag the account as belonging to a former staff member.",
"example": "true",
"type": "string"
},
"uselang": {},
"image width": {}
}
}
}
</templatedata>
</templatedata>

Revision as of 23:51, 30 August 2016

Usage

{{user info
| full name = 
| image name =
| hover text = 
| job title = 
| organization = 
| short quote =
| about me = 
| about my work = 
| contact me = 
| disclaimer =
}}
  • The "organization" parameter can also be called as "company".
  • To include an image, put the name of the file where it says "image name", excluding the word "file" from the front. Example:

| image name = BobaFett.jpg

  • Add your languages in standard format, like: {{#babel:la-N|en-3}}.
  • The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.

TemplateData

No description.

Template parameters

ParameterDescriptionTypeStatus
Full namefull name

Your full name, like "John Smith" or "Samantha Jones".

Stringoptional
Positionjob title

The position or job title you wish to show you have, if any

Stringoptional
Organisationorganization company

The organisation to which your "position" refers, if any. If you work for the Wikimedia Foundation, this should be exactly "Wikimedia Foundation". This will be shown after your position.

Stringoptional
Quoteshort quote

A short quote that you'd like to show that represents how you feel

Stringoptional
Imageimage name

The name of a file that you'd like to show about you, normally a photo of you like "Example.jpg"

Fileoptional
Image hoverhover text

The label to show when people hover your image, or for screenreaders.

Stringoptional
About meabout me

Some information about you and your background.

Stringoptional
About my workabout my work

Some details about what you do on the wikis and why.

Stringoptional
Disclaimerdisclaimer

A disclaimer about your work, if any. If your organisation is set to "Wikimedia Foundation", it will show the regular Foundation staff disclaimer.

Stringoptional
Contact mecontact me

Details of how you can be contacted beyond on-wiki methods.

Stringoptional
About me labelabout

Text to display instead of "About me" as a section header.

Stringoptional
About my work labelwork

Text to display instead of "About my work" as a section header.

Stringoptional
Contact me labelcontact

Text to display instead of "Contact me" as a section header.

Stringoptional
Former staff identifierformer

If the account belongs to a former Wikimedia Foundation staff member, this should be set to 'true' (or to any string) to tag the account as belonging to a former staff member.

Example
true
Stringoptional
uselanguselang

no description

Unknownoptional
image widthimage width

no description

Unknownoptional

Copies

The master version of this template is at wmf:Template:User info. The following wikis have copies of this template: