Template:Magazine: Difference between revisions
From Diskmags Catalog
No edit summary |
No edit summary Tag: Manual revert |
||
| (132 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:Also known as (list; property=Also known as)|Start | {{#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"> | |||
{{#ifeq:{{{Also known as|}}}| |<div style="display:none;"></div>|Also known as: {{#arraymap:{{{Also known as|}}}|;|x|[[Also known as::x]]}} }} | |||
{{#ifeq: {{{Has RelationTo|}}}| |<div style="display:none;"></div>|Related to: {{#arraymap:{{{Has RelationTo|}}}|;|x|[[Has RelationTo::x]]}} }} | |||
Lifespan: {{#time:Y|{{{Start Date|}}}}}–{{#time:Y|{{{End Date|}}}}}, {{#ifeq:{{{Is Active|}}}| |[[Is Active::discontinued]]|[[Is Active::{{{Is Active|}}}]][[Category:Active Magazine]]}} | |||
Issues: [[Has IssuesTotal::{{#ask:[[Magazine::{{FULLPAGENAME}}]]|format=count}}]] {{#if:{{{Issues checked|}}} |{{#set:Issues checked={{{Issues checked|}}}}} (checked)|{{#set:Issues checked=No}} (not checked)}} | |||
Systems: {{#arraymap:{{{Systems|}}}|;|x|[[Systems::x]]}} | |||
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]]}} }} | |||
Publishers: {{#ifeq: {{{Publishers|}}}| |{{#set:Publishers=unknown}}{{{Publishers|unknown}}}|{{#arraymap:{{{Publishers|}}}|;|x|[[Publishers::x]]}} }} | |||
Groups: {{#ifeq: {{{Groups|}}}| |{{#set:Groups=unknown}}{{{Groups|unknown}}}|{{#arraymap:{{{Groups|}}}|;|xx| {{#set:Groups=xx}} {{#formredlink:target=xx|form=Group}} }} }} | |||
{{#ifeq:{{{Subcollection|}}}| |<div style="display:none;"></div>|Subcollection: {{#arraymap:{{{Subcollection|}}}|;|x|[[Subcollection::x]]}} }} | |||
{{#ifeq:{{{Links|}}}| |<div style="display:none;"></div>|Links: <ul>{{#arraymap: {{{Links|}}}|;|x|<li>[x x]</li>|}}</ul> }} | |||
</div> | </div> | ||
<div class="gallery col float-right"> | <!--<div class="gallery col float-right"> | ||
{{#tag:gallery| | {{#tag:gallery| | ||
{{#arraymap:{{{Screenshots|}}}|,|x|File:x|\n}}|mode=slideshow | {{#arraymap:{{{Screenshots|}}}|,|x|File:x|\n}}|mode=slideshow | ||
}}</div> | }}</div>--> | ||
-- | |||
</div> | </div> | ||
{{#ask: | |||
[[-Has subobject::{{FULLPAGENAME}}]] | |||
[[Is MagazineSummary::+]] | |||
|?Has Summary= | |||
|format=table | |||
|class=smwtable-clean | |||
|mainlabel=- | |||
|headers=hide | |||
}} | |||
- | {{#ask: | ||
[[Category:Issue]] | |||
[[Magazine::{{PAGENAME}}]] | |||
|?Release Date#ISO-P | |||
|sort=Release Date, | |||
|order=ascending | |||
|limit=1000 | |||
|format=datatables | |||
|mainlabel=Issue | |||
}} | |||
=== 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}}}} | ||
{{#set:Confidence={{{Confidence|}}}}} | {{#set:Confidence={{{Confidence|}}}}} | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Magazine]] | [[Category:Magazine]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 00:17, 9 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.