Template:Display person: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
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;">  
</ul></div>
{{#arraymap:{{{fullname}}}|,|z|[[File:{{#Show: z|?Has image= }}|thumb|x{{{size}}}px|link=z|z<br />{{#show: z|?Has position }} at {{#show: z|?Has company }}<br />{{#show: z|?From location }} {{#show: z|?From country }}]]|</li> <li style="display: inline-block;"> }}
 
</li></ul></div>





Latest revision as of 22:15, February 16, 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.