15,198
edits
(A little more cleaner. Parser functions automatically trim white spaces/line breaks at the beginning and end of a statement, so I can add a lot of line breaks here without worrying common issues) |
(testing if the templates handle cases when no problems are entered. I'll revert soon) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:VC_GlobalProblems_active| | <includeonly>{{#vardefine:VC_GlobalProblems_active|}}{{#vardefine:VC_GlobalProblems_fixed|}}{{#switch:{{{1|}}}|active={{#var:VC_GlobalProblems_active}}|fixed={{#var:VC_GlobalProblems_fixed}} | ||
}}{{#vardefine:VC_GlobalProblems_fixed| | |||
}}{{#switch:{{{1|}}}|active={{#var:VC_GlobalProblems_active}}|fixed={{#var:VC_GlobalProblems_fixed}} | |||
|#default={{#if:{{#var:VC_GlobalProblems_active}}{{#var:VC_GlobalProblems_fixed}}| | |#default={{#if:{{#var:VC_GlobalProblems_active}}{{#var:VC_GlobalProblems_fixed}}| | ||