Difference between revisions of "Template:ResourceCards"

From The Embassy of Good Science
(MWBot)
(MWBot)
 
(9 intermediate revisions by 3 users not shown)
Line 11: Line 11:
 
  [[Resource Type::Education]]
 
  [[Resource Type::Education]]
 
  |format=count
 
  |format=count
}}}}{{#vardefine:CountAll|{{#ask:
+
}}}}{{#vardefine:CountScenarios|{{#ask:
 
  [[Category:Resource]]
 
  [[Category:Resource]]
 +
[[Resource Type::Scenarios]]
 
  |format=count
 
  |format=count
}}}}<div class="card-grid-4">{{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-resources.svg|All Resources|{{#var:CountAll}} resources|Special:BrowseData/Resource}}</div>
+
}}}}{{#vardefine:CountInteractive|{{#ask:
 +
[[Category:Resource]]
 +
[[Resource Type::Interactive]]
 +
|format=count
 +
}}}}<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>

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