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