Template:Magazine: Difference between revisions

From Diskmags Catalog
No edit summary
No edit summary
 
(69 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Also known as (list; property=Also known as)|Start date (property=Start date)|End date (property=End date)|Language (property=Language)|Origin (property=Origin)|Systems (list;property=Systems)|Issues (list;property=Issues)|Groups (list;property=Groups)|Publishers (list; Property=Publisher)|Type (property=Type)|Screenshots (list; property=Screenshots)|Source (list; property=Source)}}
{{#template_params:Also known as (list; property=Also known as)|Start date (property=Start date)|End date (property=End date)|Groups (list;property=Groups)|Publishers (list; Property=Publishers)|Type (property=Type)|Language (property=Language)|Origin (property=Origin)|Systems (list;property=Systems)|Issues (list;property=Issues)|Screenshots (list; property=Screenshots)|Source (list; property=Source)}}
</noinclude><includeonly>
</noinclude><includeonly>
<div class="row"><div class="meta col">
<div class="row"><div class="meta col">


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]]}} }}-->
 
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|}}}]]


Groups: {{#arraymap:{{{Groups|}}}|;|x|[[Groups::x]]}}
Groups: {{#ifeq: {{{Groups|}}}| |{{#set:Groups=unknown}}{{{Groups|unknown}}}|{{#arraymap:{{{Groups|}}}|;|xx| {{#set:Groups=xx}} {{#formredlink:target=xx|form=Group}} }} }}


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


Type: [[Type::{{{Type|}}}]]
Type: {{#ifeq: {{{Type|}}}| |{{#set:Type=unknown}}{{{Type|unknown}}}|[[Type::{{{Type|}}}]] }}


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


Origin: [[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 25: 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 ===
<!--
<ul>
{{#arraymap:{{{Issues|}}}|;|xx|<li>{{#set:Issues=xx}}{{#formredlink:target=xx|form=Issue}}</li>|}}
</ul>
-->


----
<!--
{{#arraydefine:issues|{{{Issues|}}}|;}}
{{#arraysort:issues|reverse}}
<ul>
{{#arrayprint:issues|<li>|@@@@|<li>{{#formredlink:target=@@@@|form=Issue}}</li>}}
</ul>
-->


=== Issues ===
<!--<div class="issues">
<div class="issues">
<ul>
<ul>
{{#arraymap:{{{Issues|}}}|;|x|<li>[[Issues::x]]</li>|}}
{{#arraymap:{{{Issues|}}}|;|x|<li>[[Issues::x]]</li>|}}
</ul>
</ul>
</div>
</div>-->
 
{{#ask:
[[Category:Issue]]
[[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|}}}]]
Line 41: Line 81:
=== Sources ===
=== Sources ===
{{#arraymap: {{{Source|}}}|;|x|[[Source::x]]}}
{{#arraymap: {{{Source|}}}|;|x|[[Source::x]]}}
----


{{#if:{{{Checked|}}}|{{#set:Checked={{{Checked|}}}}}|{{#set:Checked=No}}}}
{{#if:{{{Checked|}}}|{{#set:Checked={{{Checked|}}}}}|{{#set:Checked=No}}}}

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.