Template:User info/doc: Difference between revisions

m
20 revisions imported: testing
(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 = |...")
 
m (20 revisions imported: testing)
 
(19 intermediate revisions by 13 users not shown)
Line 1:
{{documentation subpage}}
== Usage ==
== Usage - anyone ==
<pre>
{{user info
Line 15 ⟶ 16:
</pre>
*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: <code>| image name = BobaFett.jpg</code>
*Add your [[m:User language|languages]] in standard format, like: <code><nowiki>{{#babel:la-N|en-3}}</nowiki></code>. These are usually placed at the end of the "contact me" section.
<code>
| image name = BobaFett.jpg
</code>
*Add your [[m:User language|languages]] in standard format, like: <code><nowiki>{{#babel:la-N|en-3}}</nowiki></code>.
*The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.
 
== Usage - Wikimedia Foundation staff ==
<pre>
{{user info
| full name =
| image name =
| hover text =
| job title =
| organization = Wikimedia Foundation
| short quote =
| about me =
| about my work =
| contact me =
| disclaimer =
}}
</pre>
* See the Wikimedia Foundation's internal [https://office.wikimedia.org/wiki/Getting_started_with_User_info_and_Talk_pages guide to creating a global user page] for more details.
*To include an image, put the name of the file where it says "image name", excluding the word "file" from the front. Example: <code>| image name = BobaFett.jpg</code>
*Add your [[m:User language|languages]] in standard format, like: <code><nowiki>{{#babel:la-N|en-3}}</nowiki></code>. These are usually placed at the end of the "contact me" section.
*The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.
 
Offboarding note: During off-boarding, the parameter <code>| former = true</code> should be added to the userpage. This will add the {{Template|Former staff}} template, and remove the page from the category [[:Category:Wikimedia Foundation staff]].
 
== TemplateData ==
<templatedata>
{
"params": {
"description": "",
"full "paramsname": {
"label": "fullFull name": {,
"description": "Your full name, like \"John Smith\" or \"Вася Пупкин\".",
"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\" without any link. 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"
"former": {
},
"label": "Former staff identifier",
"about": {
"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.",
"label": "About me label",
"example": "true",
"description": "Text to display instead of \"About me\" as a section header.",
"type": "string"
},
},
"workuselang": {},
"image width": {},
"label": "About my work label",
"barheight": {
"description": "Text to display instead of \"About my work\" as a section header.",
"label": "Bar height",
"type": "string"
"description": "Height, in pixels, of the coloured bars",
},
"example": "4px",
"contact": {
"type": "string",
"label": "Contact me label",
"default": "4px",
"description": "Text to display instead of \"Contact me\" as a section header.",
"autovalue": ""
"type": "string"
}
}
}
}
}
</templatedata>
Line 105 ⟶ 125:
* [[mw:Template:User info]]
* [[m:Template:User info]]
* [[d:Q7608023]] (50+ more)
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:User namespace templates{{#translation:}}]]
}}</includeonly>