Difference between revisions of "Template:Block list/cell"

From Space Engineers Wiki
Jump to: navigation, search
(Created page with "{{#if:{{#vardefineecho:PROP|{{#explode:{{{2}}}|;|{{{3}}}}}}}|  {{!}} style="text-align:right;" {{!}} {{#ifeq:{{#show:Property:{{#var:PROP}}|?Has type#-}}|Text|{{Property:...")
 
m (Fixed sorting)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{#vardefineecho:PROP|{{#explode:{{{2}}}|;|{{{3}}}}}}}| 
+
<onlyinclude><!--
{{!}} style="text-align:right;" {{!}} {{#ifeq:{{#show:Property:{{#var:PROP}}|?Has type#-}}|Text|{{Property:{{#var:PROP}}/{{#show:{{{1}}}|?{{#var:PROP}}}}{{lang}}}}|{{#show:{{{1}}}|?{{#var:PROP}}}}}}}}<noinclude>
+
-->{{#if:{{#vardefineecho:PROP|{{#explode:{{{2}}}|;|{{{3}}}}}}}|&nbsp;
 
+
{{!}} {{#switch:{{#show:Property:{{#var:PROP}}|?Has type#-}}<!--
<pre>
+
    -->|Text=style="text-align:left;" {{!}} {{Property:{{#var:PROP}}/{{#show:{{{1}}}|?{{#var:PROP}}}}{{lang}}}}<!--
{{#if: {{#show:{{{1}}}|?{{#var:PROPERTY}}|?TypeId}}<!--
+
    -->|Page=data-sort-value="{{#vardefineecho:VALUE|{{#show: {{{1}}}|?{{#var:PROP}}#-}}}}" style="text-align:left;" {{!}} {{#if:{{#var:VALUE}}<!--
          -->|{{icon|{{#vardefineecho:VALUE|{{#show: {{{1}}}|?{{#var:PROPERTY}}#-}}}}|tiny}}&nbsp;[[{{#show:{{#var:VALUE}}|?Main_article#-}}{{lang}}|{{Translate|{{#var:VALUE}}}}]]<!--
+
      -->|{{#if: {{#show:{{#show:{{{1}}}|?{{#var:PROP}}#-}}|?TypeId}}<!--
          -->|{{Translate|{{#show: {{{1}}}|?{{#var:PROPERTY}}#-}}}}<!--
+
        -->|[[File:{{#show:{{#var:VALUE}}|?Icon#-}}|{{#var:icon-size|64px}}|link={{#show:{{#var:VALUE}}|?Main article#-}}{{lang}}]]<!--
</pre>
+
          -->&nbsp;[[{{#show:{{#var:VALUE}}|?Main_article#-}}{{lang}}|{{Translate|{{#var:VALUE}}}}]]<!--
</noinclude>
+
        -->|[[{{#var:VALUE}}]]<!--
 +
      -->}}<!--
 +
    -->}}<!--
 +
    -->|#default=data-sort-value="{{#show:{{{1}}}|?{{#var:PROP}}#-n}}" style="text-align:right;" {{!}} {{#show:{{{1}}}|?{{#var:PROP}}}}<!--
 +
  -->}}<!--
 +
-->}}</onlyinclude>

Latest revision as of 23:46, 20 May 2020