Help us get to over 4,000 biographies in 2018.

If you know of a past magician not listed in MagicPedia, start a New Biography for them or Email us your suggestion.

Difference between revisions of "Template:GeniiIssueNext"

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{{GeniiVolumeNumber
+
<includeonly>{{#time:Y F|{{#explode:{{{1}}}| |2}} {{#explode:{{{1}}}| |3}} +1 month }}</includeonly><noinclude>  
|{{#ifexpr:{{{2}}} = 12 | {{#expr:{{{1}}}+1}} | {{{1}}} }} 
+
|{{#ifexpr:{{{2}}} = 12 | 1 |{{#expr:{{{2}}}+1}} }}
+
}}</includeonly><noinclude>  
+
  
 
This template returns the Next  Genii issue
 
This template returns the Next  Genii issue
Line 9: Line 6:
 
   
 
   
 
; Syntax<nowiki>:</nowiki>
 
; Syntax<nowiki>:</nowiki>
: <tt><nowiki>{{</nowiki>GeniiIssueNext|</tt>''volume''| ''number''<tt>}}</tt>
+
: <tt><nowiki>{{</nowiki>GeniiIssueNext|</tt>''Genii October 1962''<tt>}}</tt>
 
   
 
   
 
; Examples<nowiki>:</nowiki>
 
; Examples<nowiki>:</nowiki>
: <tt><nowiki>{{</nowiki>GeniiIssueNext<nowiki>|1|1}}</nowiki></tt> returns [[{{GeniiIssueNext|1|1}}]]  
+
: <tt><nowiki>{{</nowiki>GeniiIssueNext<nowiki>|Genii November 1952}}</nowiki></tt> returns [[{{GeniiIssueNext|Genii November 1952}}]]  
: <tt><nowiki>{{</nowiki>GeniiIssueNext<nowiki>|6|8}}</nowiki></tt> returns [[{{GeniiIssueNext|6|8}}]]  
+
: <tt><nowiki>{{</nowiki>GeniiIssueNext<nowiki>|Genii December 1952}}</nowiki></tt> returns [[{{GeniiIssueNext|Genii December 1952}}]]  
: <tt><nowiki>{{</nowiki>GeniiIssueNext<nowiki>|11|12}}</nowiki></tt> returns [[{{GeniiIssueNext|11|12}}]]  
+
: <tt><nowiki>{{</nowiki>GeniiIssueNext<nowiki>|Genii January 2000}}</nowiki></tt> returns [[{{GeniiIssueNext|Genii January 2000}}]]  
 
    
 
    
 
</noinclude>
 
</noinclude>

Revision as of 22:27, 14 May 2013


This template returns the Next Genii issue

Does not play nicely with "subst:"

Syntax:
{{GeniiIssueNext|Genii October 1962}}
Examples:
{{GeniiIssueNext|Genii November 1952}} returns Genii 1952 December
{{GeniiIssueNext|Genii December 1952}} returns Genii 1953 January
{{GeniiIssueNext|Genii January 2000}} returns Genii 2000 February