Difference between revisions of "Template:ThemeCards"
From The Embassy of Good Science
| Line 1: | Line 1: | ||
| − | <div class="card-grid">{{ ThemeCard| Principles & aspirations | | + | {{#vardefine:CountPA|{{#ask: |
| + | [[Category:Theme]] | ||
| + | [[Theme Type::Principles & aspirations]] | ||
| + | |format=count | ||
| + | }}}} | ||
| + | |||
| + | {{#vardefine:CountGP|{{#ask: | ||
| + | [[Category:Theme]] | ||
| + | [[Theme Type::Principles & aspirations]] | ||
| + | |format=count | ||
| + | }}}} | ||
| + | |||
| + | {{#vardefine:CountMM|{{#ask: | ||
| + | [[Category:Theme]] | ||
| + | [[Theme Type::Misconduct & misbehaviors]] | ||
| + | |format=count | ||
| + | }}}} | ||
| + | |||
| + | <div class="card-grid">{{ ThemeCard| Principles & aspirations | {{#var:CountPA}} themes |:Category:Theme}}{{ ThemeCard | Good practices | {{#var:CountGP}} themes |:Category:Theme}}{{ ThemeCard | Misconduct & misbehaviors | {{#var:CountMM}} themes |:Category:Theme}}</div> | ||
