Difference between revisions of "Template:People"

From ICANNWiki
Jump to navigation Jump to search
(→‎Boilerplate: porting CSS to Common.css)
 
(102 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
==Boilerplate==
+
== Boilerplate ==
We're just experimenting so far, so don't yet have a boilerplateWhen we're ready to start using this template, we'll have a boilerplate here.</noinclude>{| cellpadding="2" style="float: right; border: 1px solid darkgray; padding: 5px; margin-left: 10px;"
+
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.
 +
<pre>
 +
{{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      =
 +
}}
 +
</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:
 +
<pre>
 +
|userbox = {{UBX-ICANNSTAFF-C}}
 +
</pre>
 +
</noinclude>
 +
{| cellpadding="2" class="template-people"
 
|-
 
|-
 
{{#if:{{{portrait|}}}
 
{{#if:{{{portrait|}}}
|{{!}} [[Image:{{{portrait}}}|100px|center]]
+
|{{!}} {{#ifexist:Image:{{{portrait}}}|[[Image:{{{portrait}}}|100px|center]]}}}}
{{!}} [[Image:{{{caricature}}}|100px|center]]}}
+
{{#if:{{{caricature|}}}
 +
|{{!}} {{#ifexist:Image:{{{caricature}}}|[[Image:{{{caricature}}}|100px|center]]}}}}
 +
|-
 +
{{#if:{{{organization|}}}
 +
|{{!}}Organization:
 +
{{!}}[[{{{organization}}}]]}}
 +
|-
 +
{{#if:{{{canonicalorganization|}}} }}
 +
|-
 +
{{#if:{{{canonicalaffiliation|}}}|}}
 +
|-
 +
{{#if:{{{affiliation|}}}
 +
|{{!}}valign=“top” {{!}}Affiliation:
 +
{{!}}{{{affiliation|}}} }}
 +
|-
 +
{{#if:{{{stakeholdergroup|}}}
 +
|{{!}}valign="top" {{!}}Stakeholder Group(s):
 +
{{!}}{{#arraymap:{{{stakeholdergroup|}}}|,|xyz|[[:Category:xyz|xyz]]<includeonly>[[Category:xyz]]</includeonly>|<br />}}}}
 +
|-
 +
|-
 +
{{#if:{{{region|}}}
 +
|{{!}}Region:
 +
{{!}}[[:Category:{{{region}}}|{{{region}}}]]<includeonly>[[Category:{{{region}}}]]</includeonly>}}
 +
|-
 +
{{#if:{{{country|}}}
 +
|{{!}}Country:
 +
{{!}}[[:Category:{{{country}}}|{{{country}}}]]<includeonly>[[Category:{{{country}}}]]</includeonly>}}
 
|-
 
|-
{{#if:{{{twitter|}}}
+
{{#if:{{{email|}}}
|{{!}}Twitter:
+
|{{!}}valign="top" {{!}}Email:
{{!}}[[Image:TwitterIcon.png]][http://twitter.com/{{{twitter}}} {{{twitter}}}]}}
+
{{!}}{{{email}}}}}
 +
|-
 +
{{#if:{{{website|}}}
 +
|{{!}}valign="top" {{!}}Website:
 +
{{!}}<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|}}}
 +
|{{!}}valign="top" {{!}}Blog:
 +
{{!}}<span class="plainlinks">[{{{blog}}} {{{blog}}}]</span>}}
 
|-
 
|-
 
{{#if:{{{facebook|}}}
 
{{#if:{{{facebook|}}}
 
|{{!}}Facebook:
 
|{{!}}Facebook:
{{!}}[[Image:Facebook.png]][http://facebook.com/{{{facebook}}} {{{facebook}}}]}}
+
{{!}}<span class="plainlinks">[[Image:Facebook.png|link={{{facebook}}}]]&nbsp;&nbsp;&nbsp;[{{{facebook}}} {{PAGENAME}}]</span>}}
 
|-
 
|-
 
{{#if:{{{linkedin|}}}
 
{{#if:{{{linkedin|}}}
 
|{{!}}LinkedIn:
 
|{{!}}LinkedIn:
{{!}}[[Image:IconLinkedin.png]][http://linkedin.com/{{{linkedin}}} {{{linkedin}}}]}}
+
{{!}}<span class="plainlinks">[[Image:LinkedInIcon.png|link={{{linkedin}}}]]&nbsp;&nbsp;&nbsp;[{{{linkedin}}} {{PAGENAME}}]</span>}}
 
|-
 
|-
{{#if:{{{country|}}}
+
{{#if:{{{google|}}}
|{{!}} Country:
+
|{{!}}Google+:
{{!}}{{{country}}}}}
+
{{!}}<span class="plainlinks">{{{google}}}</span>}}
 +
|-
 +
{{#if:{{{twitter|}}}
 +
|{{!}}Twitter:
 +
{{!}}<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:{{{website|}}}
+
{{#if:{{{userbox|}}}
|{{!}}Website:
+
|{{!}}colspan="2" {{!}} {{{userbox}}}}}
{{!}}{{{website}}}}}
 
 
|-
 
|-
{{#if:{{{keypeople|}}}
+
{{#if:{{{newsletter|}}}
|{{!}}colspan="2" style="text-align:center; background-color:#ADDFFF;"{{!}} Key People
+
|[[Category:Created ICANN 58]]}}
{{!}}-
+
|}
{{!}}colspan="2" {{!}} {{{keypeople}}}}}
 
|}<noinclude>
 
==Example==
 
When we're ready, we'll have an example here.
 
</noinclude>
 

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}}