Template:Person: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
| location      = City, State
| location      = City, State
| country      = Country
| country      = Country
| skills        = Skills
| active        = Active
| sector        = Sectors of interest
| sector        = Sectors of interest
| linkedin      = Linkedin Page
| linkedin      = Linkedin Page
| experience    = Experiance
}}
}}
</pre>
</pre>
Line 22: Line 25:
{{#default_form:Person}}
{{#default_form:Person}}
{| class="wikitable" style="margin-left: 40px;"
{| class="wikitable" style="margin-left: 40px;"
|rowspan="7"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]]
|rowspan="7"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]] {{#set: Portrait=File:{{{portrait}}}}}
<!--| '''User Name'''
<!--| '''User Name'''
| '''[[Has user name::{{PAGENAME}}]]'''
| '''[[Has user name::{{PAGENAME}}]]'''
Line 40: Line 43:
|-
|-
| Country
| Country
| [[From country::{{{country|}}}]]
| [[From country::{{{country|}}}]]  
{{#if: {{{skills|}}} | {{#arraymap:{{{skills|}}}|,|x|{{#set: Has skill=x| }} | }}
{{#if: {{{active|}}} | {{#arraymap:{{{active|}}}|,|x|{{#set: Is active=x| }} | }}
|-
|-
| Sectors
| Sectors

Revision as of 22:59, January 19, 2024

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
| skills        = Skills
| active        = Active
| sector        = Sectors of interest
| linkedin      = Linkedin Page
| experience    = Experiance
}}

Edit the page to see the template text.