Difference between revisions of "Template:Card query"

From Yugipedia
Jump to: navigation, search
(support more types (hopefully without breaking anything))
(debugging output)
Line 105: Line 105:
 
   | class = sortable wikitable smwtable card-list
 
   | class = sortable wikitable smwtable card-list
 
   | {{ #if: {{{limit|}}} | {{ #iferror: {{ #expr: {{{limit}}} }} || limit = {{{limit}}} }} }}
 
   | {{ #if: {{{limit|}}} | {{ #iferror: {{ #expr: {{{limit}}} }} || limit = {{{limit}}} }} }}
 +
}}<!--
 +
 +
debugging
 +
 +
-->{{ #if: {{{debug|}}} | <nowiki/>
 +
* $query_query: {{ #var: $query_query }}
 +
* $query_query_lc: {{ #var: $query_query_lc }}
 +
* $query_medium: {{ #var: $query_medium }}
 +
* $query_medium_query: {{ #var: $query_medium_query }}
 +
* $query_card_type: {{ #var: $query_card_type }}
 +
* $query_card_type_query: {{ #var: $query_card_type_query }}
 +
* $query_query: {{ #var: $query_query }}
 +
* $query_col_card_type: {{ #var: $query_col_card_type }}
 +
* $query_col_card_type_m: {{ #var: $query_col_card_type_m }}
 +
* $query_col_primary_type: {{ #var: $query_col_primary_type }}
 +
* $query_col_monster_type: {{ #var: $query_col_monster_type }}
 +
* $query_col_secondary_type: {{ #var: $query_col_secondary_type }}
 +
* $query_col_attribute: {{ #var: $query_col_attribute }}
 +
* $query_col_card_type_st: {{ #var: $query_col_card_type_st }}
 +
* $query_col_type: {{ #var: $query_col_type }}
 +
* $query_col_stars: {{ #var: $query_col_stars }}
 +
* $query_col_scale: {{ #var: $query_col_scale }}
 +
* $query_col_atk: {{ #var: $query_col_atk }}
 +
* $query_col_def: {{ #var: $query_col_def }}
 +
* $query_col_st_class: {{ #var: $query_col_st_class }}
 +
* $query_col_property: {{ #var: $query_col_property }}
 +
* limit: {{ #if: {{{limit|}}} | {{{limit}}} | 50 }}
 
}}<!--
 
}}<!--
  

Revision as of 04:46, 28 October 2016

<ul><li>The part "{{{1}}}" of the query was not understood.Results might not be as expected.</li> <!--br--><li>Some subquery has no valid condition.</li></ul>