Template:Magazine: Difference between revisions

From Diskmags Catalog
No edit summary
No edit summary
Tag: Reverted
Line 25: Line 25:


{{#ifeq:{{{Subcollection|}}}| |<div style="display:none"></div>|Subcollection: {{#arraymap:{{{Subcollection|}}}|;|x|[[Subcollection::x]]}} }}
{{#ifeq:{{{Subcollection|}}}| |<div style="display:none"></div>|Subcollection: {{#arraymap:{{{Subcollection|}}}|;|x|[[Subcollection::x]]}} }}
</div>
<div class="pagination">
  {{#vardefine:title|{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}| No.}}}} }}
  {{#vardefine:number|{{#replace:{{PAGENAME}}|{{#var:title}} No.|}} }}
  {{#vardefine:prevNumber|{{#expr: {{#var:number}} - 1}} }}
  {{#vardefine:nextNumber|{{#expr: {{#var:number}} + 1}} }}
  [[{{#var:title}} No.{{#var:prevNumber}}|Previous issue]]
  [[{{#var:title}} No.{{#var:nextNumber}}|Next issue]]
</div>
</div>



Revision as of 19:26, 3 December 2024

This is the "Magazine" template.

It should be called in the following format:

{{Magazine
|Also known as=
|Start date=
|End date=
|Groups=
|Publishers=
|Type=
|Language=
|Origin=
|Systems=
|Issues=
|Screenshots=
|Source=
}}

Edit the page to see the template text.