Difference between revisions of "Template:ResourceCards"

From The Embassy of Good Science
Line 1: Line 1:
  - Training
+
{{#vardefine:CountGuidelines|{{#ask:
  - Standard Operating Procedure
+
  [[Category:Resource]]
  - Self-Education
+
  [[Resource Type::Guidelines]]
  - Game
 
  - Teaching Material
 
  - Case Analysis
 
  - Tutorial
 
 
 
{{#vardefine:CountTraining|{{#ask:
 
  [[Category:Instruction]]
 
  [[Instrcution Type::Training]]
 
 
  |format=count
 
  |format=count
}}}}{{#vardefine:CountStandardOperatingProcedure|{{#ask:
+
}}}}{{#vardefine:CountCases|{{#ask:
  [[Category:Instruction]]
+
  [[Category:Resource]]
  [[Instrcution Type::Standard Operating Procedure]]
+
  [[Resource Type::Cases]]
 
  |format=count
 
  |format=count
}}}}{{#vardefine:CountSelfEducation|{{#ask:
+
}}}}{{#vardefine:CountEC|{{#ask:
  [[Category:Instruction]]
+
  [[Category:Resource]]
  [[Instrcution Type::Self-Education]]
+
  [[Resource Type::Experts & Committees]]
 
  |format=count
 
  |format=count
}}}}{{#vardefine:CountGame|{{#ask:
+
}}}}{{#vardefine:CountEducation|{{#ask:
  [[Category:Instruction]]
+
  [[Category:Resource]]
  [[Instrcution Type::Game]]
+
  [[Resource Type::Education]]
|format=count
 
}}}}{{#vardefine:CountTeachingMaterial|{{#ask:
 
[[Category:Instruction]]
 
[[Instrcution Type::Teaching Material]]
 
|format=count
 
}}}}{{#vardefine:CountCaseAnalysis|{{#ask:
 
[[Category:Instruction]]
 
[[Instrcution Type::Case Analysis]]
 
|format=count
 
}}}}{{#vardefine:CountTutorial|{{#ask:
 
[[Category:Instruction]]
 
[[Instrcution Type::Tutorial]]
 
 
  |format=count
 
  |format=count
 
}}}}
 
}}}}
<div class="card-grid-4">
+
<div class="card-grid-4">{{ResourceCard|Icon-resources-guidelines.svg|Guidelines|{{#var:CountGuidelines}} resources|:Category:Resource}}{{ResourceCard|Icon-resources-cases.svg|Cases |{{#var:CountCases}} resources|:Category:Resource}}{{ResourceCard|Icon-resources-experts-committees.svg|Experts & Committees|{{#var:CountEC}} resources |:Category:Resource}}{{ResourceCard|Icon-resources-education.svg|Education|{{#var:CountEducation}} resources|:Category:Resource}}</div>
{{InstructionCard|Icon-resources-guidelines.svg|Trainings |{{#var:CountTraining}} instructions|:Category:Instruction}}
 
 
 
{{InstructionCard|Icon-resources-guideline.svg|Standard Operating Procedure |{{#var:CountStandardOperatingProcedure}} instructions|:Category:Instruction}}
 
 
 
{{InstructionCard|Icon-resources-guideline.svg|Self-Educations |{{#var:CountSelfEducation}} instructions|:Category:Instruction}}
 
 
 
{{InstructionCard|Icon-resources-guideline.svg|Games |{{#var:CountGame}} instructions|:Category:Instruction}}
 
</div>
 
 
 
<div class="card-grid">
 
{{InstructionCard|Icon-resources-guidelines.svg|Teaching Materials |{{#var:CountTeachingMaterial}} instructions|:Category:Instruction}}
 
 
 
{{InstructionCard|Icon-resources-guideline.svg|Code Analysis |{{#var:CountCaseAnalysis}} instructions|:Category:Instruction}}
 
 
 
{{InstructionCard|Icon-resources-guideline.svg|Tutorials |{{#var:CountTutorial}} instructions|:Category:Instruction}}
 
</div>
 

Revision as of 13:51, 18 May 2020

Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6