Template:Person: Difference between revisions

From HiHAT
Jump to navigation Jump to search
en>Pinfold
No edit summary
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{person
{{person
| portrait      = image
| portrait      = image
| fullname     = First Last
| firstname    = First Name
| middlename    = Middle Names
| 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        = Sectors of interest
| linkedin      = Linkedin Page
| linkedin      = Linkedin Page
}}
}}
Line 16: Line 19:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable"
{| class="wikitable" style="margin-left: 40px;"
|rowspan="7"|[[File:{{{portrait}}}|200px|{{{fullname}}}]]
|rowspan="8"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]]
| [[Property:Has user name | '''User Name''']]
<!--| '''User Name'''
| '''[[Has user name::{{PAGENAME}}]]'''
| '''[[Has user name::{{PAGENAME}}]]'''
| '''[https://opencommons.org/Special:FormEdit/Member/User:{{PAGENAME}} {{PAGENAME}}]''' {{#set: Has user name={{PAGENAME}}}}-->
|-
|-
| <font size="5" > Name </font>
| <font size="5" > Name </font>
| <font size="5" > [[Has full name::{{{fullname|}}}]]</font> {{#set: Has image=File:{{{portrait|}}}}}
| <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}}}}}
|-
|-
| Company
| Company
Line 34: Line 38:
|-
|-
| Country
| Country
| {{{country|}}}
| [[From country::{{{country|}}}]]
|-
|-
| Personal Site (Linkedin)
| Sectors
| [[Has linkedin::{{{linkedin|}}}]]
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]|<br>}} {{#arraymap:{{{tag|}}}|,|x|{{#set: Has tag=x}}|}}
|}
|}
[[Category:Person]]
[[Category:Person]]
</includeonly>
</includeonly>

Latest revision as of 00:25, 6 May 2022

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

{{person
| portrait      = image
| firstname     = First Name
| middlename    = Middle Names
| lastname      = Last Name
| company       = Company Name
| position      = Position in Company
| location      = City, State
| country       = Country
| sector        = Sectors of interest
| linkedin      = Linkedin Page
}}

Edit the page to see the template text.