Difference between revisions of "MagazineName"

From Sega Retro

(seems to work as intended)
Line 69: Line 69:
 
|<pre>{{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}}</pre>
 
|<pre>{{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}}</pre>
 
|}
 
|}
Returns {{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}}[[Category:Sega Retro templates]]</noinclude>
+
Returns {{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}}[[Category:Magazine templates]]</noinclude>

Revision as of 16:53, 10 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

{{MagazineName|dmuk}}

Returns Dreamcast Magazine (UK)


{{MagazineName|dmuk|12}}

Returns Dreamcast Magazine (UK) #12: "No. 12" (2000-08-10)


{{MagazineName|dmuk|12|nomagname=yes}}

Returns #12: "No. 12" (2000-08-10)


{{MagazineName|dmuk|12|noissuename=yes}}

Returns Dreamcast Magazine (UK) 2000-08-10


{{MagazineName|dmuk|12|nopubdate=yes}}

Returns Dreamcast Magazine (UK) #12: "No. 12"


{{MagazineName|dmuk|12|nomagname=yes|nopubdate=yes}}

Returns #12: "No. 12"


{{MagazineName|dmuk|12|nomagname=yes|noissuename=yes}}

Returns 2000-08-10

{{MagazineName|dmuk|12|noissuename=yes|nopubdate=yes}}

Returns Dreamcast Magazine (UK)