Difference between revisions of "Template:Block list/cell"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Created page with "{{#if:{{#vardefineecho:PROP|{{#explode:{{{2}}}|;|{{{3}}}}}}}| {{!}} style="text-align:right;" {{!}} {{#ifeq:{{#show:Property:{{#var:PROP}}|?Has type#-}}|Text|{{Property:...") |
Vox Serico (talk | contribs) m (Added special case for properties of type Page) |
||
Line 1: | Line 1: | ||
− | {{#if:{{#vardefineecho:PROP|{{#explode:{{{2}}}|;|{{{3}}}}}}}| | + | <onlyinclude><!-- |
− | {{!}} style="text-align:right;" {{!}} {{# | + | -->{{#if:{{#vardefineecho:PROP|{{#explode:{{{2}}}|;|{{{3}}}}}}}| |
− | + | {{!}} style="text-align:right;" {{!}} {{#switch:{{#show:Property:{{#var:PROP}}|?Has type#-}}<!-- | |
− | + | -->|Text={{Property:{{#var:PROP}}/{{#show:{{{1}}}|?{{#var:PROP}}}}{{lang}}}}<!-- | |
− | {{# | + | -->|Page={{#if: {{#show:{{#show:{{{1}}}|?{{#var:PROP}}#-}}|?TypeId}}<!-- |
− | -->|{{icon|{{#vardefineecho:VALUE|{{#show: {{{1}}}|?{{#var: | + | -->|{{icon|{{#vardefineecho:VALUE|{{#show: {{{1}}}|?{{#var:PROP}}#-}}}}|tiny}} [[{{#show:{{#var:VALUE}}|?Main_article#-}}{{lang}}|{{Translate|{{#var:VALUE}}}}]]<!-- |
− | -->|{{Translate|{{#show: {{{1}}}|?{{#var: | + | -->|{{Translate|{{#show: {{{1}}}|?{{#var:PROP}}#-}}}}<!-- |
− | < | + | -->}}<!-- |
− | </ | + | -->|#default={{#show:{{{1}}}|?{{#var:PROP}}}}<!-- |
+ | -->}}<!-- | ||
+ | -->}}</onlyinclude> |