Difference between revisions of "MagazineName"
From Sega Retro
Line 39: | Line 39: | ||
{{MagazineNameBR}} | {{MagazineNameBR}} | ||
{{MagazineNameAR}} | {{MagazineNameAR}} | ||
− | </div>{{#ifeq:{{{nomagname}}}|yes||{{#var:magname}}}} {{#ifeq:{{{noissuename}}}|yes||{{#var:issuename}}}} {{#ifeq:{{{ | + | </div>{{#ifeq:{{{nomagname}}}|yes||{{#var:magname}}}} {{#ifeq:{{{noissuename}}}|yes||{{#var:issuename}}}} {{#ifeq:{{{nopubdate}}}|yes||{{#ifeq:{{{noissuename}}}|yes||(}}{{#var:pubdate}}{{#ifeq:{{{noissuename}}}|yes||)}}}}{{#vardefine:magname||}}{{#vardefine:issuename||}}{{#vardefine:pubdate||}}</includeonly><noinclude>[[Category:Sega Retro templates]]</noinclude> |
Revision as of 06:30, 23 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>|nomagname=|noissuename=|nodate=}}
If "dateonly" is set to yes, only the release date will be returned.
Example
{{MagazineName|dmuk|12}}
Gives
()
{{MagazineName|dmuk|12|dateonly=yes}}
Gives
()