Template:People: Difference between revisions
Appearance
No edit summary |
→Boilerplate: porting CSS to Common.css |
||
(68 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Boilerplate == | == 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. | 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> | <pre> | ||
{{People | {{People | ||
|portrait = | |portrait = Portrait if it exists | ||
|caricature = | |caricature = Legacy caricature | ||
| | |organization = | ||
|affiliation = Company Name or Organization/Group Name | |||
|country = USA | |country = USA | ||
|email = john [at] JDDomains.net | |email = john [at] JDDomains.net | ||
|website = | |websitename= JDDomains.net | ||
|blog = | |website = https://www.JDDomains.net | ||
|blog = https://JohnDoe.BlogProvider.com | |||
|twitter = johndoe | |twitter = johndoe | ||
|facebook = | |github = johndoe | ||
|linkedin = | |facebook = https://www.facebook.com/johndoe | ||
| | |linkedin = https://www.linkedin.com/pub/john-doe/1/a30/343 | ||
|userbox = | |||
}} | }} | ||
</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: | |||
<pre> | |||
|userbox = {{UBX-ICANNSTAFF-C}} | |||
</pre> | |||
</noinclude> | </noinclude> | ||
{| cellpadding="2" | {| cellpadding="2" class="template-people" | ||
|- | |- | ||
{{#if:{{{portrait|}}} | {{#if:{{{portrait|}}} | ||
|{{!}} [[Image:{{{portrait}}} | |{{!}} {{#ifexist:Image:{{{portrait}}}|[[Image:{{{portrait}}}|100px|center]]}}}} | ||
{{!}} [[Image:{{{caricature}}} | {{#if:{{{caricature|}}} | ||
|{{!}} {{#ifexist:Image:{{{caricature}}}|[[Image:{{{caricature}}}|100px|center]]}}}} | |||
|- | |||
{{#if:{{{organization|}}} | |||
|{{!}}Organization: | |||
{{!}}[[{{{organization}}}]]}} | |||
|- | |- | ||
{{#if:{{{ | {{#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|}}} | {{#if:{{{country|}}} | ||
|{{!}}Country: | |{{!}}Country: | ||
{{!}}{{{country}}}<includeonly>[[Category:{{{country}}}]]</includeonly>}} | {{!}}[[:Category:{{{country}}}|{{{country}}}]]<includeonly>[[Category:{{{country}}}]]</includeonly>}} | ||
|- | |- | ||
{{#if:{{{email|}}} | {{#if:{{{email|}}} | ||
Line 39: | 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}}}]] [{{{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}}}]] [{{{facebook}}} {{PAGENAME}}]</span>}} | ||
|- | |- | ||
{{#if:{{{linkedin|}}} | {{#if:{{{linkedin|}}} | ||
|{{!}}LinkedIn: | |{{!}}LinkedIn: | ||
{{!}}<span class="plainlinks">{{{linkedin}}}</span>}} | {{!}}<span class="plainlinks">[[Image:LinkedInIcon.png|link={{{linkedin}}}]] [{{{linkedin}}} {{PAGENAME}}]</span>}} | ||
|- | |||
{{#if:{{{google|}}} | |||
|{{!}}Google+: | |||
{{!}}<span class="plainlinks">{{{google}}}</span>}} | |||
|- | |- | ||
{{#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}}}]] [http://twitter.com/{{{twitter}}} @{{{twitter}}}]</span>}} | ||
|- | |||
{{#if:{{{github|}}} | |||
|{{!}}Github: | |||
{{!}}<span class="plainlinks">[[Image:GitHub_Icon.png|link=https://github.com/{{{github}}}]] [https://github.com/{{{github}}} Github.com/{{{github}}}]</span>}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{userbox|}}} | ||
|{{!}} | |{{!}}colspan="2" {{!}} {{{userbox}}}}} | ||
|} | |- | ||
[[Category: | {{#if:{{{newsletter|}}} | ||
|[[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}}