Nodyn:Infobox boxer

Oddi ar Wicipedia
Jump to navigation Jump to search
Ystadegau
Documentation icon Dogfennaeth nodyn[gweld] [golygu] [hanes] [puro]

Mae Template:Infobox boxer yn rhoi gorolwg cyflym o wybodaeth sylfaenol am baffwyr mewn bocs wrth ochr y brif erthygl. Bwriedir y wybodlen yma ar gyfer pob paffiwr presennol neu rhai wedi ymddeol/wedi marw.

Defnydd[golygu cod y dudalen]

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{caption}}}
Enw {{{realname}}}
Llysenw(au) {{{nickname}}}
Pwysau {{{weight}}}
Taldra {{{height}}}
Cyrhaeddiad {{{reach}}}
Cenedligrwydd {{{nationality}}}
Ganwyd {{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Bu farw {{{death_date}}}
{{{death_place}}}
Ystum {{{style}}}
Cofnod paffio
Cyfanswm gornestau {{{total}}}
Buddugoliaethau {{{wins}}}
Buddugoliaethau drwy KO {{{KO}}}
Colliadau {{{losses}}}
Cyfartal {{{draws}}}
Dim cystadleuaeth {{{no contests}}}
Gwefan {{{website}}}
{{Infobox boxer
| name           = 
| image          = 
| image_size     = 
| alt            = 
| caption        = 
| realname       = 
| nickname       = 
| weight         = 
| height         = <!-- "X ft Y in" or "X cm" (conversions are automatic) -->
| reach          = <!-- "X in" or "X cm" (conversions are automatic) -->
| nationality    = 
| birth_name     = 
| birth_date     = <!-- {{Birth date and age|year of birth|month of birth|day of birth}} -->
| birth_place    = 
| death_date     = <!-- {{death date and age|year of death|month of death|day of death|year of birth|month of birth|day of birth}} -->
| death_place    = 
| style          = 
| total          = 
| wins           = 
| KO             = 
| losses         = 
| draws          = 
| no contests    = 
| website        = 
| medaltemplates = 
| show-medals    = 
}}

Paramedrau[golygu cod y dudalen]

  • name — Enw cyffredin
  • image — Enw delwedd, os ar gael. Esiamplay: abc.jpg, xpz.png, 123.gif, etc.
  • image_size — Size to display image, in px. This parameter should not normally need to be set.
  • alt — Alt text for image. See WP:ALT.
  • caption — Pennawd ar gyfer delwedd, os oes angen. Rhowch ddyddiad y llun, os yn wybyddus.
  • realname — Enw llawn; dim ond i'w ddefnyddio os yw'n wahanol i 'name' uchod.
  • nickname — Llysenwau mwyaf cyffredin
  • weight — Currently published weight class. For retired and dead boxers, most commonly listed weight class (conversions are automatic but {{convert}} may be used)
  • height — Taldra rhestredig (conversions are automatic but {{convert}} may be used)
  • reach — Cyrhaeddiad sy'n gyhoeddus (conversions are automatic but {{convert}} may be used)
  • nationality — Cenedligrwydd, heb ddolen os yw'r paffiwr o wlad adnabyddus; dim eicon baner
  • birth_name — Enw genedigol
  • birth_date — Dyddiad geni, annogir i ddefnyddio {{birth date and age}} (is yn fyw) neu {{birth date}} (os yn farw)
  • birth_place — Tref/Dinas enedigol, gyda gwlad os yn wahanol i nationality
  • death_date — Dyddiad marwolaeth, defnyddiwch {{death date and age}} (os yw'r dyddiad geni yn wybyddus) neu {{death date}} (os nad yw'r dyddiad geni yn wybyddus).
  • death_place — Man marwolaeth
  • style — Ystum; defnyddiwch llawdde (Orthodox) neu llawchwith (Southpaw)
  • total — Cyfanswm nifer o ornestau
  • wins — Cyfanswm nifer o ornestau buddugol
  • KO — Cyfanswm nifer o lorio wrthwynebydd (knockouts)
  • losses — Cyfanswm nifer o golliadau; rhowch 0 os yw'n anorchfygedig
  • draws — Cyfanswm nifer o ornestau cyfartal; gadewch yn wag os nad ydyn nhw wedi cael gornestau cyfaratal
  • no contests — Cyfanswm nifer o ddim-cystadlaethau; gadewch yn wag os nad ydyn nhw wedi cael dim-cystadleuaeth
  • medaltemplates — All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}. Place the medal templates in the order stated in the medal templates documentation, and arrange the competitions alphabetically by name.
  • show-medals — If show-medals=no, the medal table is collapsed. By default, it is expanded.

Gweler hefyd[golygu cod y dudalen]

Microformat[golygu cod y dudalen]

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

Sub-templates[golygu cod y dudalen]

Date-of-birth ("bday") information will only be included in the microformat if {{Birth date}}, {{Birth date and age}}, {{Birth-date}} ({{bday}}), or {{Birth-date and age}} ({{b-da}}) are used in the infobox. (but do not use these if the date is before 1583).

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[golygu cod y dudalen]

hCard uses HTML classes including:
  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.{{#ifeq: Infobox boxer|doc||{{#ifeq: Infobox boxer|sandbox|| </noinclude>