Template:Navbox: Difference between revisions

From Hidden Palace
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{#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}}}}
{{#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=175}}
  | , | sort=asc, unique
  | , | sort=asc, unique
}}
}}
{{#arraydefine: prototype_systems
{{#arraydefine: prototype_systems
  | {{#ask:[[Has game::{{{1}}}]] [[Has article type::Prototype]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=120 }}
  | {{#ask:[[Has game::{{{1}}}]] [[Has article type::Prototype]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=175 }}
  | , | sort=asc, unique
  | , | sort=asc, unique
}}
}}
{{#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=175 }}
  | , | sort=asc, unique
  | , | sort=asc, unique
}}
}}
{{#arraydefine: asset_systems
{{#arraydefine: asset_systems
  | {{#ask:[[Has game::{{{1}}}]] [[Has article type::Assets]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=120 }}
  | {{#ask:[[Has game::{{{1}}}]] [[Has article type::Assets]] [[Has system::+]] |mainlabel=- |headers=hide |?Has system |limit=175 }}
  | , | sort=asc, unique
  | , | sort=asc, unique
}}
}}
Line 30: Line 30:
     |sort=Has sort number,Has built after,Has sort date,
     |sort=Has sort number,Has built after,Has sort date,
     |format=ul
     |format=ul
     |limit=120
     |limit=175
     }}  | /\[\[(.*?\))(.*?)\((.*?)( [pP]rototype(.*?))?\)\]\]/ | [[$1|$3$5]] }}
     }}  | /\[\[(.*?\))(.*?)\((.*?)( [pP]rototype(.*?))?\)\]\]/ | [[$1|$3$5]] }}
     </td></tr>}}
     </td></tr>}}
Line 46: Line 46:
     |sort=Has sort number,Has built after,Has sort date,
     |sort=Has sort number,Has built after,Has sort date,
     |format=ul
     |format=ul
     |limit=120
     |limit=175
     }} | /\[\[(.*?)\{{!}}([vVideo])\/(.*?)\/(.*?)\]\]/ | [[$1|$4]] }}
     }} | /\[\[(.*?)\{{!}}([vVideo])\/(.*?)\/(.*?)\]\]/ | [[$1|$4]] }}
     </td></tr>}}
     </td></tr>}}
Line 54: Line 54:
   <div class="panel-body">
   <div class="panel-body">
     <table>
     <table>
     {{#arrayprint:asset_systems||@@@@|<tr>{{#ifexpr: {{#arraysize:systems}} > 1 | <td class="panel-group">@@@@</td>|}}<td>
     {{#arrayprint:asset_systems||@@@@|<tr>{{#ifexpr: {{#arraysize:asset_systems}} > 1 | <td class="panel-group">@@@@</td>|}}<td>
     {{#regex:
     {{#regex:
     {{#ask:
     {{#ask:
Line 62: Line 62:
     |sort=Has sort number,Has built after,Has sort date,
     |sort=Has sort number,Has built after,Has sort date,
     |format=ul
     |format=ul
     |limit=120
     |limit=175
     }} | /\[\[(.*?)\{{!}}([vVideo])\/(.*?)\/(.*?)\]\]/ | [[$1|$4]] }}
     }} | /\[\[(.*?)\{{!}}([aAssets])\/(.*?)\/(.*?)\]\]/ | [[$1|$4]] }}
     </td></tr>}}
     </td></tr>}}
     </table>
     </table>
   </div>|}}
   </div>|}}
</div></includeonly>
</div></includeonly>

Latest revision as of 03:59, September 26, 2023