Template:Televisionyear

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


Internationalization
Bahasa Melayu: Siri televisyen {{{1}}}{{{2}}}-an
 ·
Bosanski: {{{1}}}{{{2}}}. na televiziji
 ·
Deutsch: Fernsehjahr {{{1}}}{{{2}}}
 ·
English: {{{1}}}{{{2}}} in television
 ·
Español: Televisión en {{{1}}}{{{2}}}
 ·
Português: {{{1}}}{{{2}}} na televisão
 ·
Română: {{{1}}}{{{2}}} în televiziune
 ·
Русский: {{{1}}}{{{2}}} в телевидении
 ·
Srpskohrvatski / српскохрватски: {{{1}}}{{{2}}}. na televiziji
 ·
Svenska: TV-året {{{1}}}{{{2}}}
 ·
Türkçe: {{{1}}}{{{2}}}'da televizyon
 ·
中文:{{{1}}}{{{2}}}年电视
 ·
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Televisionyear/doc.

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

The template automatically sets the following categories:

Usage

{{Televisionyear |1= |2= }}

{{Televisionyear|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 television 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

{{Televisionyear|201|4}}

renders as:

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


Internationalization
Bahasa Melayu: Siri televisyen 2014-an
 ·
Bosanski: 2014. na televiziji
 ·
Deutsch: Fernsehjahr 2014
 ·
English: 2014 in television
 ·
Español: Televisión en 2014
 ·
Português: 2014 na televisão
 ·
Română: 2014 în televiziune
 ·
Русский: 2014 в телевидении
 ·
Srpskohrvatski / српскохрватски: 2014. na televiziji
 ·
Svenska: TV-året 2014
 ·
Türkçe: 2014'de televizyon
 ·
中文: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)