Difference between revisions of "Template:ResourceCards"

From The Embassy of Good Science
(MWBot)
 
(19 intermediate revisions by 3 users not shown)
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:CountEducation|{{#ask:
  [[Category:Instruction]]
+
  [[Category:Resource]]
  [[Instrcution Type::Self-Education]]
+
  [[Resource Type::Education]]
 
  |format=count
 
  |format=count
}}}}{{#vardefine:CountGame|{{#ask:
+
}}}}{{#vardefine:CountScenarios|{{#ask:
  [[Category:Instruction]]
+
  [[Category:Resource]]
  [[Instrcution Type::Game]]
+
  [[Resource Type::Scenarios]]
 
  |format=count
 
  |format=count
}}}}{{#vardefine:CountTeachingMaterial|{{#ask:
+
}}}}{{#vardefine:CountInteractive|{{#ask:
  [[Category:Instruction]]
+
  [[Category:Resource]]
  [[Instrcution Type::Teaching Material]]
+
  [[Resource Type::Interactive]]
 
  |format=count
 
  |format=count
}}}}{{#vardefine:CountCaseAnalysis|{{#ask:
+
}}}}<div class="card-grid-5">{{ResourceCard|Icon-resources-guidelines.svg|Guidelines|{{#var:CountGuidelines}} resources|Special:BrowseData/Resource}}{{ResourceCard|Icon-resources-cases.svg|Cases |{{#var:CountCases}} resources|Special:BrowseData/Resource}}{{ResourceCard|Icon-resources-education.svg|Education|{{#var:CountEducation}} resources|Special:BrowseData/Resource}}{{ResourceCard|Icon-trainings.svg|Scenarios|{{#var:CountScenarios}} resources|Special:BrowseData/Resource}}{{ResourceCard|Icon-resources-other.svg|Interactive|{{#var:CountInteractive}} resources|Special:BrowseData/Resource}}</div>
[[Category:Instruction]]
 
[[Instrcution Type::Case Analysis]]
 
|format=count
 
}}}}{{#vardefine:CountTutorial|{{#ask:
 
[[Category:Instruction]]
 
[[Instrcution Type::Tutorial]]
 
|format=count
 
}}}}
 
<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>
 

Latest revision as of 17:18, 19 December 2023

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