Difference between revisions of "Template:QuizCat"

From WikiVet English
Jump to navigation Jump to search
 
(52 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Quiz]]
+
<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>
[[Category:{{{system|}}}]]
+
==Code==
 +
<p><code><nowiki>{{QuizCat|topic=|topicsubcategory=|system=|systemsubcategory=}}</nowiki></code></p>
 +
<p>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).</p>
 +
===Variables===
 +
{|
 +
|valign="top" colspan="2"|<u>'''Topics'''</u>
 +
{|
 +
!style="background-color:#C1F0F6;" align="left"|<font color="red">Variable</font>
 +
!style="background-color:#C1F0F6;" align="left"|<font color="red">Topic</font>
 +
|-
 +
!align="left"|Anatomy
 +
|Anatomy & Physiology
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|Blood
 +
|style="background-color:#C1F0F6;"|WikiBlood
 +
|-
 +
!align="left"|Bugs
 +
|WikiBugs
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|Clinical
 +
|style="background-color:#C1F0F6;"|WikiClinical
 +
|-
 +
!align="left"|Drug
 +
|WikiDrugs
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|Pathology
 +
|style="background-color:#C1F0F6;"|WikiPath
 +
|-
 +
!align="left"|WikiNormal
 +
|WikiNormals
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|WikiVPH
 +
|style="background-color:#C1F0F6;"|WikiVPH
 +
|}
 +
|valign="top" colspan="2"|<u>'''Systems'''</u>
 +
{|
 +
!style="background-color:#C1F0F6;" align="left"|<font color="red">Variable</font>
 +
!style="background-color:#C1F0F6;" align="left"|<font color="red">System</font>
 +
|-
 +
!align="left"|Alimentary
 +
|Anatomy & Physiology
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|Cardiorespiratory
 +
|style="background-color:#C1F0F6;"|Cardiorespiratory System
 +
|-
 +
!align="left"|Developmental
 +
|Developmental Biology
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|Endocrine
 +
|style="background-color:#C1F0F6;"|Endocrine System
 +
|-
 +
!align="left"|Integument
 +
|Integumentary System
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|Immunology
 +
|style="background-color:#C1F0F6;"|Haematology and Immunology
 +
|-
 +
!align="left"|Lymphatic
 +
|Lymphoreticular System
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|MSK
 +
|style="background-color:#C1F0F6;"|Musculoskeletal System
 +
|-
 +
!align="left"|Nervous
 +
|Nervous and Special Senses
 +
|-
 +
!style="background-color:#C1F0F6;" align="left"|Reproductive
 +
|style="background-color:#C1F0F6;"|Reproductive System
 +
|-
 +
!align="left"|Urinary
 +
|Urinary System
 +
|}
 +
|}
  
 
+
==Example==
 
+
<p>Example page: [[Urinary Anatomy & Physiology Quiz|'''Urinary Anatomy & Physiology Quiz''']]</p>
{{ifeq|if={{{topic|}}}|eq=Pathology|then=[[Category:{{{topic|}}} Quizzes]]|else=}}
+
<br>
 
+
<p>For a quiz on the pathology of the cardiorespiratory system.</p>
 
+
<p><code><nowiki>{{QuizCat|topic=Pathology|topicsubcategory=C|system=Cardiorespiratory|systemsubcategory=P}}</nowiki></code></p>
Pathology' for WikiPath pages, 'Anatomy' for WikiAnt and Phys pages, 'Bugs' for WikiBugs pages, 'Clinical' for WikiClinical pages 'VPH' for WikiVPH pages, 'Blood' for WikiBlood 'Drugs' for WikiDrugs 'WikiNormals' for WikiNormals and 'Help' for Help pages.
+
<br>
 +
<p>For a quiz on the anatomy and physiology of the urinary system.</p>
 +
<p><code><nowiki>{{QuizCat|topic=Anatomy|topicsubcategory=U|system=Urinary|systemsubcategory=A}}</nowiki></code></p>
 +
<br>
 +
<p>For a quiz on infectious diseases on viruses.</p>
 +
<p><code><nowiki>{{QuizCat|topic=Bugs|topicsubcategory=V}}</nowiki></code></p>
 +
<br>
 +
<p>For a quiz on infectious diseases on tuberculosis.</p>
 +
<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}}