Template:Infobox football club: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
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}}}}]]}}
Line 33: Line 33:
{{#if: {{{ground<includeonly>|</includeonly>}}} |
{{#if: {{{ground<includeonly>|</includeonly>}}} |
! style="background: #ffffff; color: #000000;" {{!}} Ground:
! style="background: #ffffff; color: #000000;" {{!}} Ground:
{{!}} {{{ground}}} }}{{#if: {{{os grid ref<includeonly>|</includeonly>}}}|<br />{{map|{{{os grid ref}}}}} }}
{{!}} {{{ground}}} }}{{#if: {{{os grid ref<includeonly>|</includeonly>}}}|<br />{{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}} }} }}
|-
|-
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
Line 54: Line 54:
! style="background: #ffffff; color: #000000;" {{!}} Website:
! style="background: #ffffff; color: #000000;" {{!}} Website:
{{!}} {{{website}}} }}
{{!}} {{{website}}} }}
|-colspan=2
|-
|<table style="width:100%; text-align:center;">
|colspan=2|<table style="width:100%; text-align:center;">
<tr>
<tr>
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}}|
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}}|
Line 70: Line 70:
  |  shorts    = {{{shorts1|}}}
  |  shorts    = {{{shorts1|}}}
  |  socks      = {{{socks1|}}}
  |  socks      = {{{socks1|}}}
  |  title      = {{#ifeq:{{{pattern_name1|Home}}}|Home|[[Kit (association football)|Home {{#if:{{{American|}}}|colors|colours}}]]|{{{pattern_name1|Home}}} [[Kit (association football)|{{#if:{{{American|}}}|colors|colours}}]]}}
  |  title      = {{#ifeq:{{{pattern_name1|Home}}}|Home|Home colours|{{{pattern_name1|Home}}} colours}}
}}</td>
}}</td>
}}{{#if:{{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}|
}}{{#if:{{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}|
Line 85: Line 85:
   | shorts    = {{{shorts2|}}}
   | shorts    = {{{shorts2|}}}
   | socks      = {{{socks2|}}}
   | socks      = {{{socks2|}}}
   | title      = {{#ifeq:{{{pattern_name2|Away}}}|Away|[[Away colours|Away {{#if:{{{American|}}}|colors|colours}}]]|{{{pattern_name2|Away}}} {{#if:{{{American|}}}|colors|colours}}}}
   | title      = {{#ifeq:{{{pattern_name2|Away}}}|Away|Away colours|{{{pattern_name2|Away}}} colours}}
}}</td>
}}</td>
}}{{#if:{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
}}{{#if:{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
Line 100: Line 100:
   | shorts    = {{{shorts3|}}}
   | shorts    = {{{shorts3|}}}
   | socks      = {{{socks3|}}}
   | socks      = {{{socks3|}}}
   | title      = {{#ifeq:{{{pattern_name3|Third}}}|Third|[[Third jersey|Third {{#if:{{{American|}}}|colors|colours}}]]|{{{pattern_name3|Third}}} {{#if:{{{American|}}}|colors|colours}}}}
   | title      = {{#ifeq:{{{pattern_name3|Third}}}|Third|Third colours|{{{pattern_name3|Third}}} colours}}
}}</td>
}}</td>
}}</tr>
}}</tr>
</table>
</table>
|}<noinclude>[[Category:Infoboxes|Football club]]
|}<noinclude>[[Category:Infoboxes|Football club]]

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}}}