Difference between revisions of "Template:QuizCat"

From WikiVet English
Jump to navigation Jump to search
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{if|1={{{topic|}}}</includeonly><noinclude>
+
<includeonly>{{if|1={{{topic|}}}{{{system|}}}|2=[[Category:Quizzes]]}}{{ifeq|if={{{topic|}}}|eq=Pathology|then=[[Category:Pathology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=pathology|then=[[Category:Pathology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=Path|then=[[Category:Pathology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=path|then=[[Category:Pathology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=WikiPath|then=[[Category:Pathology Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}}}}}{{ifeq|if={{{topic|}}}|eq=Anatomy|then=[[Category:Anatomy & Physiology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=Ant|then=[[Category:Anatomy & Physiology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=Anatomy & Physiology|then=[[Category:Anatomy & Physiology Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}{{ifeq|if={{{topic|}}}|eq=Bugs|then=[[Category:Infectious Diseases Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=WikiBugs|then=[[Category:Infectious Diseases Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=bugs|then=[[Category:Infectious Diseases Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=Infectious Diseases|then=[[Category:Infectious Diseases Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=infectious diseases|then=[[Category:Infectious Diseases Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}}}}}{{ifeq|if={{{topic|}}}|eq=Clinical|then=[[Category:Clinical Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=clinical|then=[[Category:Clinical Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=WikiClinical|then=[[Category:Clinical Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}{{ifeq|if={{{topic|}}}|eq=VPH|then=[[Category:Veterinary Public Health Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=WikiVPH|then=[[Category:Veterinary Public Health Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=vph|then=[[Category:Veterinary Public Health Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}{{ifeq|if={{{topic|}}}|eq=Blood|then=[[Category:Haematology and Immunology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=blood|then=[[Category:Haematology and Immunology Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=WikiBlood|then=[[Category:Haematology and Immunology Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}{{ifeq|if={{{topic|}}}|eq=Drugs|then=[[Category:Drug Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=drugs|then=[[Category:Drug Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=Drug|then=[[Category:Drug Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=drug|then=[[Category:Drug Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=WikiDrugs|then=[[Category:Drug Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}}}}}{{ifeq|if={{{topic|}}}|eq=WikiNormals|then=[[Category:WikiNormal Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=Normals|then=[[Category:WikiNormal Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=normals|then=[[Category:WikiNormal Quizzes|{{{topicsubcategory|?}}}]]|else={{ifeq|if={{{topic|}}}|eq=normal|then=[[Category:WikiNormal Quizzes|{{{topicsubcategory|?}}}]]|else=}}}}}}}}{{ifeq|if={{{system|}}}|eq=Alimentary|then=[[Category:Alimentary System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=alimentary|then=[[Category:Alimentary System Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}{{ifeq|if={{{system|}}}|eq=Cardiorespiratory|then=[[Category:Cardiovascular and Respiratory System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=cardiorespiratory|then=[[Category:Cardiovascular and Respiratory System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=cardio|then=[[Category:Cardiorespiratory System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=cardioresp|then=[[Category:Cardiovascular and Respiratory System Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}}}}}{{ifeq|if={{{system|}}}|eq=Developmental Biology|then=[[Category:Developmental Biology Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=Developmental|then=[[Category:Developmental Biology Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=Development|then=[[Category:Developmental Biology Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=development|then=[[Category:Developmental Biology Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=Developmental Biology|then=[[Category:Developmental|{{{systemsubcategory|?}}}]]|else=}}}}}}}}}}{{ifeq|if={{{system|}}}|eq=Endocrine|then=[[Category:Endocrine System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=endocrine|then=[[Category:Endocrine System Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}{{ifeq|if={{{system|}}}|eq=Integument|then=[[Category:Integument Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=integument|then=[[Category:Integument Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}{{ifeq|if={{{system|}}}|eq=Lymphatic|then=[[Category:Lymphatic System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=lymphatic|then=[[Category:Lymphatic System Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}{{ifeq|if={{{system|}}}|eq=MSK|then=[[Category:Musculoskeletal System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=musculoskeletal|then=[[Category:Musculoskeletal System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=Musculoskeletal|then=[[Category:Musculoskeletal System Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}}}{{ifeq|if={{{system|}}}|eq=Nervous|then=[[Category:Nervous System and Special Senses Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=nervous|then=[[Category:Nervous System and Special Senses Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}{{ifeq|if={{{system|}}}|eq=Reproductive|then=[[Category:Reproductive System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=reproductive|then=[[Category:Reproductive System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=Repro|then=[[Category:Reproductive System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=repro|then=[[Category:Reproductive System Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}}}}}{{ifeq|if={{{system|}}}|eq=Urinary|then=[[Category:Urinary System Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=urinary|then=[[Category:Urinary System Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}{{ifeq|if={{{system|}}}|eq=immunology|then=[[Category:Haematology and Immunology Quizzes|{{{systemsubcategory|?}}}]]|else={{ifeq|if={{{system|}}}|eq=Immunology|then=[[Category:Haematology and Immunology Quizzes|{{{systemsubcategory|?}}}]]|else=}}}}</includeonly><noinclude>
 
==Code==
 
==Code==
 
<p><code><nowiki>{{QuizCat|topic=|topicsubcategory=|system=|systemsubcategory=}}</nowiki></code></p>
 
<p><code><nowiki>{{QuizCat|topic=|topicsubcategory=|system=|systemsubcategory=}}</nowiki></code></p>
Line 58: Line 58:
 
|-
 
|-
 
!align="left"|Lymphatic
 
!align="left"|Lymphatic
|Lymphatic System
+
|Lymphoreticular System
 
|-
 
|-
 
!style="background-color:#C1F0F6;" align="left"|MSK
 
!style="background-color:#C1F0F6;" align="left"|MSK
Line 87: Line 87:
 
<br>
 
<br>
 
<p>For a quiz on infectious diseases on tuberculosis.</p>
 
<p>For a quiz on infectious diseases on tuberculosis.</p>
<p><code><nowiki>{{QuizCat|topic=Bugs|topicsubcategory=T}}</nowiki></code></p></noinclude>
+
<p><code><nowiki>{{QuizCat|topic=Bugs|topicsubcategory=T}}</nowiki></code></p>

Latest revision as of 12:05, 8 November 2010

Code

{{QuizCat|topic=|topicsubcategory=|system=|systemsubcategory=}}

Both topic and system should be entered, but this is not essential. The subcategory variable does not need to have an input but if it does not it will be assigned to the '?' grouping. The subcategory variables allow the quiz to be listed more appropiratley. For example a Urinary Quiz will be listed under the system (Urinary) but will then be listed under the subcategory 'A' (for anatomy).

Variables

Topics
Variable Topic
Anatomy Anatomy & Physiology
Blood WikiBlood
Bugs WikiBugs
Clinical WikiClinical
Drug WikiDrugs
Pathology WikiPath
WikiNormal WikiNormals
WikiVPH WikiVPH
Systems
Variable System
Alimentary Anatomy & Physiology
Cardiorespiratory Cardiorespiratory System
Developmental Developmental Biology
Endocrine Endocrine System
Integument Integumentary System
Immunology Haematology and Immunology
Lymphatic Lymphoreticular System
MSK Musculoskeletal System
Nervous Nervous and Special Senses
Reproductive Reproductive System
Urinary Urinary System

Example

Example page: Urinary Anatomy & Physiology Quiz


For a quiz on the pathology of the cardiorespiratory system.

{{QuizCat|topic=Pathology|topicsubcategory=C|system=Cardiorespiratory|systemsubcategory=P}}


For a quiz on the anatomy and physiology of the urinary system.

{{QuizCat|topic=Anatomy|topicsubcategory=U|system=Urinary|systemsubcategory=A}}


For a quiz on infectious diseases on viruses.

{{QuizCat|topic=Bugs|topicsubcategory=V}}


For a quiz on infectious diseases on tuberculosis.

{{QuizCat|topic=Bugs|topicsubcategory=T}}