Template:Navbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:prototype_count|{{#ask:[[Has game::{{{1}}}]][[Has article type::Prototype]]|format=count}}}} | <includeonly>{{#vardefine:prototype_count|{{#ask:[[Has game::{{{1}}}]][[Has article type::Prototype]]|format=count}}}} | ||
{{#vardefine:video_count|{{#ask:[[Has game::{{{1}}}]][[Has article type::Video]]|format=count}}}} | {{#vardefine:video_count|{{#ask:[[Has game::{{{1}}}]][[Has article type::Video]]|format=count}}}} | ||
{{#vardefine:asset_count|{{#ask:[[Has game::{{{1}}}]][[Has article type::Assets]]|format=count}}}} | |||
{{#arraydefine: systems | {{#arraydefine: systems | ||
| {{#ask:[[Has game::{{{1}}}]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=120 }} | | {{#ask:[[Has game::{{{1}}}]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=120 }} | ||
Line 11: | Line 12: | ||
{{#arraydefine: video_systems | {{#arraydefine: video_systems | ||
| {{#ask:[[Has game::{{{1}}}]] [[Has article type::Video]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=120 }} | | {{#ask:[[Has game::{{{1}}}]] [[Has article type::Video]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=120 }} | ||
| , | sort=asc, unique | |||
}} | |||
{{#arraydefine: asset_systems | |||
| {{#ask:[[Has game::{{{1}}}]] [[Has article type::Assets]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=120 }} | |||
| , | sort=asc, unique | | , | sort=asc, unique | ||
}} | }} | ||
Line 38: | Line 43: | ||
[[Has game::{{{1}}}]] | [[Has game::{{{1}}}]] | ||
[[Has article type::Video]] | [[Has article type::Video]] | ||
[[Has system::@@@@]] | |||
|sort=Has sort number,Has built after,Has sort date, | |||
|format=ul | |||
|limit=120 | |||
}} | /\[\[(.*?)\{{!}}([vVideo])\/(.*?)\/(.*?)\]\]/ | [[$1|$4]] }} | |||
</td></tr>}} | |||
</table> | |||
</div>|}} | |||
{{#ifexpr: {{#var:asset_count}} > 0 | <div class="panel-heading"> {{{1}}} assets </div> | |||
<div class="panel-body"> | |||
<table> | |||
{{#arrayprint:asset_systems||@@@@|<tr>{{#ifexpr: {{#arraysize:systems}} > 1 | <td class="panel-group">@@@@</td>|}}<td> | |||
{{#regex: | |||
{{#ask: | |||
[[Has game::{{{1}}}]] | |||
[[Has article type::Assets]] | |||
[[Has system::@@@@]] | [[Has system::@@@@]] | ||
|sort=Has sort number,Has built after,Has sort date, | |sort=Has sort number,Has built after,Has sort date, |