Template:Magazine: Difference between revisions
From Diskmags Catalog
No edit summary |
No edit summary |
||
(135 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Start date (property=Start date)|End date (property=End date)|Language (property=Language)|Origin (property=Origin)|Systems (list;property=Systems)|Issues (list;property=Issues)| | {{#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="meta"> | <div class="row"><div class="meta col"> | ||
[[Start date::{{{Start date|}}}]]-[[End date::{{{End date|}}}]] | |||
[[Language::{{{Language|}}}]] | {{#if: {{{Also known as|}}}| Also known as: {{#arraymap:{{{Also known as|}}}|;|x|[[Also known as::x]]}} }} | ||
[[Origin::{{{ | <!--{{#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|}}}]] | |||
Groups: {{#ifeq: {{{Groups|}}}| |{{#set:Groups=unknown}}{{{Groups|unknown}}}|{{#arraymap:{{{Groups|}}}|;|xx| {{#set:Groups=xx}} {{#formredlink:target=xx|form=Group}} }} }} | |||
Publishers: {{#ifeq: {{{Publishers|}}}| |{{#set:Publishers=unknown}}{{{Publishers|unknown}}}|{{#arraymap:{{{Publishers|}}}|;|x|[[Publishers::x]]}} }} | |||
Type: {{#ifeq: {{{Type|}}}| |{{#set:Type=unknown}}{{{Type|unknown}}}|[[Type::{{{Type|}}}]] }} | |||
Language: {{#ifeq: {{{Language|}}}| |{{#set:Language=unknown}}{{{Language|unknown}}}|{{#arraymap:{{{Language|}}}|;|x|[[Language::x]]}} }} | |||
Origin: {{#ifeq: {{{Origin|}}}| |{{#set:Origin=unknown}}{{{Origin|unknown}}}|{{#arraymap:{{{Origin|}}}|;|x|[[Origin::x]]}} }} | |||
Systems: {{#arraymap:{{{Systems|}}}|;|x|[[Systems::x]]}} | |||
Region: [[Region::{{{Region|}}}]] | |||
</div> | </div> | ||
<div class="gallery col float-right"> | |||
{{#tag:gallery| | |||
{{#arraymap:{{{Screenshots|}}}|,|x|File:x|\n}}|mode=slideshow | |||
}}</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> | |||
--> | |||
<!--<div class="issues"> | |||
<ul> | |||
{{#arraymap:{{{Issues|}}}|;|x|<li>[[Issues::x]]</li>|}} | |||
</ul> | |||
</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|}}}]] | |||
---- | |||
=== Sources === | |||
{{#arraymap: {{{Source|}}}|;|x|[[Source::x]]}} | |||
---- | |||
== | {{#if:{{{Checked|}}}|{{#set:Checked={{{Checked|}}}}}|{{#set:Checked=No}}}} | ||
{{# | {{#if:{{{Issues checked|}}}|{{#set:Issues checked={{{Issues checked|}}}}}|{{#set:Issues checked=No}}}} | ||
{{#set:Confidence={{{Confidence|}}}}} | |||
__NOTOC__ | |||
[[Category:Magazine]] | [[Category:Magazine]] | ||
</includeonly> | </includeonly> |
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.