Editing Template:Card query

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 62: Line 62:
 
   | spell      = spell
 
   | spell      = spell
 
   | trap      = trap
 
   | trap      = trap
 +
  | skill      = skill
 
   | speedspell = speed spell
 
   | speedspell = speed spell
   | skill     = skill
+
   | virus     = virus
  | ???        = ???
 
  | character  = character
 
 
   | equip      = equip
 
   | equip      = equip
 
   | illusion  = illusion
 
   | illusion  = illusion
  | legendarydragon = legendary dragon
 
 
   | ritual    = ritual
 
   | ritual    = ritual
  | slotmachinepowerunit = slot machine power unit
 
  | trapmonster = trap monster
 
 
   | trap-spell | trapspell | spell-trap | spelltrap = trap spell
 
   | trap-spell | trapspell | spell-trap | spelltrap = trap spell
   | virus      = virus
+
   | trap-equip | trapequip = trap-equip
 +
  | ???        = ???
 
   | spell/trap | s/t | nonmonster | non-monster = non-monster
 
   | spell/trap | s/t | nonmonster | non-monster = non-monster
   | playable  = playable
+
   | tip        = tip
  | unplayable = unplayable
+
   | strategy   = strategy
  | nongame    = non-game
 
   | command    = command
 
   | checklist  = checklist
 
 
   | faq        = faq
 
   | faq        = faq
  | rule      = rule
 
  | strategy  = strategy
 
  | ticket    = ticket
 
  | tip        = tip
 
 
   | all | any  = any
 
   | all | any  = any
 
   | #default  = {{ #if: {{{type|}}} | {{ #vardefine: $cq_card_type_unknown | 1 }} }}
 
   | #default  = {{ #if: {{{type|}}} | {{ #vardefine: $cq_card_type_unknown | 1 }} }}
Line 114: Line 104:
 
   | spell      = [[Card type::Spell Card]]
 
   | spell      = [[Card type::Spell Card]]
 
   | trap        = [[Card type::Trap Card]]
 
   | trap        = [[Card type::Trap Card]]
 +
  | skill      = <q>[[Card type::Skill Card]] OR [[Page type::Skill page]]</q>
 
   | speed spell = [[Card type::Speed Spell Card]]
 
   | speed spell = [[Card type::Speed Spell Card]]
   | skill       = <q>[[Card type::Skill Card]] OR [[Page type::Skill page]]</q>
+
   | virus       = [[Card type::Virus Card]]
  | ???        = [[Card type::???]]
 
  | character  = [[Card type::Character Card]]
 
 
   | equip      = [[Card type::Equip Card]]
 
   | equip      = [[Card type::Equip Card]]
 
   | illusion    = [[Card type::Illusion Card]]
 
   | illusion    = [[Card type::Illusion Card]]
  | legendary dragon = [[Card type::Legendary Dragon]]
 
 
   | ritual      = [[Card type::Ritual Card]]
 
   | ritual      = [[Card type::Ritual Card]]
  | slot machine power unit = [[Card type::Slot Machine Power Unit]]
 
  | trap monster = [[Card type::Trap Monster Card]]
 
 
   | trap spell  = [[Card type::Trap Spell Card]]
 
   | trap spell  = [[Card type::Trap Spell Card]]
   | virus      = [[Card type::Virus Card]]
+
   | trap-equip  = [[Card type::Trap-Equip Card]]
 +
  | ???        = [[Card type::???]]
 
   | non-monster = [[Concept:Non-monster cards]]
 
   | non-monster = [[Concept:Non-monster cards]]
   | playable    = [[Concept:Playable cards]]
+
   | tip         = [[Card type::Tip Card]]
  | unplayable  = [[Concept:Unplayable cards]]
 
  | non-game    = [[Card type::Non-game card]]
 
  | command    = [[Card type::Command Card]]
 
  | checklist  = [[Card type::Checklist Card]]
 
  | faq         = [[Card type::FAQ card]]
 
  | rule        = [[Card type::Rule Card]]
 
 
   | strategy    = [[Card type::Strategy Card]]
 
   | strategy    = [[Card type::Strategy Card]]
   | ticket      = [[Card type::Ticket Card]]
+
   | faq         = [[Card type::FAQ Card]]
  | tip         = [[Card type::Tip Card]]
 
 
   }}
 
   }}
 
}}{{ #vardefine: $cq_concept_query | {{ #switch: {{ #var: $cq_medium }}/{{ #var: $cq_card_type }}
 
}}{{ #vardefine: $cq_concept_query | {{ #switch: {{ #var: $cq_medium }}/{{ #var: $cq_card_type }}
Line 252: Line 232:
 
| {{ #vardefine: $cq_col_property | {{ #if: {{ #pos: {{ #var: $cq_query_lc }} | {{!((}}property:: }} | {{ #if: {{ #pos: {{ #var: $cq_query_normalized }} | {{!((}}property::^ }} | ?Property = [[Property]] | {{ #ifeq: {{{extra_column}}} | Property | ?Property = [[Property]] }} }} | ?Property = [[Property]] }}
 
| {{ #vardefine: $cq_col_property | {{ #if: {{ #pos: {{ #var: $cq_query_lc }} | {{!((}}property:: }} | {{ #if: {{ #pos: {{ #var: $cq_query_normalized }} | {{!((}}property::^ }} | ?Property = [[Property]] | {{ #ifeq: {{{extra_column}}} | Property | ?Property = [[Property]] }} }} | ?Property = [[Property]] }}
 
   }}{{ #ifeq: {{ #var: $cq_card_type }} | skill
 
   }}{{ #ifeq: {{ #var: $cq_card_type }} | skill
   || {{ #vardefine: $cq_col_card_type_st | {{ #if: {{ #var: $cq_col_card_type }} | {{ #switch: {{ #var: $cq_card_type }} | non-monster | playable | unplayable | <!-- empty --> = {{ #var: $cq_col_card_type }} [[Card type]] }} }}
+
   || {{ #vardefine: $cq_col_card_type_st | {{ #if: {{ #var: $cq_col_card_type }} | {{ #switch: {{ #var: $cq_card_type }} | non-monster | <!-- empty --> = {{ #var: $cq_col_card_type }} [[Card type]] }} }}
 
     }}{{ #vardefine: $cq_col_card_type_st | {{ #if: {{ #var: $cq_col_property }} | {{ #var: $cq_col_card_type_st }} }}
 
     }}{{ #vardefine: $cq_col_card_type_st | {{ #if: {{ #var: $cq_col_property }} | {{ #var: $cq_col_card_type_st }} }}
 
     }}
 
     }}

Please note that all contributions to Yugipedia are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International License (see Yugipedia:Licensing for more details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)
Preview page with this template
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template