Template:Infobox football club: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
mNo edit summary
 
(5 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 55: Line 55:
{{!}} {{{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 100: Line 100:
   | shorts    = {{{shorts3|}}}
   | shorts    = {{{shorts3|}}}
   | socks      = {{{socks3|}}}
   | socks      = {{{socks3|}}}
   | title      = {{#ifeq:{{{pattern_name3|Third}}}|Third|Third colours}}|{{{pattern_name3|Third}}}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}}}