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

From Dashboard samenwerking Wijchen
m
 
(7 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 32: Line 35:
 
|format=array
 
|format=array
 
|name=$categorie namen
 
|name=$categorie namen
 +
|sort=Categorie naam
 
}}<!--
 
}}<!--
-->{{#arraydiff:$categorie namen zonder overige | $categorie namen | $overige | sort=asc}}<!--
+
-->{{#arraydiff:$categorie namen zonder overige | $categorie namen | $overige}}<!--
 +
-->{{#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 48: 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 17: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>
}}