Jump to content

Template:People: Difference between revisions

From ICANNWiki
Dustin Loup (talk | contribs)
No edit summary
Boilerplate: porting CSS to Common.css
 
(15 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
|country    = USA
|country    = USA
Line 13: Line 14:
|blog      = https://JohnDoe.BlogProvider.com
|blog      = https://JohnDoe.BlogProvider.com
|twitter    = johndoe
|twitter    = johndoe
|github    = johndoe
|facebook  = https://www.facebook.com/johndoe  
|facebook  = https://www.facebook.com/johndoe  
|google    = https://plus.google.com/johndoe
|linkedin  = https://www.linkedin.com/pub/john-doe/1/a30/343  
|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 31: Line 25:
|userbox = {{UBX-ICANNSTAFF-C}}
|userbox = {{UBX-ICANNSTAFF-C}}
</pre>
</pre>
{| cellpadding="2" style="float: right; border: 1px solid darkgray; padding-bottom 15px; padding: 5px;  margin-left: 10px;"
</noinclude>
{| cellpadding="2" class="template-people"
|-
|-
{{#if:{{{portrait|}}}
{{#if:{{{portrait|}}}
|{{!}} {{#ifexist:Image:{{{portrait}}}|[[Image:{{{portrait}}}|100px|center]]|<center>Portrait Coming:<br />[[File:{{{portrait}}}|Upload Here]]</center>}}
|{{!}} {{#ifexist:Image:{{{portrait}}}|[[Image:{{{portrait}}}|100px|center]]}}}}
{{!}} {{#ifexist:Image:{{{caricature}}}|[[Image:{{{caricature}}}|100px|center]]|<center>Caricature Coming:<br />[[File:{{{caricature}}}|Upload Here]]</center>}}}}
{{#if:{{{caricature|}}}
|{{!}} {{#ifexist:Image:{{{caricature}}}|[[Image:{{{caricature}}}|100px|center]]}}}}
|-
|-
{{#if:{{{organization|}}}
{{#if:{{{organization|}}}
Line 46: 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 53: 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:{{{gender|}}}
|[[Category:{{{gender}}}]]}}
|-
|-
{{#if:{{{region|}}}
{{#if:{{{region|}}}
Line 97: 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 103: Line 100:
{{#if:{{{newsletter|}}}
{{#if:{{{newsletter|}}}
|[[Category:Created ICANN 58]]}}
|[[Category:Created ICANN 58]]}}
|-
|[[Category:People]]
{{#default_form:People-Edit}}
|}
|}
<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}}