Template:Display person: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
{{Display person
{{Display person
| fullname      = fullname
| fullname      = fullname
| size          = size of the image in px
}}
}}
</pre>
</pre>
Line 11: Line 12:
<includeonly>
<includeonly>
<div><ul>  
<div><ul>  
<li style="display: inline-block;"> {{#arraymap:{{{fullname}}}|,|x|[[File:{{#Show: x|?Has image= }}|thumb|none|300px|link=x|x<br />{{#show: x|?Has position }} at {{#show: x|?Has company }}<br />{{#show: x|?From location }} {{#show: x|?From country }}]]| }} </li>
<li style="display: inline-block;"> {{#arraymap:{{{fullname}}}|,|x|[[File:{{#Show: x|?Has image= }}|thumb|none|{{{size}}}px|link=x|x<br />{{#show: x|?Has position }} at {{#show: x|?Has company }}<br />{{#show: x|?From location }} {{#show: x|?From country }}]]| }} </li>
</ul></div>
</ul></div>



Revision as of 05:03, January 11, 2022

This is the "Person" template. It should be called in the following format:

{{Display person
| fullname      = fullname
| size          = size of the image in px
}}

Edit the page to see the template text.