Template:Display person: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 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;"> [[File:{{#ask: [[{{{fullname}}}]]|?image=| |mainlabel=- }}|thumb|none|300px|{{{fullname}}}, {{#show: {{{fullname}}}|?position }}<br />{{#show: {{{fullname}}}|?company }}<br />{{#show: {{{fullname}}}|?location }}]] </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>
 
 
<!--
[[File:{{#Show: {{{fullname}}}|?Has image= }}|thumb|none|300px|link={{{fullname}}}|{{{fullname}}}<br />{{#show: {{{fullname}}}|?Has position }} at {{#show: {{{fullname}}}|?Has company }}<br />{{#show: {{{fullname}}}|?From location }} {{#show: {{{fullname}}}|?From country }}]]
-->

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.