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 - 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.
*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": {
"full
"description": "Your full name, like \"John Smith\" or \"Вася Пупкин\".",
"type": "string"
},
"job title": {
"label": "Position",
"description": "The position or job title you wish to show you have, if any",
"type": "string"
},
"organization": {
"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.",
"type": "string"
},
"short quote": {
"label": "Quote",
"description": "A short quote that you'd like to show that represents how you feel",
"type": "string"
},
"image name": {
"label": "Image",
"description": "The name of a file that you'd like to show about you, normally a photo of you like \"Example.jpg\"",
"type": "wiki-file-name"
},
"hover text": {
"description": "The label to show when people hover your image, or for screenreaders.",
"type": "string",
"label": "Image hover"
},
"about me": {
"description": "Some information about you and your background.",
"type": "string",
"label": "About me"
},
"about my work": {
"description": "Some details about what you do on the wikis and why.",
"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.",
"type": "string",
"label": "Disclaimer"
},
"contact me": {
"description": "Details of how you can be contacted beyond on-wiki methods.",
"type": "string",
"label": "Contact me"
},
"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",
},
"image width": {},
"barheight": {
"label": "Bar height",
"description": "Height, in pixels, of the coloured bars",
"example": "4px",
"type": "string",
"default": "4px",
"autovalue": ""
}
}
}
</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>
|