Difference between revisions of "Template:Show samenwerkingsverbanden of categories"

From Dashboard samenwerking Wijchen
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
  
This is the ''Show samenwerkingsverbanden of categories'' template. It is used to show an overview of all collaborations, separated by their values for the 'category of collaboration' property. If collaborations do not have this property, they are placed with the collaborations in the 'other' category.
+
This is the ''Show samenwerkingsverbanden of categories'' template. It is used to show an overview of all collaborations, separated by their values for the 'category of collaboration' property. If collaborations do not have this property, they are placed with the collaborations in the 'other' category. The 'Belangrijke subsidiepartners' category is treated differently from the regular orderof
  
 
<pre>
 
<pre>
Line 10: Line 10:
  
 
</noinclude><includeonly>{{#arraydefine:$overige | {{{Overige naam| }}} }}<!--
 
</noinclude><includeonly>{{#arraydefine:$overige | {{{Overige naam| }}} }}<!--
 +
 +
-- since the 'belangrijke subsidiepartner' has become an important category it should be placed in a more definite place
 +
-->{{#arraydefine:$belangrijke subsidiepartner | Belangrijke subsidiepartner }}<!--
  
 
-- Maak array met verbanden die geen categorie hebben
 
-- Maak array met verbanden die geen categorie hebben
Line 35: Line 38:
 
}}<!--
 
}}<!--
 
-->{{#arraydiff:$categorie namen zonder overige | $categorie namen | $overige}}<!--
 
-->{{#arraydiff:$categorie namen zonder overige | $categorie namen | $overige}}<!--
{{#arraydefine:$categorie namen zonder overige | {{#arrayprint:$categorie namen zonder overige}} |unique,sort=desc }}
+
-->{{#arraydiff:$normale namen | $categorie namen zonder overige | $belangrijke subsidiepartner}}<!--
  
 
-- samenwerkingsverbanden van categorieën (zonder overige)  
 
-- samenwerkingsverbanden van categorieën (zonder overige)  
-->{{#arraymaptemplate:{{#arrayprint:$categorie namen zonder overige}}|Show samenwerkingsverbanden of category|,|}}<!--
+
-->{{#arraymaptemplate:{{#arrayindex:$normale namen|0}}|Show samenwerkingsverbanden of category|,|}}<!--
 +
-->{{#arraymaptemplate:{{#arrayprint:$belangrijke subsidiepartner}}|Show samenwerkingsverbanden of category|,|}}<!--
 +
-->{{#arraymaptemplate:{{#arrayindex:$normale namen|1}}|Show samenwerkingsverbanden of category|,|}}<!--
  
 
-- samenwerkingsverbanden van overige categorie en zonder categorie  
 
-- samenwerkingsverbanden van overige categorie en zonder categorie  

Latest revision as of 16:51, 14 May 2020


This is the Show samenwerkingsverbanden of categories template. It is used to show an overview of all collaborations, separated by their values for the 'category of collaboration' property. If collaborations do not have this property, they are placed with the collaborations in the 'other' category. The 'Belangrijke subsidiepartners' category is treated differently from the regular orderof

{{Show samenwerkingsverbanden of categories
|Overige naam  = <name of 'other' category>
}}