Difference between revisions of "Template:Block list/cell"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Only display the Page link if it has one.) |
Vox Serico (talk | contribs) m (Fixed sorting) |
||
Line 3: | Line 3: | ||
{{!}} {{#switch:{{#show:Property:{{#var:PROP}}|?Has type#-}}<!-- | {{!}} {{#switch:{{#show:Property:{{#var:PROP}}|?Has type#-}}<!-- | ||
-->|Text=style="text-align:left;" {{!}} {{Property:{{#var:PROP}}/{{#show:{{{1}}}|?{{#var:PROP}}}}{{lang}}}}<!-- | -->|Text=style="text-align:left;" {{!}} {{Property:{{#var:PROP}}/{{#show:{{{1}}}|?{{#var:PROP}}}}{{lang}}}}<!-- | ||
− | -->|Page= | + | -->|Page=data-sort-value="{{#vardefineecho:VALUE|{{#show: {{{1}}}|?{{#var:PROP}}#-}}}}" style="text-align:left;" {{!}} {{#if:{{#var:VALUE}}<!-- |
-->|{{#if: {{#show:{{#show:{{{1}}}|?{{#var:PROP}}#-}}|?TypeId}}<!-- | -->|{{#if: {{#show:{{#show:{{{1}}}|?{{#var:PROP}}#-}}|?TypeId}}<!-- | ||
-->|[[File:{{#show:{{#var:VALUE}}|?Icon#-}}|{{#var:icon-size|64px}}|link={{#show:{{#var:VALUE}}|?Main article#-}}{{lang}}]]<!-- | -->|[[File:{{#show:{{#var:VALUE}}|?Icon#-}}|{{#var:icon-size|64px}}|link={{#show:{{#var:VALUE}}|?Main article#-}}{{lang}}]]<!-- | ||
Line 10: | Line 10: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->|#default=style="text-align:right;" {{!}} {{#show:{{{1}}}|?{{#var:PROP}}}}<!-- | + | -->|#default=data-sort-value="{{#show:{{{1}}}|?{{#var:PROP}}#-n}}" style="text-align:right;" {{!}} {{#show:{{{1}}}|?{{#var:PROP}}}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}</onlyinclude> | -->}}</onlyinclude> |