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
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[Genii | <includeonly>[[Genii | ||
{{#ifexpr:({{{1}}} | {{#ifexpr:({{{1}}} < 9) | ||
|{{#switch:{{{1}}} | |{{#switch:{{{1}}} | ||
|1=1936 | |1=1936 | ||
Line 12: | Line 12: | ||
}} | }} | ||
{{#ifexpr:({{{1}}} < | {{#ifexpr:({{{1}}} < 10) | ||
|{{#switch:{{{1}}} | |{{#switch:{{{1}}} | ||
| | |10=1962 | ||
| | |11=1963 | ||
| | |12=1964}} {{#switch:{{{2}}} | ||
|1=January | |1=January | ||
|2=February | |2=February | ||
Line 33: | Line 33: | ||
; Examples for all standard English month names<nowiki>:</nowiki> | ; Examples for all standard English month names<nowiki>:</nowiki> | ||
: <tt><nowiki>{{</nowiki>GeniiVolumeNumber<nowiki>|1|2}}</nowiki></tt> returns {{GeniiVolumeNumber|1|2}} | : <tt><nowiki>{{</nowiki>GeniiVolumeNumber<nowiki>|1|2}}</nowiki></tt> returns {{GeniiVolumeNumber|1|2}} | ||
: <tt><nowiki>{{</nowiki>GeniiVolumeNumber<nowiki>|11|3}}</nowiki></tt> returns {{GeniiVolumeNumber| | : <tt><nowiki>{{</nowiki>GeniiVolumeNumber<nowiki>|11|3}}</nowiki></tt> returns {{GeniiVolumeNumber|11|3}} | ||
<includeonly> | <includeonly> | ||
</noinclude> | </noinclude> |
Revision as of 16: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
February ]]
- {{GeniiVolumeNumber|11|3}} returns [[Genii
]]