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)
  |{{#expr:1935+{{{1}}}}} {{#switch:{{{2}}}
  |{{#switch:{{{2}}}
  |1=September
  |1={{#expr:1935+{{{1}}}}} September
  |2=October
  |2={{#expr:1935+{{{1}}}}} October
   |3=November
   |3={{#expr:1935+{{{1}}}}} November
   |4=December
   |4={{#expr:1935+{{{1}}}}} December
   |5=January   
   |5={{#expr:1936+{{{1}}}}} January   
   |6=February
   |6={{#expr:1936+{{{1}}}}} February
   |7=March
   |7={{#expr:1936+{{{1}}}}} March
   |8=April
   |8={{#expr:1936+{{{1}}}}} April
   |9=May
   |9={{#expr:1936+{{{1}}}}} May
   |10=June
   |10={{#expr:1936+{{{1}}}}} June
   |11=July
   |11={{#expr:1936+{{{1}}}}} July
   |12=August}}
   |12={{#expr:1936+{{{1}}}}} August}}
  | }}{{#ifexpr:({{{1}}} > 35)
  | }}{{#ifexpr:({{{1}}} > 35)
  |{{#expr:1970+{{{1}}}}} {{#switch:{{{2}}}
  |{{#switch:{{{2}}}
  |1=January
  |1={{#expr:1970+{{{1}}}}} January
  |2=February
  |2={{#expr:1970+{{{1}}}}} February
   |3=March
   |3={{#expr:1970+{{{1}}}}} March
   |4=April
   |4={{#expr:1970+{{{1}}}}} April
   |5=May
   |5={{#expr:1970+{{{1}}}}} May
   |6=June
   |6={{#expr:1970+{{{1}}}}} June
   |7=July
   |7={{#expr:1970+{{{1}}}}} July
   |8=August
   |8={{#expr:1970+{{{1}}}}} August
   |9=September
   |9={{#expr:1970+{{{1}}}}} September
   |10=October
   |10={{#expr:1970+{{{1}}}}} October
   |11=November
   |11={{#expr:1970+{{{1}}}}} November
   |12=December}}|}}]]
   |12={{#expr:1970+{{{1}}}}} December}}|}}]]
</includeonly><noinclude>  
</includeonly><noinclude>  



Revision as of 16:47, 13 December 2012


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

Does not play nicely with "subst:"

Syntax:
{{GeniiVolumeNumber|volume| number}}
Examples for all standard English month names:
{{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 2006 June
{{GeniiVolumeNumber|40|7}} returns Genii 2010 July