Difference between revisions of "DiskzineName"
From NEC Retro
(Created page with "<noinclude>{{TODO}} (shamelessly copying the magazine template) This template generates a full name for a diskzine, given a name and an issue number (either a number or a dat...") |
m (oop) |
||
Line 15: | Line 15: | ||
<includeonly><div style="display:none;"> | <includeonly><div style="display:none;"> | ||
− | {{#vardefine:name|{{{1}}}}}{{#vardefine:issueno|{{{2}}}}}{{#vardefine: | + | {{#vardefine:name|{{{1}}}}}{{#vardefine:issueno|{{{2}}}}}{{#vardefine:diskname|}} |
{{#ifeq:{{#var: diskname}}||{{DiskzineNameJP}}|}} | {{#ifeq:{{#var: diskname}}||{{DiskzineNameJP}}|}} | ||
+ | |||
</div>{{#ifeq:{{{nomagname}}}|yes||{{#var:diskname}}}} {{#ifeq:{{{noissuename}}}|yes||{{#var:issuename}}}} {{#ifeq:{{{nopubdate}}}|yes||{{#ifeq:{{{noissuename}}}|yes||(}}{{#var:pubdate}}{{#ifeq:{{{noissuename}}}|yes||)}}}}{{#vardefine:diskname||}}{{#vardefine:issuename||}}{{#vardefine:pubdate||}}</includeonly><noinclude>[[Category:Templates]]</noinclude> | </div>{{#ifeq:{{{nomagname}}}|yes||{{#var:diskname}}}} {{#ifeq:{{{noissuename}}}|yes||{{#var:issuename}}}} {{#ifeq:{{{nopubdate}}}|yes||{{#ifeq:{{{noissuename}}}|yes||(}}{{#var:pubdate}}{{#ifeq:{{{noissuename}}}|yes||)}}}}{{#vardefine:diskname||}}{{#vardefine:issuename||}}{{#vardefine:pubdate||}}</includeonly><noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 18:30, 9 April 2024
This task is unfinished This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of NEC Retro:Todo until this message is removed. |
(shamelessly copying the magazine template)
This template generates a full name for a diskzine, given a name and an issue number (either a number or a date). This saves having to look up precise release dates of diskzines, and should greatly speed up the creation of lists of articles.
Use
{{DiskzineName|<name>|<issueno>|nomagname=|noissuename=|nopubdate=}} |
By default this returns a long string - parts can be omitted using the |no(x) fields.
Examples
(basically the same as the magazine counterpart)