Difference between revisions of "Template:Infobox National Olympic Committee"

From blackwiki
Jump to navigation Jump to search
imported>AB-me
(removed redundant boldness that shows up in eg. Firefox or with some new fonts)
imported>MB
(Stating a logo is a logo is redundant/self captioning (MOS:CAPTION))
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|name        = Infobox National Olympic Committee
 
 
|bodyclass    = vcard
 
|bodyclass    = vcard
 
|title        = {{{title}}}
 
|title        = {{{title}}}
 
|titleclass  = fn org
 
|titleclass  = fn org
|image       = {{#if:{{{logo<includeonly>|</includeonly>}}}|[[File:{{{logo}}}|{{{size|75x90px}}}|alt={{{title}}} logo]]}}
+
|image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{size|}}}|alt={{{alt|{{{title|}}} logo}}}}}  
|caption      = {{{title}}} logo
 
 
 
|header1 = [[National Olympic Committee]]
 
  
 
|label2  = Country/Region
 
|label2  = Country/Region
Line 24: Line 20:
 
|data6  = {{#switch: {{{association}}}
 
|data6  = {{#switch: {{{association}}}
 
| ANOCA = [[Association of National Olympic Committees of Africa|ANOCA]]
 
| ANOCA = [[Association of National Olympic Committees of Africa|ANOCA]]
| PASO = [[Pan American Sports Organisation|PASO]]
+
| PASO = [[Panam Sports|PASO]]
 
| OCA = [[Olympic Council of Asia|OCA]]
 
| OCA = [[Olympic Council of Asia|OCA]]
 
| EOC = [[European Olympic Committees|EOC]]
 
| EOC = [[European Olympic Committees|EOC]]
Line 43: Line 39:
 
|class9  = agent
 
|class9  = agent
  
|label10 = {{#if:{{{website<includeonly>|</includeonly>}}}|Website}}
+
|label10 = {{#if:{{{CEO<includeonly>|</includeonly>}}}|CEO}}
|data10 = {{{website<includeonly>|</includeonly>}}}
+
|data10  = {{{CEO<includeonly>|</includeonly>}}}
 +
|class10  = agent
 +
 
 +
|label11 = {{#if:{{{website<includeonly>|</includeonly>}}}|Website}}
 +
|data11 = {{{website<includeonly>|</includeonly>}}}
  
|label11 = {{#if:{{{notes<includeonly>|</includeonly>}}}|Notes}}
+
|label12 = {{#if:{{{notes<includeonly>|</includeonly>}}}|Notes}}
|data11 = {{{notes<includeonly>|</includeonly>}}}
+
|data12 = {{{notes<includeonly>|</includeonly>}}}
|class11 = note
+
|class12 = note
  
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:31, 11 November 2020

{{{title}}}
Country/Region [[|]]
Code{{{code}}}
Created{{{created}}}
Recognized{{{recognized}}}
Headquarters{{{headquarters}}}
President{{{president}}}
Secretary General{{{secretary general}}}
CEO{{{CEO}}}
Website{{{website}}}
Notes{{{notes}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox National Olympic Committee
| title = Indian Olympic Organisation
| logo = image name
| size = image size
| country = India
| code = three letter code per List of IOC country codes
| created = year - use {{Start date}}
| recognized = year
| association = one of: ANOCA, EOC, OCA, ONOC, or PASO
| headquarters = city
| president = V K Malhotra
| secretary general = name
| CEO = name
| website = URL - use {{URL}}
| notes = any relevant notes
}}

Microformat

Template:UF-hcard-org