Help us get to over 4,000 biographies in 2016.

If you know of a past magician not listed in MagicPedia, start a New Biography for them or Email us your suggestion.

Difference between revisions of "Template:GeniiVolumeNumber"

From Magicpedia, the free online encyclopedia for magicians by magicians.
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}}} < 49)
 
   |{{#switch:{{{2}}}
 
   |{{#switch:{{{2}}}
 
   |1={{#expr:1936+{{{1}}}}} January
 
   |1={{#expr:1936+{{{1}}}}} January

Revision as of 18:53, 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