Difference between revisions of "MagazineName"
From Sega Retro
Line 9: | Line 9: | ||
==Example== | ==Example== | ||
<pre>{{MagazineName|dmuk|12}}</pre> | <pre>{{MagazineName|dmuk|12}}</pre> | ||
+ | |||
Gives | Gives | ||
{{MagazineName|dmuk|12}} | {{MagazineName|dmuk|12}} | ||
<pre>{{MagazineName|dmuk|12|dateonly=yes}}</pre> | <pre>{{MagazineName|dmuk|12|dateonly=yes}}</pre> | ||
+ | |||
Gives | Gives | ||
{{MagazineName|dmuk|12|dateonly=yes}} | {{MagazineName|dmuk|12|dateonly=yes}} | ||
− | |||
− | |||
− | |||
− | |||
</noinclude><includeonly><div style="display:none;"> | </noinclude><includeonly><div style="display:none;"> | ||
{{#vardefine:name|{{{1}}}}}{{#vardefine:issueNo|{{{2}}}}} | {{#vardefine:name|{{{1}}}}}{{#vardefine:issueNo|{{{2}}}}} |
Revision as of 14:51, 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)