Template:Condition page: Difference between revisions

Jump to navigation Jump to search
m
nvm it removed them from everything
m (Conditions with the same stack ID still show up even if there are none. replacing single quotes with double quotes in the cargo query seems to fix the issue.)
Tag: Reverted
m (nvm it removed them from everything)
Tag: Undo
Line 19: Line 19:


== [[Honour mode]] ==
== [[Honour mode]] ==
{{{honour mode}}}}}{{#if:{{#ifeq:{{#replace:{{#cargo_query:tables=conditions|where=stack_id='{{{stack id|}}}'|fields=name, effects}}|'|\"}}|{{#replace:{{#cargo_query:tables=conditions|where=name='{{#lvar:name}}'|fields=name, effects}}|'|\"}}||{{{stack id|}}}}}{{{status groups|}}}{{{tick type|}}}{{{stack type|}}}{{{properties|}}}|{{blank}}
{{{honour mode}}}}}{{#if:{{#ifeq:{{#cargo_query:tables=conditions|where=stack_id='{{{stack id|}}}'|fields=name, effects}}|{{#cargo_query:tables=conditions|where=name='{{#lvar:name}}'|fields=name, effects}}||{{{stack id|}}}}}{{{status groups|}}}{{{tick type|}}}{{{stack type|}}}{{{properties|}}}|{{blank}}


== Properties ==
== Properties ==
{{#if: {{#ifeq:{{#replace:{{#cargo_query:tables=conditions|where=stack_id='{{{stack id|}}}'|fields=name, effects}}|'|\"}}|{{#replace:{{#cargo_query:tables=conditions|where=name='{{#lvar:name}}'|fields=name, effects}}|'|\"}}||{{{stack id|}}}}}|{{blank}}
{{#if: {{#ifeq:{{#cargo_query:tables=conditions|where=stack_id='{{{stack id|}}}'|fields=name, effects}}|{{#cargo_query:tables=conditions|where=name='{{#lvar:name}}'|fields=name, effects}}||{{{stack id|}}}}}|{{blank}}


{{SmallIcon|Info Icon.png|link=Status ID}}[[Stack ID]]: {{code|{{{stack id}}}}}{{Main namespace only|[[Category:Has stack ID]]}}|{{Main namespace only|[[Category:No stack ID]]}}
{{SmallIcon|Info Icon.png|link=Status ID}}[[Stack ID]]: {{code|{{{stack id}}}}}{{Main namespace only|[[Category:Has stack ID]]}}|{{Main namespace only|[[Category:No stack ID]]}}
Line 56: Line 56:
== Notes ==
== Notes ==
{{{notes}}}
{{{notes}}}
}}{{#if:{{{stack id|}}}|{{#ifeq:{{#replace:{{#cargo_query:tables=conditions|where=stack_id='{{{stack id|}}}'|fields=name, effects}}|'|\"}}|{{#replace:{{#cargo_query:tables=conditions|where=name='{{#lvar:name}}'|fields=name, effects}}|'|\"}}||{{blank}}
}}{{#if:{{{stack id|}}}|{{#ifeq:{{#cargo_query:tables=conditions|where=stack_id='{{{stack id|}}}'|fields=name, effects}}|{{#cargo_query:tables=conditions|where=name='{{#lvar:name}}'|fields=name, effects}}||{{blank}}
   
   
== Conditions with the same stack ID ==
== Conditions with the same stack ID ==

Navigation menu