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: | ||
<includeonly2>[[Genii {{#switch:{{{1}}} | <includeonly2>[[Genii {{#ifexpr:{{{1}}}<10 | ||
| {{#switch:{{{1}}} | |||
|1=1936 | |1=1936 | ||
|2=1937 | |2=1937 | ||
Line 5: | Line 6: | ||
|1=September | |1=September | ||
|2=October | |2=October | ||
|3=November}}]] | |3=November}} | ||
| {{#switch:{{{1}}} | |||
|1=1962 | |||
|2=1963 | |||
|3=1964}} {{#switch:{{{2}}} | |||
|1=January | |||
|2=February | |||
|3=March}} | |||
}}]] | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 17: | Line 26: | ||
; 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|1|2}} | |||
<includeonly> | <includeonly> | ||
</noinclude> | </noinclude> |
Revision as of 16:02, 13 December 2012
<includeonly2>[[Genii Expression error: Unrecognized punctuation character "{".]] </includeonly>
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 <includeonly2>Genii 1936 October
- {{GeniiVolumeNumber|11|3}} returns <includeonly2>Genii 1936 October