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:demo_count|{{#ask:[[Has game::{{{1}}}]][[Has article type::Demo]]|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}}}} | {{#vardefine:asset_count|{{#ask:[[Has game::{{{1}}}]][[Has article type::Assets]]|format=count}}}} | ||
Line 8: | Line 9: | ||
{{#arraydefine: prototype_systems | {{#arraydefine: prototype_systems | ||
| {{#ask:[[Has game::{{{1}}}]] [[Has article type::Prototype]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=175 }} | | {{#ask:[[Has game::{{{1}}}]] [[Has article type::Prototype]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=175 }} | ||
| , | sort=asc, unique | |||
}} | |||
{{#arraydefine: demo_systems | |||
| {{#ask:[[Has game::{{{1}}}]] [[Has article type::Demo]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=175 }} | |||
| , | sort=asc, unique | | , | sort=asc, unique | ||
}} | }} | ||
Line 32: | Line 37: | ||
|limit=175 | |limit=175 | ||
}} | /\[\[(.*?\))(.*?)\((.*?)( [pP]rototype(.*?))?\)\]\]/ | [[$1|$3$5]] }} | }} | /\[\[(.*?\))(.*?)\((.*?)( [pP]rototype(.*?))?\)\]\]/ | [[$1|$3$5]] }} | ||
</td></tr>}} | |||
</table> | |||
</div> |}} | |||
{{#ifexpr: {{#var: demo_count}} > 0 | <div class="panel-heading"> {{{1}}} demos </div> | |||
<div class="panel-body"> | |||
<table> | |||
{{#arrayprint:demo_systems||@@@@|<tr>{{#ifexpr: {{#arraysize:systems}} > 1 | <td class="panel-group">@@@@</td>|}}<td> | |||
{{#regex: | |||
{{#ask: | |||
[[Has game::{{{1}}}]] | |||
[[Has article type::Demo]] | |||
[[Has system::@@@@]] | |||
|sort=Has sort number,Has built after,Has sort date, | |||
|format=ul | |||
|limit=175 | |||
}} | /\[\[(.*?\))(.*?)\((.*?)( [Dd]emo(.*?))?\)\]\]/ | [[$1|$3$5]] }} | |||
</td></tr>}} | </td></tr>}} | ||
</table> | </table> |