Difference between revisions of "MagazineName"
From Sega Retro
Line 3: | Line 3: | ||
==Use== | ==Use== | ||
<pre> | <pre> | ||
− | {{MagazineName | + | {{MagazineName|<name>|<issueno>|dateonly=}} |
− | | name | ||
− | | issueno | ||
− | | dateonly= | ||
</pre> | </pre> | ||
If "dateonly" is set to yes, only the release date will be returned. | If "dateonly" is set to yes, only the release date will be returned. | ||
+ | |||
+ | ==Example== | ||
+ | <pre>{{MagazineName|dmuk|12}}</pre> | ||
+ | Gives | ||
+ | {{MagazineName|dmuk|12}} | ||
+ | |||
+ | <pre>{{MagazineName|dmuk|12|dateonly=yes}}</pre> | ||
+ | Gives | ||
+ | {{MagazineName|dmuk|12|dateonly=yes}} | ||
</noinclude><div style="display:none;"> | </noinclude><div style="display:none;"> | ||
− | {{#vardefine:name|{{{ | + | {{#vardefine:name|{{{1}}}}}{{#vardefine:issueNo|{{{2}}}}} |
{{#vardefine:fullname|}} | {{#vardefine:fullname|}} |
Revision as of 14:47, 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
- 12 (2000-08-10)
{{MagazineName|dmuk|12|dateonly=yes}}
Gives
- 12 (2000-08-10)
- 12 (2000-08-10)