Difference between revisions of "Template:ResourceCards"
From The Embassy of Good Science
(MWBot) |
|||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{#vardefine:CountGuidelines|{{#ask: | |
− | + | [[Category:Resource]] | |
− | + | [[Resource Type::Guidelines]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#vardefine: | ||
− | [[Category: | ||
− | [[ | ||
|format=count | |format=count | ||
− | }}}}{{#vardefine: | + | }}}}{{#vardefine:CountCases|{{#ask: |
− | [[Category: | + | [[Category:Resource]] |
− | [[ | + | [[Resource Type::Cases]] |
|format=count | |format=count | ||
− | }}}}{{#vardefine: | + | }}}}{{#vardefine:CountEducation|{{#ask: |
− | [[Category: | + | [[Category:Resource]] |
− | [[ | + | [[Resource Type::Education]] |
|format=count | |format=count | ||
− | }}}}{{#vardefine: | + | }}}}{{#vardefine:CountScenarios|{{#ask: |
− | [[Category: | + | [[Category:Resource]] |
− | [[ | + | [[Resource Type::Scenarios]] |
|format=count | |format=count | ||
− | }}}}{{#vardefine: | + | }}}}{{#vardefine:CountInteractive|{{#ask: |
− | [[Category: | + | [[Category:Resource]] |
− | [[ | + | [[Resource Type::Interactive]] |
|format=count | |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> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <div class="card-grid- | ||
− | {{ | ||
− | |||
− | {{ | ||
− | |||
− | {{ | ||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | </div> |