Actions

Template

Person: Difference between revisions

From dotnet

(Created page with "<noinclude> This is the "Person" template. It should be called in the following format: <pre> {{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 }} </pre> Edit the page to see the template text. </noinclude> <i...")
 
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{person
{{Person
| portrait      = image
| portrait      = image
| firstname    = First Name
| firstname    = First Name
Line 12: Line 12:
| location      = City, State
| location      = City, State
| country      = Country
| country      = Country
| sector       = Sectors of interest
| skills       = Skills
| active        = Active
| linkedin      = Linkedin Page
| linkedin      = Linkedin Page
| experience    = Experiance
}}
}}
</pre>
</pre>
Line 19: Line 21:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
This {{#formlink:form=Person|link text=link|linktype=button|wpRunQuery=true|target={{PAGENAME}} }} will let you edit your profile.
__NOEDITSECTION__
__NOEDITSECTION__
{{#default_form:Person}}
{{#default_form:Person}}
{| class="wikitable" style="margin-left: 40px;"
{| class="wikitable"  
|rowspan="7"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]]
|rowspan="9"|[[File:{{{portrait}}}|400px|{{{firstname}}} {{{lastname}}}]] {{#set: Portrait=File:{{{portrait}}}}}  
<!--| '''User Name'''
| '''[[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" > [{{{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}}} {{{firstname}}} {{{lastname}}}]</font> {{#set: Image={{{portrait|}}}}} {{#set: First name={{{firstname}}}}} {{#if: {{{middlename|}}} |{{#set: Middle names={{{middlename}}}}}|}} {{#set: Last name={{{lastname}}}}} {{#set: Caption=<center>'''[[{{{firstname}}} {{{lastname}}}]]'''</br>{{{skills}}}</center>}}
|-
|-
| Company
| Company
| [[Has company::{{{company|}}}]]
| [[Company::{{{company|}}}]]
|-
|-
| Company Position
| Company Position
| [[Has position::{{{position|}}}]]
| [[Position::{{{position|}}}]]
|-
|-
| City, State
| City, State
| [[From location::{{{location|}}}]]
| [[City::{{{location|}}}]]
|-
|-
| Country
| Country
| [[From country::{{{country|}}}]]
| [[Country::{{{country|}}}]]
|-
| Skills
| {{#arraymap:{{{skills|}}}|,|x|[[Skill::x]]|<br>}}
|-
| Still Active
| {{#arraymap:{{{active|}}}|,|x|[[Active::x]]|<br>}}
|-
| Page
| [[Linkedin::{{{linkedin|}}}]]
|-
| colspan="3"|'''Experience'''
|-
| colspan="3"|[[Experience::{{{experience|}}}]]
|-
|-
| Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]|<br>}}
|}
|}
[[Category:Person]]
[[Category:Person]]</includeonly>
 
{{#ifexpr: {{#ask: [[Category:Activity]]  [[Has contact::{{PAGENAME}}]] |format=count}}>0 | <hr>'''Activities''' | }}
{{#ask:
[[Category:Activity]]
[[Has contact::{{PAGENAME}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}
{{#ifexpr: {{#ask: [[Category:Chapter]]  [[Has contact::{{PAGENAME}}]] |format=count}}>0 | <hr>'''Blueprint Chapters''' | }}
{{#ask:
[[Category:Chapter]]
[[Has author::{{PAGENAME}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}
{{#ifexpr: {{#ask: [[Category:Webinar]]  [[Has contact::{{PAGENAME}}]] |format=count}}>0 | <hr>'''Webinars''' | }}
{{#ask:
[[Category:Webinar]]
[[Has contact::{{PAGENAME}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}
{{#ifexpr: {{#ask: [[Category:News]]  [[Has contact::{{PAGENAME}}]] | |format=count}} > 0 | <hr>'''Press''' | }}
{{#ask:
[[Category:News]]
[[Has contact::{{PAGENAME}}]]
|?=#
|?Has image#=2
|?Has summary#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}
</includeonly>

Latest revision as of 04:19, September 21, 2023

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
| linkedin      = Linkedin Page
| experience    = Experiance
}}

Edit the page to see the template text.