Difference between revisions of "Template:ThemeCards"
From The Embassy of Good Science
m (Protected "Template:ThemeCards": MWBot ([Edit=Allow only administrators] (indefinite))) |
|||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="card-grid | + | {{#vardefine:CountPA|{{#ask: |
− | + | [[Category:Theme]] | |
− | + | [[Theme Type::Principles & Aspirations]] | |
− | + | |format=count | |
− | </div> | + | }}}}{{#vardefine:CountGP|{{#ask: |
+ | [[Category:Theme]] | ||
+ | [[Theme Type::Good Practices]] | ||
+ | |format=count | ||
+ | }}}}{{#vardefine:CountMM|{{#ask: | ||
+ | [[Category:Theme]] | ||
+ | [[Theme Type::Misconduct & Misbehaviors]] | ||
+ | |format=count | ||
+ | }}}}{{#vardefine:CountALL|{{#ask: | ||
+ | [[Category:Theme]] | ||
+ | |format=count | ||
+ | }}}}<div class="card-grid">{{ThemeCard|Principles & Aspirations|{{#var:CountPA}} themes|Special:BrowseData/Theme}}{{ThemeCard|Good Practices|{{#var:CountGP}} themes |Special:BrowseData/Theme}}{{ThemeCard|Misconduct & Misbehaviors|{{#var:CountMM}} themes|Special:BrowseData/Theme}}{{ThemeCard|All Themes|{{#var:CountALL}} themes|Special:BrowseData/Theme}}</div> |