From GamingWiki
Jump to: navigation, search
Line 19: Line 19:
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="{{#var:subheadcols}}" class="subhead" {{!}} {{{subhead}}}<!--
 
{{!}} colspan="{{#var:subheadcols}}" class="subhead" {{!}} {{{subhead}}}<!--
-->}}<!--
+
  -->{{#ifeq: {{#var:rheadcols}} |0||<nowiki />
 
 
-->{{#ifeq: {{#var:rheadcols}} |0||<nowiki />
 
 
{{!}} colspan="{{#var:rheadcols}}" class="shaded" {{!}} {{{righthead}}}<!--
 
{{!}} colspan="{{#var:rheadcols}}" class="shaded" {{!}} {{{righthead}}}<!--
 +
  -->}}<!--
 
-->}}<!--
 
-->}}<!--
  
Line 32: Line 31:
 
-->{{#hashdefine: datalinehash }}<!--
 
-->{{#hashdefine: datalinehash }}<!--
 
-->{{#forargs: | keynum | value | <!--
 
-->{{#forargs: | keynum | value | <!--
  -->{{#hashreset: singledataline}}<!--
+
   -->{{#vardefine: key | {{#rmatch: {{#var:keynum}} | (\D+)(\d+) | $1 }}}}<!--
   -->{{#vardefine: key | {{#rmatch: {{#var:keynum}} | (\D+)\d+ | $1 }}}}<!--
+
   -->{{#vardefine: num | {{#rmatch: {{#var:keynum}} | (\D+)(\d+) | $2 }}}}<!--
   -->{{#vardefine: num | {{#rmatch: {{#var:keynum}} | \D+(\d+) | $1 }}}}<!--
+
 
 +
--><nowiki />
 +
{{!}}-
 +
{{!}} {{#var:num}}/{{#var:key}}
 +
{{!}} colspan="3" {{!}} {{#var:value}} <!--
 +
 
 
   -->{{#hashdefine: singledataline | {{#hashvalue: datalinehash | {{#var:num}} }} | ,css, | ;css; }}<!--
 
   -->{{#hashdefine: singledataline | {{#hashvalue: datalinehash | {{#var:num}} }} | ,css, | ;css; }}<!--
 
   -->{{#hashinclude: singledataline | {{#var:key}} = {{#var:value}} }}<!--
 
   -->{{#hashinclude: singledataline | {{#var:key}} = {{#var:value}} }}<!--
Line 42: Line 46:
 
       -->}}<!--
 
       -->}}<!--
 
   -->}}<!--
 
   -->}}<!--
 +
  -->{{#hashreset: singledataline}}<!--
 
-->}}<!--
 
-->}}<!--
 
   Now each value of datalinehash can be parsed into a new hash. We want it sorted by
 
   Now each value of datalinehash can be parsed into a new hash. We want it sorted by

Revision as of 22:32, 28 February 2011