Help us get to over 8,756 articles in 2024.

If you know of a magician not listed in MagicPedia, start a New Biography for them. Contact us at magicpediahelp@gmail.com

Template:GeniiVolumeNumber: Difference between revisions

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>Genii {{#ifexpr:({{{1}}} < 36)
<includeonly>Genii {{#ifexpr:({{{1}}} < 36)
  |{{#switch:{{{2}}}
  |{{#switch:{{{2}}}
  |1={{#expr:1935+{{{1}}}}} September
  |2={{#expr:1935+{{{1}}}}} October
  |3={{#expr:1935+{{{1}}}}} November
  |4={{#expr:1935+{{{1}}}}} December
  |5={{#expr:1936+{{{1}}}}} January 
  |6={{#expr:1936+{{{1}}}}} February
  |7={{#expr:1936+{{{1}}}}} March
  |8={{#expr:1936+{{{1}}}}} April
  |9={{#expr:1936+{{{1}}}}} May
  |10={{#expr:1936+{{{1}}}}} June
  |11={{#expr:1936+{{{1}}}}} July
  |12={{#expr:1936+{{{1}}}}} August}}
|{{#ifexpr:({{{1}}} = 35)
  |{{#switch:{{{2}}}
   |1={{#expr:1935+{{{1}}}}} September
   |1={{#expr:1935+{{{1}}}}} September
   |2={{#expr:1935+{{{1}}}}} October
   |2={{#expr:1935+{{{1}}}}} October

Revision as of 18:55, 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 {{#ifexpr:(1 < 36)
|1936 October
|1937 February]] 
{{GeniiVolumeNumber|6|3}} returns [[Genii {{#ifexpr:(6 < 36)
|1941 November
|1942 March]] 
{{GeniiVolumeNumber|10|4}} returns [[Genii {{#ifexpr:(10 < 36)
|1945 December
|1946 April]] 
{{GeniiVolumeNumber|20|5}} returns [[Genii {{#ifexpr:(20 < 36)
|1956 January
|1956 May]] 
{{GeniiVolumeNumber|30|6}} returns [[Genii {{#ifexpr:(30 < 36)
|1966 February
|1966 June]] 
{{GeniiVolumeNumber|35|6}} returns [[Genii {{#ifexpr:(35 < 36)
|1971 February
|1971 February]] 
{{GeniiVolumeNumber|36|6}} returns [[Genii {{#ifexpr:(36 < 36)
|1972 February
|1972 June]] 
{{GeniiVolumeNumber|40|7}} returns [[Genii {{#ifexpr:(40 < 36)
|1976 March
|1976 July]] 
{{GeniiVolumeNumber|47|7}} returns [[Genii {{#ifexpr:(47 < 36)
|1983 March
|1983 July]] 
{{GeniiVolumeNumber|48|7}} returns [[Genii {{#ifexpr:(48 < 36)
|1984 March
|1984 July]] 
{{GeniiVolumeNumber|49|2}} returns [[Genii {{#ifexpr:(49 < 36)
|1984 October
|1986 February]] 
{{GeniiVolumeNumber|50|1}} returns [[Genii {{#ifexpr:(50 < 36)
|1985 September
|1987 January]] 
{{GeniiVolumeNumber|60|7}} returns [[Genii {{#ifexpr:(60 < 36)
|1996 March
|1997 July]] 
{{GeniiVolumeNumber|70|7}} returns [[Genii {{#ifexpr:(70 < 36)
|2006 March
|2007 July]] 
{{GeniiVolumeNumber|75|7}} returns [[Genii {{#ifexpr:(75 < 36)
|2011 March
|2012 July]]