Template:Member: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
<pre>
<pre>
{{person
{{person
| portrait      = image
| fullname     = First Name
| firstname     = First name
| middlename    = Middle name(s)
| lastname      = Last name
| company      = Company Name
| position      = Position in Company
| location      = City, State
| country      = Country
| linkedin      = Linkedin Page
| membership    = Membership Level
| membership    = Membership Level
}}
}}
Line 20: Line 12:
<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}}]]''' {{#set: 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=File:{{{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" > [{{#ask: [[Category:Person]] [[Has full name::{{{fullname}}}]] |?Has linkedin= |mainlabel=-}} {{{fullname}}}]</font>
|-
|-
| Company
| Company
| [[Has company::{{{company|}}}]]
| {{#ask:  [[Category:Person]] [[Has full name::{{{fullname}}}]] |?Has company= |mainlabel=-}}
|-
|-
| Company Position
| Company Position
| [[Has position::{{{position|}}}]]
| {{#ask:  [[Category:Person]] [[Has full name::{{{fullname}}}]] |?Has position= |mainlabel=-}}
|-
|-
| City, State
| City, State
| [[From location::{{{location|}}}]]
| {{#ask:  [[Category:Person]] [[Has full name::{{{fullname}}}]] |?Has location= |mainlabel=-}}
|-
|-
| Country
| Country
| [[From country::{{{country|}}}]]
| {{#ask:  [[Category:Person]] [[Has full name::{{{fullname}}}]] |?Has country= |mainlabel=-}}
|-
|-
| Sectors
| Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]|<br>}}
| {{#ask:  [[Category:Person]] [[Has full name::{{{fullname}}}]] |?Has sector= |mainlabel=-}}
|-
|-
| Membership Level
| Membership Level

Revision as of 08:17, December 6, 2021

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

{{person
| fullname     = First Name
| membership    = Membership Level
}}

Edit the page to see the template text.