Template:Month by year in Sweden: Difference between revisions
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 |
| 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
This documentation is transcluded from Template:Month by year in Sweden/doc.
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: | ← 1940–1941–1942–1943–1944–1945–1946–1947–1948–1949 → |
1941 in Sweden by month: | ← 01 – 02 – 03 – 04 – 05 – 06 – 07 – 08 – 09 – 10 – 11 – 12 → |
{{#switch:Template | Category = {{#switch:7 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 = | Category =
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | The first three digits of the number of the year (indicating the decade) | empty | required | |
2 | The fourth digit of the number of the year (indicating the precise year) | empty | required | |
3 | The number of month in the year | empty | required |
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}}.