Jump to content

Template:People: Difference between revisions

From ICANNWiki
Dustin Loup (talk | contribs)
No edit summary
Boilerplate: porting CSS to Common.css
 
(23 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    = [https://www.JDDomains.net JDDomains.net]
|websitename= JDDomains.net
|blog      = [https://JohnDoe.BlogProvider.com]
|website    = https://www.JDDomains.net  
|blog      = https://JohnDoe.BlogProvider.com
|twitter    = johndoe
|twitter    = johndoe
|facebook  = [https://www.facebook.com/johndoe johndoe]
|github    = johndoe
|google    = [https://plus.google.com/johndoe johndoe]
|facebook  = https://www.facebook.com/johndoe  
|linkedin  = [https://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 31: Line 25:
|userbox = {{UBX-ICANNSTAFF-C}}
|userbox = {{UBX-ICANNSTAFF-C}}
</pre>
</pre>
{{#cargo_declare:_table=People|Caricature=File|Stakeholder_Group=List (,) of String (allowed values=Academia,Business,Civil Society,Government,Technical)|Country=List (,) of Text (allowed values=Afghanistan, Åland Islands, Albania, Algeria, American Samoa, Andorra, Angola, Anguilla, Antarctica, Antigua and Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Belarus, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bonaire Sint Eustatius and Saba, Bosnia and Herzegovina, Botswana, Bouvet Island, Brazil, British Indian Ocean Territory, Brunei Darussalam, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Cayman Islands, Central African Republic, Chad, Chile, China, Christmas Island, Cocos (Keeling) Islands, Colombia, Comoros, Republic of Congo, Democratic Republic of the Congo, Cook Islands, Costa Rica, Côte d'Ivoire, Croatia, Cuba, Curaçao, Cyprus, Czech Republic, Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Ethiopia, Falkland Islands (Malvinas), Faroe Islands, Fiji, Finland, France, French Guiana, French Polynesia, French Southern Territories, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, Greece, Greenland, Grenada, Guadeloupe, Guam, Guatemala, Guernsey, Guinea, Guinea-Bissau, Guyana, Haiti, Heard Island and McDonald Islands, Holy See (Vatican City State), Honduras, Hong Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Isle of Man, Israel, Italy, Jamaica, Japan, Jersey, Jordan, Kazakhstan, Kenya, Kiribati, Kuwait, Kyrgyzstan, Laos, Latvia, Lebanon, Lesotho, Liberia, Libya, Liechtenstein, Lithuania, Luxembourg, Macao, Macedonia, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall Islands, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Montserrat, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands, New Caledonia, New Zealand, Nicaragua, Niger, Nigeria, Niue, Norfolk Island, North Korea, Northern Mariana Islands, Norway, Oman, Pakistan, Palau, Palestine, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Pitcairn, Poland, Portugal, Puerto Rico, Qatar, Réunion, Romania, Russian Federation, Rwanda, Saint Barthélemy, Saint Helena, Ascension and Tristan da Cunha, Saint Kitts and Nevis, Saint Lucia, Saint Martin (French part), Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Samoa, San Marino, Sao Tome and Principe, Saudi Arabia, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Sint Maarten (Dutch part), Slovakia, Slovenia, Solomon Islands, Somalia, South Africa, South Georgia and the South Sandwich Islands, South Korea, South Sudan, Spain, Sri Lanka, Sudan, Suriname, Svalbard and Jan Mayen, Swaziland, Sweden, Switzerland, Syria, Taiwan, Tajikistan, Tanzania, Thailand, Timor-Leste, Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turkmenistan, Turks and Caicos Islands, Tuvalu, Uganda, Ukraine, United Arab Emirates, United Kingdom, United States, United States Minor Outlying Islands, Uruguay, Uzbekistan, Vanuatu, Venezuela, Viet Nam, Virgin Islands, British, Virgin Islands, USA, Wallis and Futuna, Western Sahara, Yemen, Zambia, Zimbabwe)|Region=List (,) of String (allowed values=Africa,Asia,Australasia,Europe,Latin America and the Caribbean,North America,Global)}}
</noinclude>
</noinclude>{{#cargo_store:_table=People|Caricature={{{caricature|}}}|Stakeholder_Group={{{stakeholdergroup|}}}|Country={{{country|}}}|Region={{{region|}}} }}
{| cellpadding="2" class="template-people"
{| cellpadding="2" style="float: right; border: 1px solid darkgray; padding-bottom 15px; padding: 5px;  margin-left: 10px;"
|-
|-
{{#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 48: 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 55: 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:{{{born|}}}
|{{!}}Born:
{{!}}{{{born}}}}}
|-
|-
{{#if:{{{region|}}}
{{#if:{{{region|}}}
Line 79: Line 66:
{{!}}<span class="plainlinks">
{{!}}<span class="plainlinks">
[[Image:LinkIcon.png|link={{{website}}}]]&nbsp;&nbsp;&nbsp;[{{{website}}} {{#if:{{{websitename|}}}|{{{websitename}}}|{{{website}}}}}]</span>}}
[[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 99: 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 105: 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}}