Template:Infobox football club: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
mNo edit summary
 
(11 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;">
<tr>
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{pattern_sh1|}}}{{{pattern_so1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}}|
<td>{{Football kit
|  alt        = {{{kit_alt1|}}}
|  pattern_la = {{{pattern_la1|}}}
|  pattern_b  = {{{pattern_b1|_unknown}}}
|  pattern_ra = {{{pattern_ra1|}}}
|  pattern_sh = {{{pattern_sh1|}}}
|  pattern_so = {{{pattern_so1|}}}
|  leftarm    = {{{leftarm1|}}}
|  body      = {{{body1|}}}
|  rightarm  = {{{rightarm1|}}}
|  shorts    = {{{shorts1|}}}
|  socks      = {{{socks1|}}}
|  title      = {{#ifeq:{{{pattern_name1|Home}}}|Home|Home colours|{{{pattern_name1|Home}}} colours}}
}}</td>
}}{{#if:{{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{pattern_sh2|}}}{{{pattern_so2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}|
<td>{{Football kit
  | alt        = {{{kit_alt2|}}}
  | pattern_la = {{{pattern_la2|}}}
  | pattern_b  = {{{pattern_b2|_unknown}}}
  | pattern_ra = {{{pattern_ra2|}}}
  | pattern_sh = {{{pattern_sh2|}}}
  | pattern_so = {{{pattern_so2|}}}
  | leftarm    = {{{leftarm2|}}}
  | body      = {{{body2|}}}
  | rightarm  = {{{rightarm2|}}}
  | shorts    = {{{shorts2|}}}
  | socks      = {{{socks2|}}}
  | title      = {{#ifeq:{{{pattern_name2|Away}}}|Away|Away colours|{{{pattern_name2|Away}}} colours}}
}}</td>
}}{{#if:{{{pattern_la3|}}}{{{pattern_b3|}}}{{{pattern_ra3|}}}{{{pattern_sh3|}}}{{{pattern_so3|}}}{{{leftarm3|}}}{{{body3|}}}{{{rightarm3|}}}{{{shorts3|}}}{{{socks3|}}}|
<td>{{Football kit
  | alt        = {{{kit_alt3|}}}
  | pattern_la = {{{pattern_la3|}}}
  | pattern_b  = {{{pattern_b3|_unknown}}}
  | pattern_ra = {{{pattern_ra3|}}}
  | pattern_sh = {{{pattern_sh3|}}}
  | pattern_so = {{{pattern_so3|}}}
  | leftarm    = {{{leftarm3|}}}
  | body      = {{{body3|}}}
  | rightarm  = {{{rightarm3|}}}
  | shorts    = {{{shorts3|}}}
  | socks      = {{{socks3|}}}
  | title      = {{#ifeq:{{{pattern_name3|Third}}}|Third|Third colours|{{{pattern_name3|Third}}} colours}}
}}</td>
}}</tr>
</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}}}