Difference between revisions of "MagazineName"
From Sega Retro
Line 15: | Line 15: | ||
Gives | Gives | ||
{{MagazineName|dmuk|12|dateonly=yes}} | {{MagazineName|dmuk|12|dateonly=yes}} | ||
− | </noinclude><div style="display:none;"> | + | </noinclude><includeonly><div style="display:none;"> |
{{#vardefine:name|{{{1}}}}}{{#vardefine:issueNo|{{{2}}}}} | {{#vardefine:name|{{{1}}}}}{{#vardefine:issueNo|{{{2}}}}} | ||
Line 58: | Line 58: | ||
}} | }} | ||
|#default= | |#default= | ||
− | }}</div>{{#ifeq:{{{dateonly}}}|yes||{{#var:fullname}}}} {{#var:fulldate}} | + | }}</div>{{#ifeq:{{{dateonly}}}|yes||{{#var:fullname}}}} {{#var:fulldate}}</includeonly> |
Revision as of 14:49, 22 April 2016
This template generates a full name for a magazine, given a name and an issue number (either a number or a date). This saves having to look up precise release dates of magazines, and should greatly speed up the creation of lists of articles.
Use
{{MagazineName|<name>|<issueno>|dateonly=}}
If "dateonly" is set to yes, only the release date will be returned.
Example
{{MagazineName|dmuk|12}}
Gives
Dreamcast Magazine #12 (2000-08-10)
{{MagazineName|dmuk|12|dateonly=yes}}
Gives
#12 (2000-08-10)