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

From blackwiki
Jump to navigation Jump to search
imported>Minna Sora no Shita
m (Reverted edits by 110.54.174.77 (talk) to last revision by 113.28.24.189 (HG))
imported>MB
(Stating a logo is a logo is redundant/self captioning (MOS:CAPTION))
 
(8 intermediate revisions by 8 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
 
|data2  = {{flag|{{{country|}}}}}
 
|data2  = {{flag|{{{country|}}}}}
  
|label3  = '''[[List of IOC country codes|Code]]'''
+
|label3  = [[List of IOC country codes|Code]]
 
|data3  = {{{code}}}
 
|data3  = {{{code}}}
  
|label4  = {{#if:{{{created<includeonly>|</includeonly>}}}|'''Created'''}}
+
|label4  = {{#if:{{{created<includeonly>|</includeonly>}}}|Created}}
 
|data4  = {{{created<includeonly>|</includeonly>}}}
 
|data4  = {{{created<includeonly>|</includeonly>}}}
  
|label5  = {{#if:{{{recognized<includeonly>|</includeonly>}}}|'''Recognized'''}}
+
|label5  = {{#if:{{{recognized<includeonly>|</includeonly>}}}|Recognized}}
 
|data5  = {{{recognized<includeonly>|</includeonly>}}}
 
|data5  = {{{recognized<includeonly>|</includeonly>}}}
  
|label6  = '''Continental<br/>Association'''
+
|label6  = Continental<br/>Association
 
|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 30: Line 26:
 
}}
 
}}
  
|label7  = {{#if:{{{headquarters<includeonly>|</includeonly>}}}|'''Headquarters'''}}
+
|label7  = {{#if:{{{headquarters<includeonly>|</includeonly>}}}|Headquarters}}
 
|data7  = {{{headquarters<includeonly>|</includeonly>}}}
 
|data7  = {{{headquarters<includeonly>|</includeonly>}}}
 
|rowclass7 = adr
 
|rowclass7 = adr
 
|class7  = locality
 
|class7  = locality
  
|label8  = {{#if:{{{president<includeonly>|</includeonly>}}}|'''President'''}}
+
|label8  = {{#if:{{{president<includeonly>|</includeonly>}}}|President}}
 
|data8  = {{{president<includeonly>|</includeonly>}}}
 
|data8  = {{{president<includeonly>|</includeonly>}}}
 
|class8  = agent
 
|class8  = agent
  
|label9  = {{#if:{{{secretary general<includeonly>|</includeonly>}}}|'''Secretary General'''}}
+
|label9  = {{#if:{{{secretary general<includeonly>|</includeonly>}}}|Secretary General}}
 
|data9  = {{{secretary general<includeonly>|</includeonly>}}}
 
|data9  = {{{secretary general<includeonly>|</includeonly>}}}
 
|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