Template:Member: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Member" template. It should be called in the following format: <pre> {{person | portrait = image | firstname = First name | middlename = M...")
 
No edit summary
 
(60 intermediate revisions by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{person
{{person
| portrait      = image
| fullname     = Full Name
| firstname     = First name
| membership   = Membership Level
| 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
}}
}}
</pre>
</pre>
Line 19: Line 11:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
__NOTOC__
To edit your profile click '''[[{{{fullname}}}|here]]''' and then select 'Edit with form' from the tabs at the top of the page.
{| class="wikitable"
{| class="wikitable"
|rowspan="8"|[[File:{{{portrait}}}|200px|{{{firstname}}} {{{lastname}}}]]
|rowspan="8"|[[File:{{#ask:  [[{{{fullname}}}]] |?Has image= |mainlabel=-}}|200px|link=[[{{{fullname}}}]] ]]
<!--|rowspan="8"|[[File:{{#ask:  [[{{{fullname}}}]] |?Has image= |mainlabel=-}}|200px|link={{#ask: [[{{{fullname}}}]] |?Has linkedin= |mainlabel=-}}]]-->
<!--|rowspan="8"|[[File:{{#ask:  [[Category:Person]] [[Has full name::{{{fullname}}}]] |?Has image= |mainlabel=-}}|200px|link={{#ask: [[{{{fullname}}}]] |?Has linkedin= |mainlabel=-}}]]-->
<!--|link={{#ask:  [[Category:Person]] [[Has full name::{{{fullname}}} |?Has linkedin#nowiki= |mainlabel=-}}]]-->
<!--|link={{#ask:  [[Category:Person]] [[{{{fullname}}}|{{{fullname}}}]]-->
| '''User Name'''
| '''User Name'''
<!--| '''[[Has user name::{{PAGENAME}}]]'''-->
| '''{{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::Wilfred Pinfold]] |?Has linkedin#nowiki= |mainlabel=-}}</font> -->
| <font size="5" > [{{#ask: [[{{{fullname}}}]] |?Has linkedin= |mainlabel=-}} {{{fullname}}}]</font>
|-
|-
| Company
| Company
| [[Has company::{{{company|}}}]]
| {{#ask:  [[{{{fullname}}}]] |?Has company= |mainlabel=-}}
|-
|-
| Company Position
| Company Position
| [[Has position::{{{position|}}}]]
| {{#ask:  [[{{{fullname}}}]] |?Has position= |mainlabel=-}}
|-
|-
| City, State
| City, State
| [[From location::{{{location|}}}]]
| {{#ask:  [[{{{fullname}}}]] |?From location= |mainlabel=-}}
|-
|-
| Country
| Country
| {{{country|}}}
| {{#ask:  [[{{{fullname}}}]] |?From country= |mainlabel=-}}
|-
| Sectors
| {{#ask:  [[{{{fullname}}}]] |?Has sector= |mainlabel=-}}
|-
|-
| Membership Level
| Membership Level
| [[Is member::{{{membership|}}}]]
| [[Is member::{{{membership|}}}]]
|}
|}
[[Category:Person]]
{{#set: Has full name={{{fullname}}} }}{{#if: {{{street}}} |{{#set: Has inv street={{{street}}} }}{{#set: Has inv city={{{city}}} }}{{#set: Has inv state={{{state}}} }}{{#set: Has inv zip={{{zip}}} }}{{#set: Has inv country={{{country}}} }}{{#set: Has inv company={{{company}}} }}| }}
[[Category:Member]]
 
;Activities
<includeonly>
{{#ask:
[[Category:Activity]]
[[Has contact::{{{fullname}}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}
<hr>
{{#ask:
[[Category:Webinar]]
[[Has contact::{{{fullname}}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}
<hr>
{{#ask:
[[Category:Chapter]]
[[Has author::{{{fullname}}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}
</includeonly>
</includeonly>

Latest revision as of 01:51, March 18, 2024

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

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

Edit the page to see the template text.