Difference between revisions of "Template:ResourceCards"
From The Embassy of Good Science
Line 15: | Line 15: | ||
[[Resource Type::Education]] | [[Resource Type::Education]] | ||
|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-experts-committees.svg|Experts & Committees|{{#var:CountEC}} resources |Special:BrowseData/Resource}}{{ResourceCard|Icon-resources-education.svg|Education|{{#var:CountEducation}} resources|Special:BrowseData/Resource}}</div> | + | }}}}{{#vardefine:CountAll|{{#ask: |
+ | [[Category:Resource]] | ||
+ | |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-experts-committees.svg|Experts & Committees|{{#var:CountEC}} resources |Special:BrowseData/Resource}}{{ResourceCard|Icon-resources-education.svg|Education|{{#var:CountEducation}} resources|Special:BrowseData/Resource}}</div><div class="card-grid-4">{{ResourceCard|Icon-resources.svg|All Resources|{{#var:CountAll}} resources|Special:BrowseData/Resource}}</div> |