Template:Radioyear

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
{{{1}}}0s in radio
0
1
2
3
4
5
6
7
8
9


Internationalization
Deutsch: Hörfunkjahr {{{1}}}{{{2}}}
 ·
English: {{{1}}}{{{2}}} in radio
 ·
Svenska: Radioåret {{{1}}}{{{2}}}
 ·
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Radioyear/doc.

This template will insered as header in radio by year categories.

The template automatically sets the following categories:

Usage

{{Radioyear |1= |2= }}

{{Radioyear|decade|year}}

The template {{Decade years navbox}} will display a navigation box for the appropriate decade. Underneath the box for the different languages is displayed.

If a Wikidata item exists for the category, {{Wikidata Infobox}} will also be added to the right.

Template parameters

ParameterDescriptionDefaultStatus
1decadethree-digit decade (e.g. 202)emptyrequired
2yearlast digit of the year (e.g. 4)emptyrequired
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

This template will insered as header in radio by year categories.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
decade1

three-digit decade (e.g. ''202'')

Stringrequired
year2

last digit of the year (e.g. ''4'')

Stringrequired

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Relies on:

Example

{{Radioyear|201|4}}

renders as:

2010s in radio
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019


Internationalization
Deutsch: Hörfunkjahr 2014
 ·
English: 2014 in radio
 ·
Svenska: Radioåret 2014
 ·

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)