Help us get to over 8,755 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
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}}} | ||
|1=September | |1=September | ||
|2=October | |2=October | ||
Line 17: | Line 14: | ||
|12=August}} | |12=August}} | ||
| }}{{#ifexpr:({{{1}}} > 36) | | }}{{#ifexpr:({{{1}}} > 36) | ||
|{{# | |{{#expr:1961+{{{1}}}}} {{#switch:{{{2}}} | ||
|1=January | |1=January | ||
|2=February | |2=February |
Revision as of 16:39, 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 1955 January
- {{GeniiVolumeNumber|30|6}} returns Genii 1965 February
- {{GeniiVolumeNumber|40|7}} returns Genii 2001 July