Jump to content

Template:People: Difference between revisions

From ICANNWiki
Dustin Loup (talk | contribs)
No edit summary
Boilerplate: porting CSS to Common.css
 
(36 intermediate revisions by 3 users not shown)
Line 4: Line 4:
<pre>
<pre>
{{People
{{People
|portrait  = PortraitComing1.jpg
|portrait  = Portrait if it exists
|caricature = CaricatureComing.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>
If you don't have a picture yet, you may use these files names as placeholders:
<pre>
|portrait  = PortraitComing.jpg
|caricature = CaricatureComing.jpg
</pre>
</pre>


Line 32: Line 26:
</pre>
</pre>
</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]]}}}}
{{!}} {{#ifexist:Image:{{{caricature}}}|[[Image:{{{caricature}}}|100px|center]]<includeonly>[[Category:People]]</includeonly>|<center>Caricature Coming:<br />[[File:{{{caricature}}}|Upload Here]]</center>}}}}
{{#if:{{{caricature|}}}
|{{!}} {{#ifexist:Image:{{{caricature}}}|[[Image:{{{caricature}}}|100px|center]]}}}}
|-
|-
{{#if:{{{organization|}}}
{{#if:{{{organization|}}}
Line 47: Line 42:
|-
|-
{{#if:{{{affiliation|}}}
{{#if:{{{affiliation|}}}
|{{!}}valign="top" {{!}}Affiliation:
|{{!}}valign=“top” {{!}}Affiliation:
{{!}}{{#arraymap:{{{affiliation|}}}|,|xyz|[[:Category:xyz|xyz]]<includeonly>[[Category:xyz]]</includeonly>|<br />}}  }}
{{!}}{{{affiliation|}}} }}
|-
|-
{{#if:{{{stakeholdergroup|}}}
{{#if:{{{stakeholdergroup|}}}
Line 54: Line 49:
{{!}}{{#arraymap:{{{stakeholdergroup|}}}|,|xyz|[[:Category:xyz|xyz]]<includeonly>[[Category:xyz]]</includeonly>|<br />}}}}
{{!}}{{#arraymap:{{{stakeholdergroup|}}}|,|xyz|[[:Category:xyz|xyz]]<includeonly>[[Category:xyz]]</includeonly>|<br />}}}}
|-
|-
{{#if:{{{born|}}}
|{{!}}Born:
{{!}}{{{born}}}}}
|-
|-
{{#if:{{{region|}}}
{{#if:{{{region|}}}
Line 72: Line 64:
{{#if:{{{website|}}}
{{#if:{{{website|}}}
|{{!}}valign="top" {{!}}Website:
|{{!}}valign="top" {{!}}Website:
{{!}}<span class="plainlinks">[{{{website}}} {{#if:{{{websitename|}}}|{{{websitename}}}|{{{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|}}}
Line 80: Line 77:
{{#if:{{{facebook|}}}
{{#if:{{{facebook|}}}
|{{!}}Facebook:
|{{!}}Facebook:
{{!}}<span class="plainlinks">[[Image:Facebook.png|link={{{facebook}}}]]&nbsp;&nbsp;&nbsp;[https://{{{facebook}}} {{PAGENAME}}]</span>}}
{{!}}<span class="plainlinks">[[Image:Facebook.png|link={{{facebook}}}]]&nbsp;&nbsp;&nbsp;[{{{facebook}}} {{PAGENAME}}]</span>}}
|-
|-
{{#if:{{{linkedin|}}}
{{#if:{{{linkedin|}}}
Line 93: Line 90:
|{{!}}Twitter:
|{{!}}Twitter:
{{!}}<span class="plainlinks">[[Image:TwitterIcon.png|link=https://twitter.com/{{{twitter}}}]]&nbsp;&nbsp;&nbsp;[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|}}}
Line 99: Line 100:
{{#if:{{{newsletter|}}}
{{#if:{{{newsletter|}}}
|[[Category:Created ICANN 58]]}}
|[[Category:Created ICANN 58]]}}
|}<noinclude>
|}
[[Category:Templates|People]]
</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}}