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

From blackwiki
Jump to navigation Jump to search
imported>Jaanusele
(new template : copy from Template:Infobox National Olympic Committee)
 
imported>Frietjes
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox vcard" style="font-size: 90%; width: 24em;"
+
{{Infobox
|-
+
|bodyclass    = vcard
! class="fn org" colspan="2" style="font-size: medium;" | {{{title}}}
+
|title        = <includeonly>{{{title|{{PAGENAMEBASE}}}}}</includeonly>
|-
+
|titleclass  = fn org
{{#if:{{{logo<includeonly>|</includeonly>}}}|
+
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{size|75x90px}}}|alt={{{logo_alt|{{{title|{{PAGENAMEBASE}}}}} logo}}}}}
{{!}}colspan="2" align="center"{{!}}
+
|caption      = {{{logo_caption|Logo}}}
[[Image:{{{logo}}}|75x90px|{{{title}}} logo]]
+
 
{{!}}-
+
|header1 = <includeonly>[[National Paralympic Committee]]</includeonly>
 +
 
 +
|label2  = Country
 +
|data2  = {{#if:{{{country|}}}|{{flag|{{{country|}}}}}}}
 +
 
 +
|label3  = [[List of IOC country codes|Code]]
 +
|data3  = {{{code|}}}
 +
 
 +
|label4  = Created
 +
|data4  = {{{created|}}}
 +
 
 +
|label5  = {{#if:{{{recognized|}}}|Recognized|Recognised}}
 +
|data5  = {{#if:{{{recognized|}}}|{{{recognized|}}}|{{{recognised|}}}}}
 +
 
 +
|label6  = Continental<br/>Association
 +
|data6  = {{#switch: {{{association}}}
 +
| ASCOD = [[African Sports Confederation of Disabled|ASCOD]]
 +
| Americas PC = [[Americas Paralympic Committee|APC]]
 +
| Asian PC = [[Asian Paralympic Committee|APC]]
 +
| EPC = [[European Paralympic Committees|EPC]]
 +
| OPC = [[Oceania Paralympic Committee|OPC]]
 
}}
 
}}
! colspan="2" | '''[[National Paralympic Committee]]'''
+
 
|-
+
|label7  = Headquarters
| '''Country''' || {{flag|{{{country|}}}}}
+
|data7  = {{{headquarters|}}}
|-
+
|rowclass7 = adr
| '''[[List of IOC country codes|Code]]''' || {{{code}}}
+
|class7  = locality
|-
+
 
| '''Created''' || {{{created}}}
+
|label8  = President
|-
+
|data8  = {{{president|}}}
| '''Recognized''' || {{{recognized}}}
+
|class8  = agent
|-
+
 
| '''Continental<br/>Association''' || {{#switch: {{{association}}}
+
|label9  = Secretary General
| ANOCA = [[Association of National Olympic Committees of Africa|ANOCA]]
+
|data9  = {{{secretary general|}}}
| PASO = [[Pan American Sports Organisation|PASO]]
+
|class9  = agent
| OCA = [[Olympic Council of Asia|OCA]]
+
 
| EOC = [[European Olympic Committees|EOC]]
+
|label10 = Website
| ONOC = [[Oceania National Olympic Committees|ONOC]]
+
|data10  = {{{website|}}}
}}
+
 
|-
+
|label11 = Notes
{{#if:{{{headquarters<includeonly>|</includeonly>}}} |
+
|data11  = {{{notes|}}}
{{!}} '''Headquarters'''
+
|class11 = note
{{!}} <span class="label">{{{headquarters}}}</span>
+
 
{{!}}-
+
}}<noinclude>
}}
+
{{documentation}}
{{#if:{{{president<includeonly>|</includeonly>}}} |
+
</noinclude>
{{!}} '''President'''
 
{{!}} {{{president}}}
 
{{!}}-
 
}}
 
{{#if:{{{secretary general<includeonly>|</includeonly>}}} |
 
{{!}} '''Secretary General'''
 
{{!}} {{{secretary general}}}
 
{{!}}-
 
}}
 
{{#if:{{{website<includeonly>|</includeonly>}}} |
 
{{!}} '''Website'''
 
{{!}} {{{website}}}
 
}}
 
|}<noinclude>{{documentation}}</noinclude>
 

Latest revision as of 13:35, 11 September 2016

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

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

Usage

{{{title}}}
[[File:{{{logo}}}|{{{size}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
{{{logo_caption}}}
National Paralympic Committee
Code{{{code}}}
Created{{{created}}}
Recognized{{{recognized}}} or {{{recognised}}}
Headquarters{{{headquarters}}}
President{{{president}}}
Secretary General{{{secretary general}}}
Website{{{website}}}
Notes{{{notes}}}
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox National Paralympic Committee
| title = <!-- name of organization -->
| logo = <!-- image name -->
| size = <!-- image size -->
| country = <!-- IPC designation for the country -->
| code = <!-- three letter code per [[List of IOC country codes]] -->
| created = <!-- year -->
| recognized = <!-- year -->
| association = <!-- ASCOD, EPC, Asian PC, OPC, or Americas PC -->
| headquarters = <!-- city -->
| president = <!-- name -->
| secretary general = <!-- name -->
| website = <!-- URL using {{URL| ... }} -->
| notes = <!-- any relevant notes -->
}}