Template:Person: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 12: Line 12:
| location      = City, State
| location      = City, State
| country      = Country
| country      = Country
| skills        = Skills
| skill        = Skill(s)
| active        = Active
| active        = Active
| sector        = Sectors of interest
| sector        = Sectors of interest
| linkedin      = Linkedin Page
| linkedin      = Linkedin Page
| experience    = Experiance
| bio          = Biography
}}
}}
</pre>
</pre>
Line 24: Line 24:
__NOEDITSECTION__
__NOEDITSECTION__
{{#default_form:Person}}
{{#default_form:Person}}
{| class="wikitable" style="float:left; margin-left: 40px;"
 
{|style="float:right; margin-left: 10px;"
|-{{#ifeq: {{{active|}}} | No | style="display: none;" | {{#if: {{{resume|}}} |  | style="display: none;"}} }}
|'''Resume'''
|-{{#ifeq: {{{active|}}} | No | style="display: none;" | {{#if: {{{resume|}}} |  | style="display: none;"}} }}
|[[File:{{{resume|}}}|190px]]
|}
 
{| class="wikitable" style="margin-left: 40px;"
|rowspan="7"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]] {{#set: Portrait=File:{{{portrait}}}}}
|rowspan="7"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]] {{#set: Portrait=File:{{{portrait}}}}}
<!--| '''User Name'''
<!--| '''User Name'''
Line 48: Line 56:
| Sectors
| Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]|<br>}}
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]|<br>}}
|-{{#ifexpr: {{{active|}}} | | style="display: none;" }}
|-{{#ifeq: {{{active|}}} | Yes | | style="display: none;" }}
|colspan="3" style="background-color:#dddddd;" |'''Consulting:''' {{{skill}}}
|colspan="3" style="background-color:#dddddd;" |'''Consulting:''' {{{skill}}}
|}
|}
 
{{#if: {{{bio|}}} |'''Biography:''' </br> [[Has bio::{{{bio|}}}]]| }}
{{#ifexpr: {{{active|}}}==true |Yesxxx|Noxxx }}
 
{|style="margin-left: auto; margin-right: 0px;"
|-{{#if: {{{active|}}} | | style="display: none;" }}
|'''Resume'''
|-{{#if: {{{active|}}} | | style="display: none;" }}
|[[File:{{{resume|}}}|220px]]
|}
 
[[Category:Person]]
[[Category:Person]]



Latest revision as of 04:38, January 22, 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
| skill         = Skill(s)
| active        = Active
| sector        = Sectors of interest
| linkedin      = Linkedin Page
| bio           = Biography
}}

Edit the page to see the template text.