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

From Dashboard samenwerking Wijchen
 
(3 intermediate revisions by the same user not shown)
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=asc }}
+
-->{{#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  
Line 45: Line 50:
 
{{#ask: [[Class::Samenwerkingsverband]][[Category of collaboration::{{#arrayprint:$overige}}]]
 
{{#ask: [[Class::Samenwerkingsverband]][[Category of collaboration::{{#arrayprint:$overige}}]]
 
|?=Page
 
|?=Page
|?Toezichtarrangement
 
 
|format=template
 
|format=template
 
|template=Show samenwerkingsverbanden on dashboard
 
|template=Show samenwerkingsverbanden on dashboard
Line 51: Line 55:
 
|link=none
 
|link=none
 
|named args=yes
 
|named args=yes
}}{{#arraymap: {{#arrayprint:$verbanden zonder categorie}}|,| @@@ | {{Show samenwerkingsverbanden on dashboard|?Page=@@@}}|}}</div></div><!--
+
}}{{#arraymap: {{#arrayprint:$verbanden zonder categorie}}|,| @@@ | {{Show samenwerkingsverbanden on dashboard|Page=@@@}}|}}</div></div><!--
  
 
--></includeonly>
 
--></includeonly>

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>
}}