Difference between revisions of "Template:ThemeCards"

From The Embassy of Good Science
Line 1: Line 1:
 
{{#vardefine:CountPA|{{#ask:
 
{{#vardefine:CountPA|{{#ask:
 
  [[Category:Theme]]
 
  [[Category:Theme]]
  [[Theme Type::Principles & aspirations]]
+
  [[Theme Type::Principles & Aspirations]]
 
  |format=count
 
  |format=count
 
}}}}{{#vardefine:CountGP|{{#ask:
 
}}}}{{#vardefine:CountGP|{{#ask:
 
  [[Category:Theme]]
 
  [[Category:Theme]]
  [[Theme Type::Good practices]]
+
  [[Theme Type::Good Practices]]
 
  |format=count
 
  |format=count
 
}}}}{{#vardefine:CountMM|{{#ask:
 
}}}}{{#vardefine:CountMM|{{#ask:
 
  [[Category:Theme]]
 
  [[Category:Theme]]
  [[Theme Type::Misconduct & misbehaviors]]
+
  [[Theme Type::Misconduct & Misbehaviors]]
 
  |format=count
 
  |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>
+
<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>

Revision as of 16:19, 8 January 2020

Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6