Fyrimynd:Gold1

Page semi-protected
Frá Wikipedia, hin frælsa alfrøðin

1st

Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

This template is for including medal symbols in sporting event result tables, while preserving the ability for sort.

Template series

The first group of templates show medal images while giving a table sort of 01, 02 or 03, respectively.

The second group of templates are show medal images with display text of either Gold, Silver, Bronze. These also give a table sort of 01, 02 or 03, respectively.

Usage

Simply insert the template where you would like to see the symbol. No parameters are required.

Sorting will work numerically unless the column contains any non-numeric text, in which case a text sort will occur (e.g. "10" is before "3"). The templates automatically use 01, 02 and 03 as the sorting. To get the desired sort results for other numbers it may be necessary to use the {{sort}} template to specify appropriate sort keys to be inserted as hidden text in front of the displayed values. For example {{sort|9|DQ}} displays "DQ" but sorts using "9 DQ".

Parameter

The link parameter can be used to pass a link to an article to {{sort}}.

Example:

  • {{gold1|link=article name}}

It defaults to null.

Examples

Deprecated templates

The below templates have had their functionality merged into the main templates, as bad sorting is never a useful feature.

See also