Template:Magazine: Difference between revisions

From Diskmags Catalog
No edit summary
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 6: Line 6:
{{#if: {{{Also known as|}}}| Also known as: {{#arraymap:{{{Also known as|}}}|;|x|[[Also known as::x]]}} }}
{{#if: {{{Also known as|}}}| Also known as: {{#arraymap:{{{Also known as|}}}|;|x|[[Also known as::x]]}} }}
<!--{{#ifeq: {{{Also known as|}}}| |{{#set:Also known as=no alternative names}}{{{Also known as|no alternative names}}}|{{#arraymap:{{{Also known as|}}}|;|x|[[Also known as::x]]}} }}-->
<!--{{#ifeq: {{{Also known as|}}}| |{{#set:Also known as=no alternative names}}{{{Also known as|no alternative names}}}|{{#arraymap:{{{Also known as|}}}|;|x|[[Also known as::x]]}} }}-->
Relations with: {{#ifeq: {{{Has RelationTo|}}}| |<div style="display:none;"></div>|{{#arraymap:{{{Has RelationTo|}}}|;|XX|[[Has RelationTo::XX]]}} }}


Publication dates: [[Start date::{{{Start date|}}}]] - [[End date::{{{End date|}}}]]
Publication dates: [[Start date::{{{Start date|}}}]] - [[End date::{{{End date|}}}]]
Line 17: Line 19:
Language: {{#ifeq: {{{Language|}}}| |{{#set:Language=unknown}}{{{Language|unknown}}}|{{#arraymap:{{{Language|}}}|;|x|[[Language::x]]}} }}
Language: {{#ifeq: {{{Language|}}}| |{{#set:Language=unknown}}{{{Language|unknown}}}|{{#arraymap:{{{Language|}}}|;|x|[[Language::x]]}} }}


Origin: {{#ifeq: {{{Origin|}}}| |{{#set:Origin=unknown}}{{{Origin|unknown}}}|[[Origin::{{{Origin|}}}]] }}
Origin: {{#ifeq: {{{Origin|}}}| |{{#set:Origin=unknown}}{{{Origin|unknown}}}|{{#arraymap:{{{Origin|}}}|;|x|[[Origin::x]]}} }}


Systems: {{#arraymap:{{{Systems|}}}|;|x|[[Systems::x]]}}
Systems: {{#arraymap:{{{Systems|}}}|;|x|[[Systems::x]]}}
Region: [[Region::{{{Region|}}}]]


</div>
</div>
Line 26: Line 30:
{{#arraymap:{{{Screenshots|}}}|,|x|File:x|\n}}|mode=slideshow
{{#arraymap:{{{Screenshots|}}}|,|x|File:x|\n}}|mode=slideshow
}}</div></div>
}}</div></div>
----
----
 
=== Summaries ===
{{#ask:
[[-Has subobject::{{FULLPAGENAME}}]]
[[Is MagazineSummary::+]]
|mainlabel=-
|sort=Has Language
|order=ascending
|?Has Language=Language
|?Has Summary=Summary
|format=datatables
}}
----
=== Issues ===
=== Issues ===
<!--
<!--
Line 35: Line 49:
</ul>
</ul>
-->
-->
<div class="issues">
 
<!--
{{#arraydefine:issues|{{{Issues|}}}|;}}
{{#arraysort:issues|reverse}}
<ul>
{{#arrayprint:issues|<li>|@@@@|<li>{{#formredlink:target=@@@@|form=Issue}}</li>}}
</ul>
-->
 
<!--<div class="issues">
<ul>
<ul>
{{#arraymap:{{{Issues|}}}|;|x|<li>[[Issues::x]]</li>|}}
{{#arraymap:{{{Issues|}}}|;|x|<li>[[Issues::x]]</li>|}}
</ul>
</ul>
</div>
</div>-->


----
{{#ask:
{{#arraydefine:issues|{{{Issues|}}}|;}}
[[Category:Issue]]
{{#arrayprint:issues|<br/>}}
[[Magazine::{{PAGENAME}}]]
|?Release Date
|format=datatables
|mainlabel=Issue
|limit=500
|order=ascending
|datatables-lengthMenu=20, 50, 100, 200
}}


Issues checked: [[Issues checked::{{{Issues checked|}}}]]
Issues checked: [[Issues checked::{{{Issues checked|}}}]]

Latest revision as of 08:12, 8 November 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.