Sjabloon:Projecten: verschil tussen versies

 
(6 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
 
<noinclude>
 
<noinclude>
 
[[Category:EMont core]]
 
[[Category:EMont core]]
  +
[[Category:EMont core protected]]
 
This is the "Projecten" template.
 
This is the "Projecten" template.
 
It should be called in the following format:
 
It should be called in the following format:
Regel 9: Regel 10:
 
|Program priority=
 
|Program priority=
 
|Project type=
 
|Project type=
  +
|Show info=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 23: Regel 25:
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
</div>
 
</div>
  +
{{#ifeq: {{{Show info|}}}|Nee||
 
{{#ifexpr: {{#expr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} or {{#if: {{{Project type|}}}|1|0}} }} |
 
{{#ifexpr: {{#expr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} or {{#if: {{{Project type|}}}|1|0}} }} |
 
== Projects ==
 
== Projects ==
Regel 30: Regel 33:
 
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
 
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
 
| ?Self=Project
 
| ?Self=Project
| ?Name=Project title
+
<!-- | ?Name=Project title   self geeft nu ook de leesbare, semantic title weer, waarmee dit veld overbodig is geworden -->
 
| ?Start date=Start date
 
| ?Start date=Start date
 
| ?End date=End date
 
| ?End date=End date
Regel 42: Regel 45:
 
== Programmes ==
 
== Programmes ==
   
  +
{{#ifexpr: {{#ask: [[Category:Projecten]] [[Supercontext::{{PAGENAME}}]] [[Program priority::5 - very high]] | format=count}} > 0 |
 
=== Core programmes ===
 
=== Core programmes ===
   
Regel 47: Regel 51:
 
| limit=500
 
| limit=500
 
| format=datatables
 
| format=datatables
  +
}}
 
}}
 
}}
   
Regel 59: Regel 64:
 
}}
 
}}
 
}}
 
}}
  +
}} <!-- end if Show info -->
 
[[Category:Projecten]]
 
[[Category:Projecten]]
 
</includeonly>
 
</includeonly>

Huidige versie van 13 nov 2016 om 15:40

This is the "Projecten" template. It should be called in the following format:

{{Projecten
|Supercontext=
|Heading=
|Program priority=
|Project type=
|Show info=
}}

Edit the page to see the template text.