Nodyn:Infobox football club/doc

Oddi ar Wicipedia
Jump to navigation Jump to search

Usage[golygu cod y dudalen]

{{Infobox football club
|clubname      = 
|image         = 
|caption       = 
|fullname      = 
|nickname      = 
|founded       = 
|dissolved     = 
|ground        = 
|capacity      = 
|owntitle      = 
|owner         = 
|chrtitle      = 
|chairman      = 
|mgrtitle      = 
|manager       = 
|league        = 
|season        = 
|position      = 
|website       = 
|kit_alt1      = 
|pattern_la1   = 
|pattern_b1    = 
|pattern_ra1   = 
|pattern_sh1   = 
|pattern_so1   = 
|leftarm1      = 
|body1         = 
|rightarm1     = 
|shorts1       = 
|socks1        = 
|kit_alt2      = 
|pattern_la2   = 
|pattern_b2    = 
|pattern_ra2   = 
|pattern_sh2   = 
|pattern_so2   = 
|leftarm2      = 
|body2         = 
|rightarm2     = 
|shorts2       = 
|socks2        = 
|kit_alt3      = 
|pattern_la3   = 
|pattern_b3    = 
|pattern_ra3   = 
|pattern_sh3   = 
|pattern_so3   = 
|pattern_name3 = 
|leftarm3      = 
|body3         = 
|rightarm3     = 
|shorts3       = 
|socks3        = 
|American      = 
}}

Example[golygu cod y dudalen]

Infobox Rovers
Football.svg
Infobox Rovers Football Club Logo
Enw llawn Infobox Rovers Football Club
Llysenwau Templates
Sefydlwyd 2001 as Infobox Rovers
Maes ANZ Stadium
(sy'n dal: 83,500)
Cadeirydd Jimmy Wales
Head Coach Templator Infoboxer
Cynghrair Wikileague Annual
2011–12 1st
Gwefan Hafan y clwb
Yellow jersey with black sleeves
Lliwiau Cartref
Red and blue thin stripes
Lliwiau Oddi cartref
Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
Lliwiau Trydydd dewis


{{Infobox football club
|clubname    = Infobox Rovers
|image       = [[File:Football.svg]]
|caption     = Infobox Rovers Football Club Logo
|fullname    = Infobox Rovers Football Club
|nickname    = Templates
|founded     = 2001 as ''Infobox Rovers''
|dissolved   = 
|ground      = [[ANZ Stadium]]
|capacity    = 83,500
|chairman    = [[Jimmy Wales]]
|mgrtitle    = Head Coach
|manager     = Templator Infoboxer
|league      = Wikileague Annual
|season      = 2011-12 Wikileague Annual
|position    = 1st
|website     = http://en.wikipedia.org/
|kit_alt1    = Yellow jersey with black sleeves
|pattern_la1 = 
|pattern_b1  = 
|pattern_ra1 = 
|leftarm1    = 000000
|body1       = FFD700
|rightarm1   = 000000
|shorts1     = 000000
|socks1      = 000000
|kit_alt2    = Red and blue thin stripes
|pattern_la2 = 
|pattern_b2  = _fcbarcelona1112H
|pattern_ra2 = 
|pattern_sh2 = _fcbarcelona1112h
|pattern_so2 = 
|leftarm2    = 0000BB
|body2       = 0000BB
|rightarm2   = 0000BB
|shorts2     = 0000BB
|socks2      = 0000BB
|kit_alt3    = Light gray jersey with blue left and pink right sleeves, light green shorts, rose-gray socks
|pattern_la3 = 
|pattern_b3  = 
|pattern_ra3 = 
|pattern_sh3 = 
|pattern_so3 = 
|leftarm3    = ffcccc
|body3       = cccccc
|rightarm3   = ccccff
|shorts3     = ccffcc
|socks3      = ddcccc
}}

Parameters[golygu cod y dudalen]

All parameters are optional.

  • fullname — The club's complete name.
  • founded — The year the club was founded. Should not be wikilinked.
  • clubname — The commonly-used name of the club.
  • ground — The name of the club's home ground.
  • capacity — The capacity of the club's home ground.
  • image — The official badge/logo of the club. The "|alt=alt text" is for WP:ACCESSIBILITY for the visually impaired; see WP:ALT.
  • caption — Caption for image, if provided.
  • nickname — The club's most common nickname. Extensive lists of nicknames can be discussed in the article itself and the author should use their judgement to select the most appropriate entry for this parameter.
  • dissolved — The year the club was dissolved. Should not be wikilinked.
  • owntitle — The job title of the owner of the club, e.g. "Owner"
  • owner — The name of the club's owner. Wikilinked only if an article already exists, or one is likely to be created.
  • chrtitle — The job title of the chairman of the club, e.g. "Chairman", "President"
  • chairman — The name of the club's chairman. Wikilinked only if an article already exists, or one is likely to be created.
  • mgrtitle — The job title of the person in charge of first team affairs, e.g. "Manager", "Head Coach".
  • manager — The name of the person in charge of first team affairs.
  • league — The league in which the club currently plays.
  • season — The last completed competitive league season. i.e Not the current season.
  • position — The league and position to which season refers.
  • website — The URL of the club's official website. Should not be linked.
  • kit_alt1 — Alt text for first kit; see WP:ALT. kit_alt2 and kit_alt3 are similar.

For details on the football kit template syntax, see Template:Football kit.

Others
  • Americantrue will switch the box to American spelling and Stadium instead of ground

Microformat[golygu cod y dudalen]

The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[golygu cod y dudalen]

  • If the organisation has an "established", "founded", "opened" or similar date, use {{start date}} (unless the date is before 1583 CE).
  • If the organisation has a URL, use {{URL}}.
  • If the organisation has a "coordinates" field, use {{coord}} to include a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.

Please do not remove instances of these sub-templates.

Classes[golygu cod y dudalen]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.

See also[golygu cod y dudalen]