Difference between revisions of "MagazineName"
From Sega Retro
Scarred Sun (talk | contribs) |
|||
Line 25: | Line 25: | ||
==Examples== | ==Examples== | ||
− | {| | + | {|class="prettytable" |
− | |<pre>{{MagazineName|dmuk}}</pre> | + | ! Code || Result |
− | | | + | |- |
− | + | | <pre>{{MagazineName|dmuk}}</pre> | |
− | + | | {{MagazineName|dmuk}} | |
− | + | |- | |
− | |||
|<pre>{{MagazineName|dmuk|12}}</pre> | |<pre>{{MagazineName|dmuk|12}}</pre> | ||
− | | | + | | {{MagazineName|dmuk|12}} |
− | + | |- | |
− | |||
− | |||
− | |||
|<pre>{{MagazineName|dmuk|12|nomagname=yes}}</pre> | |<pre>{{MagazineName|dmuk|12|nomagname=yes}}</pre> | ||
− | | | + | | {{MagazineName|dmuk|12|nomagname=yes}} |
− | + | |- | |
− | |||
− | |||
− | |||
|<pre>{{MagazineName|dmuk|12|noissuename=yes}}</pre> | |<pre>{{MagazineName|dmuk|12|noissuename=yes}}</pre> | ||
− | | | + | | {{MagazineName|dmuk|12|noissuename=yes}} |
− | + | |- | |
− | |||
− | |||
− | |||
|<pre>{{MagazineName|dmuk|12|nopubdate=yes}}</pre> | |<pre>{{MagazineName|dmuk|12|nopubdate=yes}}</pre> | ||
− | | | + | | {{MagazineName|dmuk|12|nopubdate=yes}} |
− | + | |- | |
− | |||
− | |||
− | |||
|<pre>{{MagazineName|dmuk|12|nomagname=yes|nopubdate=yes}}</pre> | |<pre>{{MagazineName|dmuk|12|nomagname=yes|nopubdate=yes}}</pre> | ||
− | | | + | | {{MagazineName|dmuk|12|nomagname=yes|nopubdate=yes}} |
− | + | |- | |
− | |||
− | |||
− | |||
|<pre>{{MagazineName|dmuk|12|nomagname=yes|noissuename=yes}}</pre> | |<pre>{{MagazineName|dmuk|12|nomagname=yes|noissuename=yes}}</pre> | ||
− | | | + | | {{MagazineName|dmuk|12|nomagname=yes|noissuename=yes}} |
− | + | |- | |
− | |||
− | |||
|<pre>{{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}}</pre> | |<pre>{{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}}</pre> | ||
+ | | {{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}} | ||
|} | |} | ||
− | + | [[Category:Magazine templates]]</noinclude> |
Revision as of 11:19, 11 July 2018
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>|nomagname=|noissuename=|nopubdate=}} |
By default this returns a long string - parts can be omitted using the |no(x) fields.
Examples
Code | Result |
---|---|
{{MagazineName|dmuk}} |
Dreamcast Magazine (UK) |
{{MagazineName|dmuk|12}} |
Dreamcast Magazine (UK)
#12: "No. 12" (2000-08-10) |
{{MagazineName|dmuk|12|nomagname=yes}} |
#12: "No. 12" (2000-08-10) |
{{MagazineName|dmuk|12|noissuename=yes}} |
Dreamcast Magazine (UK)
2000-08-10 |
{{MagazineName|dmuk|12|nopubdate=yes}} |
Dreamcast Magazine (UK)
#12: "No. 12" |
{{MagazineName|dmuk|12|nomagname=yes|nopubdate=yes}} |
#12: "No. 12" |
{{MagazineName|dmuk|12|nomagname=yes|noissuename=yes}} |
2000-08-10 |
{{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}} |
Dreamcast Magazine (UK) |