Help us get to over 8,749 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

Difference between revisions of "Template:GeniiVolumeNumber"

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>[[Genii {{#ifexpr:({{{1}}} > 10)
+
<includeonly>[[Genii  
 +
 
 +
{{#ifexpr:({{{1}}} > 10)
 
  |{{#switch:{{{1}}}
 
  |{{#switch:{{{1}}}
 
   |1=1936
 
   |1=1936
Line 6: Line 8:
 
   |1=September
 
   |1=September
 
   |2=October
 
   |2=October
   |3=November}}|}}{{#ifexpr:({{{1}}} < 9)
+
   |3=November}}
 +
|  
 +
}}  
 +
 +
{{#ifexpr:({{{1}}} < 9)
 
  |{{#switch:{{{1}}}
 
  |{{#switch:{{{1}}}
 
   |1=1962
 
   |1=1962
Line 13: Line 19:
 
   |1=January
 
   |1=January
 
   |2=February
 
   |2=February
   |3=March}}|}}]]
+
   |3=March}}|
 +
}}
 +
]]
 
</includeonly><noinclude>  
 
</includeonly><noinclude>  
  

Revision as of 21:30, 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|11|3}} returns Genii 1936 October