Template:User info: Difference between revisions
m typo (thanks, Schniggendiller!) |
use documentation subpage |
||
Line 22: | Line 22: | ||
{{{contact me}}} |
{{{contact me}}} |
||
|}<noinclude> |
|}<noinclude> |
||
{{ |
{{Clear}} |
||
{{Documentation}} |
|||
== Usage == |
|||
<pre> |
|||
{{user info |
|||
| full name = |
|||
| image name = |
|||
| hover text = |
|||
| job title = |
|||
| organization = |
|||
| short quote = |
|||
| about me = |
|||
| about my work = |
|||
| contact me = |
|||
| disclaimer = |
|||
}} |
|||
</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>. |
|||
*The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image. |
|||
== TemplateData == |
|||
<templatedata> |
|||
{ |
|||
"description": "", |
|||
"params": { |
|||
"full name": { |
|||
"label": "Full name", |
|||
"description": "Your full name, like \"John Smith\" or \"Samantha Jones\".", |
|||
"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\". 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": "string/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" |
|||
}, |
|||
"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" |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
== Copies == |
|||
The master version of this template is at [[wmf:Template:User info]]. The following wikis have copies of this template: |
|||
* [[w:en:Template:User info]] |
|||
* [[mw:Template:User info]] |
|||
* [[m:Template:User info]] |
|||
</noinclude> |
</noinclude> |
Revision as of 08:24, 23 June 2016
{{{short quote}}}
|
About me{{{about me}}} |
My work{{{about my work}}} |
Contact me{{{contact me}}} |
NOTE: Per the Wikimedia Foundation's internal guide to creating a global user page, user pages should be setup on Meta-Wiki. |
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Full name | full name | Your full name, like "John Smith" or "Samantha Jones". | String | optional |
Position | job title | The position or job title you wish to show you have, if any | String | optional |
Organisation | organization 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. | String | optional |
Quote | short quote | A short quote that you would like to show that represents how you feel | String | optional |
Image | image name | The name of a file that you would like to show about you, normally a photo of you like "Example.jpg" | File | optional |
Image hover | hover text | The label to show when people hover your image, or for screenreaders. | String | optional |
About me | about me | Some information about you and your background. | String | optional |
About my work | about my work | Some details about what you do on the wikis and why. | String | optional |
Disclaimer | disclaimer | A disclaimer about your work, if any. If your organisation is set to "Wikimedia Foundation", it will show the regular Foundation staff disclaimer. | String | optional |
Contact me | contact me | Details of how you can be contacted beyond on-wiki methods. | String | optional |
About me label | about | Text to display instead of "About me" as a section header. | String | optional |
About my work label | work | Text to display instead of "About my work" as a section header. | String | optional |
Contact me label | contact | Text to display instead of "Contact me" as a section header. | String | optional |
Copies
The master version of this template is at Template:User info. The following wikis have copies of this template: