Template:User info/doc: Difference between revisions

m
20 revisions imported: testing
(→‎Copies: pointer to Wikidata listing)
m (20 revisions imported: testing)
 
(8 intermediate revisions by 7 users not shown)
Line 1:
{{documentation subpage}}
== Usage - anyone ==
<pre>
{{user info
Line 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>
<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 = BobaFett.jpg
| hover text =
| job title =
| organization = Wikimedia Foundation
| short quote =
| about me =
| about my work =
"| contact": {me =
| disclaimer =
}}
</codepre>
* 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 ==
Line 79 ⟶ 98:
"type": "string",
"label": "Contact me"
},
"about": {
"label": "About me label",
"description": "Text to display instead of \"About me\" as a section header.",
"type": "string"
},
"work": {
"label": "About my work label",
"description": "Text to display instead of \"About my work\" as a section header.",
"type": "string"
},
"contact": {
"label": "Contact me label",
"description": "Text to display instead of \"Contact me\" as a section header.",
"type": "string"
},
"former": {
Line 102 ⟶ 106:
},
"uselang": {},
"image width": {},
"aboutbarheight": {
"label": "AboutBar me labelheight",
"description": "Height, in pixels, of the coloured bars",
"example": "4px",
"type": "string",
"default": "4px",
"autovalue": ""
},
}
}