Template:Person: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
{{person
{{person
| portrait      = image
| portrait      = image
| firstname    = First name
| fullname      = First Last
| middlename    = Middle name
| lastname      = Last name
| company      = Company Name
| company      = Company Name
| position      = Position in Company
| position      = Position in Company
| location      = City, State
| location      = City, State
| country      = Country
| country      = Country
| sector        = Sector
| linkedin      = Linkedin Page
| linkedin      = Linkedin Page
| membership    = Membership Level
}}
}}
</pre>
</pre>
Line 20: Line 18:
<includeonly>
<includeonly>
{| class="wikitable"
{| class="wikitable"
|rowspan="8"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]]
|rowspan="8"|[[File:{{{portrait}}}|200px|{{{fullname}}}]]
| '''User Name'''
| '''User Name'''
| '''[[Has user name::{{PAGENAME}}]]'''
<!--| '''[[Has user name::{{PAGENAME}}]]'''-->
| '''[Special:FormEdit/Member/User:{{PAGENAME}} {{PAGENAME}}]''' {{#set: Has user name={{PAGENAME}}}}
|-
|-
| <font size="5" > Name </font>
| <font size="5" > Name </font>
| <font size="5" > [{{{linkedin}}} {{{firstname}}} {{{lastname}}}]</font> {{#set: Has image={{{portrait|}}}}} {{#set: Has full name={{{firstname}}} {{{lastname}}}}} {{#set: Has linkedin={{{linkedin}}}}} {{#set: Has first name={{{firstname}}}}} {{#set: Has middle names={{{middlename}}}}} {{#set: Has last name={{{lastname}}}}}
| <font size="5" > [{{{linkedin}}} {{{fullname}}}]</font> {{#set: Has image=File:{{{portrait|}}}}} {{#set: Has full name={{{fullname}}} }} {{#set: Has linkedin={{{linkedin}}} }}
|-
|-
| Company
| Company
Line 38: Line 37:
| Country
| Country
| {{{country|}}}
| {{{country|}}}
|-
| style="width:150px" | Sector
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]|<br>}}
|-
|-
| Membership Level
| Membership Level

Revision as of 06:17, November 16, 2021

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

{{person
| portrait      = image
| fullname      = First Last
| company       = Company Name
| position      = Position in Company
| location      = City, State
| country       = Country
| linkedin      = Linkedin Page
| membership    = Membership Level
}}

Edit the page to see the template text.