Archive:Template:Staff member: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
Jamesofur (talk | contribs)
examples
 
(67 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude><ul class="gallery" style="margin: 0; clear: both; padding: 0;"></noinclude><li class="gallerybox" id="{{anchorencode: {{#if: {{{anchor|}}} | {{{anchor}}} | {{{name|Example name}}} }} }}" style="font-size:11px; line-height:14px; margin:0 10px 10px 0; display: inline-block; vertical-align: top;">
<includeonly>
<div style="width: 145px; width:100%;">
<div style="text-align:center; width:205px; margin:auto; width:100%;"><div style="font-size:125%;">'''{{#ifexist:User:{{{username}}}|[[User:{{{username|Example}}}|{{{name|Example Name}}}]]|{{{name|Example Name}}}}}'''</div>
<div>{{#ifexist:{{{position|Position}}}|[[{{{position|Position}}}]]|{{{position|Position}}}}} {{{date|}}}</div></div>
<div style="margin-bottom: 8px;">{{#if:{{{image|}}}|[[File:{{{image}}}|140x94px|{{{name|Example name}}}]]|{{camera shy|link={{{link|}}}}} }}</div>
{{#if:{{{image}}}|[[Image:{{{image|}}}|thumb|center|200px|{{{name|Example Name}}}]]}}
<div style="width: 145px; font-weight:bold;">{{#if:{{{link|}}}|[[{{{link}}}|{{{name|Example name}}}]]|{{#ifexist:User:{{{username}}}|[[User:{{{username|Example}}}|{{{name|Example name}}}]]|{{{name|Example name}}}}}}}</div>
<div style="width: 145px;">{{{position|Position}}}</div>
</includeonly>
{{#if:{{{team|}}}|<div style="width:145px;">{{#ifexist:{{{team}}}|[[{{{team}}}]]|{{{team}}}}}</div>}}

</div></li><noinclude>
==Documentation==
[[Category:Historical content]]
<noinclude>
{{clear}}
'''Full example (with date)'''
{{staff member
| name = Example name
| username = Example
| position = Position
| date = Month Year
| image = foo.jpg
}}

<pre>
{{staff member
| name = Example name
| username = Example
| position = Position
| date = Month Year
| image = foo.jpg
}}
</pre>

'''No image or username example'''
{{staff member
| name = Example name
| username =
| position = Position
| image =
}}

<pre>
{{staff member
| name = Example name
| username =
| position = Position
| image =
}}
</pre>
'''Note:Username, date and image are optional and can be left blank in template as above if desired. Date is generally not currently used and does not have to be in the template if you don't want it to be.'''

</noinclude>
</noinclude>

Latest revision as of 09:34, 29 March 2024