Jump to content

Template:People: Difference between revisions

From ICANNWiki
Added ICANN staff badge info.
Boilerplate: porting CSS to Common.css
 
(47 intermediate revisions by 4 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{People
{{People
|portrait  = JohnDoePortrait.jpg
|portrait  = Portrait if it exists
|caricature = JohnDoeCaricature.jpg
|caricature = Legacy caricature
|organization =
|affiliation = Company Name or Organization/Group Name
|affiliation = Company Name or Organization/Group Name
|born      =
|country    = USA
|country    = USA
|email      = john [at] JDDomains.net
|email      = john [at] JDDomains.net
|website    = [http://www.JDDomains.net JDDomains.net]
|websitename= JDDomains.net
|blog      = [http://JohnDoe.BlogProvider.com]
|website    = https://www.JDDomains.net  
|blog      = https://JohnDoe.BlogProvider.com
|twitter    = johndoe
|twitter    = johndoe
|facebook  = [http://www.facebook.com/johndoe johndoe]
|github    = johndoe
|google    = [https://plus.google.com/johndoe johndoe]
|facebook  = https://www.facebook.com/johndoe  
|linkedin  = [http://www.linkedin.com/pub/john-doe/1/a30/343 john-doe]
|linkedin  = https://www.linkedin.com/pub/john-doe/1/a30/343  
|userbox      =  
|userbox      =  
}}
}}
</pre>
</pre>


If you don't have a picture yet, you may use these files names as placeholders:
If you are ICANN staff, feel free to use our handy badge within your profile, to the right of 'userbox=' to indicate your affiliation:  
 
<pre>
<pre>
|portrait  = PortraitComing.jpg
|userbox = {{UBX-ICANNSTAFF-C}}
|caricature = CaricatureComing.jpg
</pre>
</pre>
If you are ICANN staff, feel free to use our handy badge within your profile, to the right of 'userbox=' to indicate your affiliation:
|userbox = {{UBX-ICANNSTAFF-C}}
</noinclude>
</noinclude>
{| cellpadding="2" style="float: right; border: 1px solid darkgray; padding-bottom 15px; padding: 5px;  margin-left: 10px;"
{| cellpadding="2" class="template-people"
|-
|-
{{#if:{{{portrait|}}}
{{#if:{{{portrait|}}}
|{{!}} [[Image:{{{portrait}}}|100px|center]]
|{{!}} {{#ifexist:Image:{{{portrait}}}|[[Image:{{{portrait}}}|100px|center]]}}}}
{{!}} [[Image:{{{caricature}}}|100px|center]]<includeonly>[[Category:People]]</includeonly>}}
{{#if:{{{caricature|}}}
|{{!}} {{#ifexist:Image:{{{caricature}}}|[[Image:{{{caricature}}}|100px|center]]}}}}
|-
{{#if:{{{organization|}}}
|{{!}}Organization:
{{!}}[[{{{organization}}}]]}}
|-
{{#if:{{{canonicalorganization|}}} }}
|-
{{#if:{{{canonicalaffiliation|}}}|}}
|-
|-
{{#if:{{{affiliation|}}}
{{#if:{{{affiliation|}}}
|{{!}}Affiliation:
|{{!}}valign=“top” {{!}}Affiliation:
{{!}}{{{affiliation}}}}}
{{!}}{{{affiliation|}}} }}
|-
{{#if:{{{stakeholdergroup|}}}
|{{!}}valign="top" {{!}}Stakeholder Group(s):
{{!}}{{#arraymap:{{{stakeholdergroup|}}}|,|xyz|[[:Category:xyz|xyz]]<includeonly>[[Category:xyz]]</includeonly>|<br />}}}}
|-
|-
|-
{{#if:{{{born|}}}
{{#if:{{{region|}}}
|{{!}}Born:
|{{!}}Region:
{{!}}{{{born}}}}}
{{!}}[[:Category:{{{region}}}|{{{region}}}]]<includeonly>[[Category:{{{region}}}]]</includeonly>}}
|-
|-
{{#if:{{{country|}}}
{{#if:{{{country|}}}
|{{!}}Country:
|{{!}}Country:
{{!}}{{{country}}}<includeonly>[[Category:{{{country}}}]]</includeonly>}}
{{!}}[[:Category:{{{country}}}|{{{country}}}]]<includeonly>[[Category:{{{country}}}]]</includeonly>}}
|-
|-
{{#if:{{{email|}}}
{{#if:{{{email|}}}
Line 56: Line 64:
{{#if:{{{website|}}}
{{#if:{{{website|}}}
|{{!}}valign="top" {{!}}Website:
|{{!}}valign="top" {{!}}Website:
{{!}}<span class="plainlinks">{{{website}}}</span>}}
{{!}}<span class="plainlinks">
[[Image:LinkIcon.png|link={{{website}}}]]&nbsp;&nbsp;&nbsp;[{{{website}}} {{#if:{{{websitename|}}}|{{{websitename}}}|{{{website}}}}}]</span>}}
|-
{{#if:{{{soi|}}}
|{{!}}valign="top" {{!}}SOI:
{{!}}<span class="plainlinks">[{{{soi}}} SOI]</span>}}
|-
|-
{{#if:{{{blog|}}}
{{#if:{{{blog|}}}
|{{!}}valign="top" {{!}}Blog:
|{{!}}valign="top" {{!}}Blog:
{{!}}<span class="plainlinks">{{{blog}}}</span>}}
{{!}}<span class="plainlinks">[{{{blog}}} {{{blog}}}]</span>}}
|-
|-
{{#if:{{{facebook|}}}
{{#if:{{{facebook|}}}
|{{!}}Facebook:
|{{!}}Facebook:
{{!}}<span class="plainlinks">{{{facebook}}}</span>}}
{{!}}<span class="plainlinks">[[Image:Facebook.png|link={{{facebook}}}]]&nbsp;&nbsp;&nbsp;[{{{facebook}}} {{PAGENAME}}]</span>}}
|-
|-
{{#if:{{{linkedin|}}}
{{#if:{{{linkedin|}}}
|{{!}}LinkedIn:
|{{!}}LinkedIn:
{{!}}<span class="plainlinks">{{{linkedin}}}</span>}}
{{!}}<span class="plainlinks">[[Image:LinkedInIcon.png|link={{{linkedin}}}]]&nbsp;&nbsp;&nbsp;[{{{linkedin}}} {{PAGENAME}}]</span>}}
|-
|-
{{#if:{{{google|}}}
{{#if:{{{google|}}}
Line 76: Line 89:
{{#if:{{{twitter|}}}
{{#if:{{{twitter|}}}
|{{!}}Twitter:
|{{!}}Twitter:
{{!}}<span class="plainlinks">[[Image:TwitterIcon.png]][http://twitter.com/{{{twitter}}} @{{{twitter}}}]</span>}}
{{!}}<span class="plainlinks">[[Image:TwitterIcon.png|link=https://twitter.com/{{{twitter}}}]]&nbsp;&nbsp;&nbsp;[http://twitter.com/{{{twitter}}} @{{{twitter}}}]</span>}}
|-
{{#if:{{{github|}}}
|{{!}}Github:
{{!}}<span class="plainlinks">[[Image:GitHub_Icon.png|link=https://github.com/{{{github}}}]]&nbsp;&nbsp;&nbsp;[https://github.com/{{{github}}} Github.com/{{{github}}}]</span>}}
|-
|-
{{#if:{{{userbox|}}}
{{#if:{{{userbox|}}}
|{{!}}colspan="2" {{!}} {{{userbox}}}}}
|{{!}}colspan="2" {{!}} {{{userbox}}}}}
|}<noinclude>
|-
[[Category:Templates|People]]
{{#if:{{{newsletter|}}}
</noinclude>
|[[Category:Created ICANN 58]]}}
|}

Latest revision as of 22:02, 26 August 2024

Boilerplate

Copy/Paste this to an article and then change the example text to match the company. If you don't have info for a row, just remove everything to the right of the "=". For Twitter you can just enter the name (what comes after the @). For Facebook and Linked in, put the URL for the public profile in as an external link with the profile's name or person's name if that doesn't exist. Leave the cards field blank.

{{People
|portrait   = Portrait if it exists
|caricature = Legacy caricature
|organization = 
|affiliation = Company Name or Organization/Group Name
|country    = USA
|email      = john [at] JDDomains.net
|websitename= JDDomains.net
|website    = https://www.JDDomains.net 
|blog       = https://JohnDoe.BlogProvider.com
|twitter    = johndoe
|github     = johndoe
|facebook   = https://www.facebook.com/johndoe 
|linkedin   = https://www.linkedin.com/pub/john-doe/1/a30/343 
|userbox      = 
}}

If you are ICANN staff, feel free to use our handy badge within your profile, to the right of 'userbox=' to indicate your affiliation:

|userbox = {{UBX-ICANNSTAFF-C}}