Template:GeniiVolumeNumber

(Difference between revisions)
Jump to: navigation, search
m
m
Line 13: Line 13:
 
   |11={{#expr:1936+{{{1}}}}} July
 
   |11={{#expr:1936+{{{1}}}}} July
 
   |12={{#expr:1936+{{{1}}}}} August}}
 
   |12={{#expr:1936+{{{1}}}}} August}}
  |{{#ifexpr:({{{1}}} < 49)
+
  |{{#ifexpr:({{{1}}} = 36)
 +
  |{{#switch:{{{2}}}
 +
  |1={{#expr:1935+{{{1}}}}} September
 +
  |2={{#expr:1935+{{{1}}}}} October
 +
  |3={{#expr:1935+{{{1}}}}} November
 +
  |4={{#expr:1935+{{{1}}}}} December
 +
  |5={{#expr:1935+{{{1}}}}} January 
 +
  |6={{#expr:1935+{{{1}}}}} February
 +
  |7={{#expr:1936+{{{1}}}}} July
 +
  |8={{#expr:1936+{{{1}}}}} August
 +
  |9={{#expr:1936+{{{1}}}}} September
 +
  |10={{#expr:1936+{{{1}}}}} October
 +
  |11={{#expr:1936+{{{1}}}}} November
 +
  |12={{#expr:1936+{{{1}}}}} December}}
 +
|{{#ifexpr:({{{1}}} = 49)
 
   |{{#switch:{{{2}}}
 
   |{{#switch:{{{2}}}
 
   |1={{#expr:1936+{{{1}}}}} January
 
   |1={{#expr:1936+{{{1}}}}} January

Revision as of 18:52, 29 April 2013


This template returns the Genii article page name for the volume number

Does not play nicely with "subst:"

Syntax:
{{GeniiVolumeNumber|volume| number}}
Examples:
{{GeniiVolumeNumber|1|2}} returns Genii 1936 October
{{GeniiVolumeNumber|6|3}} returns Genii 1941 November
{{GeniiVolumeNumber|10|4}} returns Genii 1945 December
{{GeniiVolumeNumber|20|5}} returns Genii 1956 January
{{GeniiVolumeNumber|30|6}} returns Genii 1966 February
{{GeniiVolumeNumber|35|6}} returns Genii 1971 February
{{GeniiVolumeNumber|36|6}} returns Genii 1972 June
{{GeniiVolumeNumber|40|7}} returns Genii 1976 July
{{GeniiVolumeNumber|47|7}} returns Genii 1983 July
{{GeniiVolumeNumber|48|7}} returns Genii 1984 July
{{GeniiVolumeNumber|49|2}} returns Genii 1986 February
{{GeniiVolumeNumber|50|1}} returns Genii 1987 January
{{GeniiVolumeNumber|60|7}} returns Genii 1997 July
{{GeniiVolumeNumber|70|7}} returns Genii 2007 July
{{GeniiVolumeNumber|75|7}} returns Genii 2012 July


Personal tools
Namespaces
Variants
Actions
Interaction
Support our sponsor
Share
Toolbox