Changes

Jump to: navigation, search

Template:Deck List Row

709 bytes added, 23:53, 10 May 2019
no edit summary
|}
</noinclude><includeonly><!--Implementation note: Using "ifexist" within the initial check handles incorrect card names / missing card data more gracefully. However, "ifexist" counts as an "expensive parser function", and there is a limit of 100 of these to a page; further parsing of "ifexist" is suspended. (see https://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit)Some pages with many deck lists exceed this limit. It's more important to show valid content correctly than to handle invalid content gracefully, so the ifexist check is removed for now. "Ifexist" version of initial check (would replace the first line of the template implementation): {{#ifexpr:{{#if:{{{1|}}}|1|0}} and {{#ifexist: Template:Card data: {{{1}}}|1|0}}|&nbsp; -->{{#if:{{{1|}}}|&nbsp;
{{!}}-
>>>{{Card data: {{{1}}}|1}}<<<
{{!}} {{Card URL|{{Trim|{{{1}}}}}}} <!--Name-->
{{#ifeq:{{#expr: {{#if:{{{2|}}}|0|1}} or {{#if:{{#pos:{{{2|}}}|type}}|1|0}}}}|1|<!--

Navigation menu