Template:Magazine: Difference between revisions
From Diskmags Catalog
No edit summary |
No edit summary Tag: Manual revert |
||
| (16 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 | {{#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="row"> | ||
<div class="meta col"> | <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:{{{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]]}} }} | {{#ifeq: {{{Has RelationTo|}}}| |<div style="display:none;"></div>|Related to: {{#arraymap:{{{Has RelationTo|}}}|;|x|[[Has RelationTo::x]]}} }} | ||
Lifespan | 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}}]] | 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]]}} | Systems: {{#arraymap:{{{Systems|}}}|;|x|[[Systems::x]]}} | ||
| Line 28: | Line 22: | ||
Groups: {{#ifeq: {{{Groups|}}}| |{{#set:Groups=unknown}}{{{Groups|unknown}}}|{{#arraymap:{{{Groups|}}}|;|xx| {{#set:Groups=xx}} {{#formredlink:target=xx|form=Group}} }} }} | 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:{{{ | {{#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> | ||
| Line 48: | Line 40: | ||
|mainlabel=- | |mainlabel=- | ||
|headers=hide | |headers=hide | ||
}} | }} | ||
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.