Template:Infobox football club: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
mNo edit summary
 
Line 1: Line 1:
{{#vardefine:liv1|{{colour|{{#if:{{{livery|}}}|{{{livery}}}|black}}}}}}{{#vardefine:liv2|{{colour|{{#if:{{{headtext|}}}|{{{headtext}}}|white}}}}}}{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
{{#vardefine:liv1|{{colour|{{#if:{{{livery|}}}|{{{livery}}}|black}}}}}}{{#vardefine:liv2|{{colour|{{#if:{{{headtext|}}}|{{{headtext}}}|white}}}}}}{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
|colspan=2 class= style="text-align: center; background:{{#var:liv1}}; color:{{#var:liv2}}; font-size: 100%"|<big class="fn org">{{#if:{{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{greek| }}}| <br>Greek: ''{{{greek}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#if: {{{full name|}}}| <br />'''{{{full name}}}'''}}{{#if: {{{nickname|}}}|<br />“{{{nickname}}}” }}{{#vardefine:type|football club}}
|colspan=2 style="text-align: center; background:{{#var:liv1}}; color:{{#var:liv2}}; font-size: 100%"|<big class="fn org">{{#if:{{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{greek| }}}| <br>Greek: ''{{{greek}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#if: {{{full name|}}}| <br />'''{{{full name}}}'''}}{{#if: {{{nickname|}}}|<br />“{{{nickname}}}” }}{{#vardefine:type|football club}}
|-
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#ifeq:{{lc:{{{status}}}}}|professional|{{#vardefine:tag prof|yes|no}} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}} }}{{football county|{{{county}}} }} }}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}{{football county|{{{bailiwick}}} }} }}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}{{football county|{{{territory}}} }} }}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}{{football county|{{{county 1}}} }} }}{{#if:{{{county 2|}}}|{{football county|{{{county 2}}} }} }} {{#if:{{{county 3|}}}|{{football county|{{{county 3}}} }} }}{{#if:{{{county 4|}}}|{{football county|{{{county 4}}} }} }}{{#ifeq:{{#var:tag prof}}|yes|[[Category:Professional football clubs in {{state2|{{#var:shire}}}}]]}}
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#ifeq:{{lc:{{{status}}}}}|professional|{{#vardefine:tag prof|yes|no}} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}} }}{{football county|{{{county}}} }} }}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}{{football county|{{{bailiwick}}} }} }}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}{{football county|{{{territory}}} }} }}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}{{football county|{{{county 1}}} }} }}{{#if:{{{county 2|}}}|{{football county|{{{county 2}}} }} }} {{#if:{{{county 3|}}}|{{football county|{{{county 3}}} }} }}{{#if:{{{county 4|}}}|{{football county|{{{county 4}}} }} }}{{#ifeq:{{#var:tag prof}}|yes|[[Category:Professional football clubs in {{state2|{{#var:shire}}}}]]}}

Latest revision as of 17:08, 25 October 2024

Infobox football club
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
[[File:{{{logo}}}|center|80px]]
Founded: {{{founded}}}
Chairman: {{{chairman}}}
Manager: {{{manager}}}
Captain: {{{captain}}}
Ground: {{{ground}}}
{{{latitude}}} {{{longitude}}}
Capacity: {{{capacity}}}
League: {{{league}}}
Owner: {{{ownership}}}
Website: {{{website}}}