Template:Month by year in Sweden: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 21: Line 21:


{{#switch:{{NAMESPACE}}
{{#switch:{{NAMESPACE}}
| Category = {{#switch:{{{3}}} | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = [[Category:{{{1|}}} in Europe| 0{{{3}}}]] | Category = {{#switch:{{{3}}} | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = [[Category:{{{1|}}}{{{2|}}} in Europe| 0{{{3}}}]] | Category = {{#switch:{{{3}}} | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = [[Category:{{{1|}}}{{{2|}}} in Sweden by month| 0{{{3}}}]] | 10 | 11 | 12 = [[Category:{{{1|}}}{{{2|}}} in Sweden by month| {{{3}}}]]}}[[Category:{{date|2={{{3|}}}|4=en}} {{{1|}}}{{{2|}}} by country|Sweden]]
| Category = {{#switch:{{{3}}} | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = [[Category:{{{1|}}} in by month| 0{{{3}}}]] | Category = {{#switch:{{{3}}} | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = [[Category:{{{1|}}}{{{2|}}} in Europe| 0{{{3}}}]] | Category = {{#switch:{{{3}}} | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = [[Category:{{{1|}}}{{{2|}}} in Sweden by month| 0{{{3}}}]] | 10 | 11 | 12 = [[Category:{{{1|}}}{{{2|}}} in Sweden by month| {{{3}}}]]}}[[Category:{{date|2={{{3|}}}|4=en}} {{{1|}}}{{{2|}}} by country|Sweden]]
{{#ifexpr: {{{1|}}} >= 200 or {{{1|}}} = 199 and {{{2|}}} >= 5 | {{#ifexist: Category:{{date|2={{{3|}}}|4=en}} {{{1|}}}{{{2|}}} in the European Union | [[Category:{{date|2={{{3|}}}|4=en}} {{{1|}}}{{{2|}}} in the European Union|Sweden]] }} }}
{{#ifexpr: {{{1|}}} >= 200 or {{{1|}}} = 199 and {{{2|}}} >= 5 | {{#ifexist: Category:{{date|2={{{3|}}}|4=en}} {{{1|}}}{{{2|}}} in the European Union | [[Category:{{date|2={{{3|}}}|4=en}} {{{1|}}}{{{2|}}} in the European Union|Sweden]] }} }}
| #default =
| #default =

Revision as of 16:05, 6 December 2011

Template documentationview · edit · history · purge ]

English: This template creates a navigation box for categories in the [[Category:MONTH YEAR in Sweden]] format under the parent categories Category:YEAR in Sweden by month and Category:MONTH YEAR by country for the year 1995 and later if that category exists. For example, in Category:February 1994 in Sweden. Please, consider before creating any categories for 1990 and earlier, since there number of Sweden-related images for that time is relatively small.
Suomi: Tämä malline luo navigaatiolaatikon muotoa [[Category:KUUKAUSI VUOSI in Sweden]] oleville luokille ja sisällyttää ne isäntäluokkiin Category:VUOSI in Sweden by month ja Category:KUUKAUSI VUOSI by country sekä vuotta 1995 ja sen jälkeistä aikaa koskevat luokat myös luokkaan Category:MONTH YEAR in the European Union, mikäli tämä luokka on olemassa. Ole hyvä ja harkitse, ennen kuin luot vuotta 1990 ja sitä aiempia vuosia koskevia luokkia, sillä ainakin toistaiseksi Commonsissa on suhteellisen vähän Suomea koskevia kuvia tältä ajalta.

The template automatically sets the following categories: YEAR in Sweden by month, MONTH YEAR by country

Usage

{{Monthbyyear |1= |2= |3= }}

For example, {{Month by year in Sweden|194|1|7}} gives:
English: July 1941 in Sweden
Suomi: Heinäkuu 1941 Ruotsissa
Svenska: Juli 1941 i Sverige
July 1941
July in Sweden by year: 1940194119421943194419451946194719481949
1941 in Sweden by month: 010203040506070809101112

{{#switch:Template | Category = {{#switch:7 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = | Category =

Template parameters

ParameterDescriptionDefaultStatus
1The first three digits of the number of the year (indicating the decade)emptyrequired
2The fourth digit of the number of the year (indicating the precise year)emptyrequired
3The number of month in the yearemptyrequired

Zusätzliche Informationen

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:
{{Date}}

See also

Notes

This template was based on {{Monthbyyear}}.