Difference between revisions of "Template:Subsidiepartner menu"
From Dashboard samenwerking Wijchen
Line 5: | Line 5: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | Templates in need of creation/change: | ||
+ | - Subsidiepartner D-overzicht | ||
+ | - Subsidiepartner D-jaar | ||
+ | - Subsidiepartner menu view?? | ||
+ | |||
;Note: | ;Note: | ||
Line 18: | Line 24: | ||
}}<!-- | }}<!-- | ||
-->{{Samenwerking menu view|1={{ROOTPAGENAME}}}}</div> | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}}}</div> | ||
− | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=B |Form=Subsidiepartner |Subpage=B |Text= | + | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=B |Form=Subsidiepartner |Subpage=B |Text=Subsidieregime |Steps={{int:Steps in B}} |
|Class= {{Check ifexists |1={{ROOTPAGENAME}}/B |Yes=borderbottom-green |No=borderbottom-red }} | |Class= {{Check ifexists |1={{ROOTPAGENAME}}/B |Yes=borderbottom-green |No=borderbottom-red }} | ||
}}<!-- | }}<!-- | ||
-->{{Samenwerking menu view|1={{ROOTPAGENAME}}/B}}</div> | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/B}}</div> | ||
+ | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=C |Form=Subsidiepartner |Subpage=C |Text=Contactgegevens |Steps={{int:Steps in C}} | ||
+ | |Class= {{Check ifexists |1={{ROOTPAGENAME}}/C |Yes=borderbottom-green |No=borderbottom-red }} | ||
+ | }}<!-- | ||
+ | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/C}}</div> | ||
<!--find latest year of which a subpage exists, otherwise formlink subpage of current year. Also if yearpages exist but C page not yet, autocreate it.--> | <!--find latest year of which a subpage exists, otherwise formlink subpage of current year. Also if yearpages exist but C page not yet, autocreate it.--> | ||
− | {{#ask:[[Class:: | + | {{#ask:[[Class::D Resultaten jaarpagina]] |
[[Belongs to cooperation::{{ROOTPAGENAME}}]] | [[Belongs to cooperation::{{ROOTPAGENAME}}]] | ||
|?Year= | |?Year= | ||
Line 29: | Line 39: | ||
|sort=Year | |sort=Year | ||
|format=array | |format=array | ||
− | |name=$sw menu | + | |name=$sw menu D years |
}}<!-- | }}<!-- | ||
Check number of yearpages. If > 0, set year variable to latest year, otherwise set current year | Check number of yearpages. If > 0, set year variable to latest year, otherwise set current year | ||
− | -->{{#ifeq:{{#arraysize:$sw menu | + | -->{{#ifeq:{{#arraysize:$sw menu D years}}| 0 |
− | |{{#vardefine:@sw menu | + | |{{#vardefine:@sw menu D year | {{CURRENTYEAR}} }} |
− | |{{#vardefine:@sw menu | + | |{{#vardefine:@sw menu D year | {{#arrayindex:$sw menu D years|-1}} }} |
− | {{#createpageifnotex:{{ROOTPAGENAME}}/ | + | {{#createpageifnotex:{{ROOTPAGENAME}}/D|<nowiki>{{Subsidiepartner D-overzicht | Delay publication=Yes}}</nowiki>}} |
}} | }} | ||
− | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter= | + | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=D| |Form=Subsidiepartner |Subpage=D/{{#var:@sw menu D year}} |Text=Resultaten |Steps={{int:Steps in D}}|Form=Subsidiepartner D-jaar |
− | |||
− | |||
− | |||
− | |||
|Class= {{Check ifexists |1={{ROOTPAGENAME}}/D |Yes=borderbottom-green |No=borderbottom-red }} | |Class= {{Check ifexists |1={{ROOTPAGENAME}}/D |Yes=borderbottom-green |No=borderbottom-red }} | ||
}}<!-- | }}<!-- | ||
− | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/D}}</div> | + | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/D}}</div><!-- |
− | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=E |Subpage=E |Text= | + | |
+ | --> | ||
+ | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=E |Form=Subsidiepartner |Subpage=E |Text=Kansen en risico’s |Steps={{int:Steps in E}} | ||
|Class= {{Check ifexists |1={{ROOTPAGENAME}}/E |Yes=borderbottom-green |No=borderbottom-red }} | |Class= {{Check ifexists |1={{ROOTPAGENAME}}/E |Yes=borderbottom-green |No=borderbottom-red }} | ||
}}<!-- | }}<!-- | ||
-->{{Samenwerking menu view|1={{ROOTPAGENAME}}/E}}</div> | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/E}}</div> | ||
− | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=F |Subpage=F |Text= | + | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=F |Form=Subsidiepartner |Subpage=F |Text=Governance |Steps={{int:Steps in F}} |
|Class= {{Check ifexists |1={{ROOTPAGENAME}}/F |Yes=borderbottom-green |No=borderbottom-red }} | |Class= {{Check ifexists |1={{ROOTPAGENAME}}/F |Yes=borderbottom-green |No=borderbottom-red }} | ||
}}<!-- | }}<!-- | ||
-->{{Samenwerking menu view|1={{ROOTPAGENAME}}/F}}</div> | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/F}}</div> | ||
− | <div class="btn" style="min-width:150px;">{{Formlink button sw | + | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=G |Form=Subsidiepartner |Subpage=G |Text=Proces |Steps={{int:Steps in G}} |
|Class= {{Check ifexists |1={{ROOTPAGENAME}}/G |Yes=borderbottom-green |No=borderbottom-red }} | |Class= {{Check ifexists |1={{ROOTPAGENAME}}/G |Yes=borderbottom-green |No=borderbottom-red }} | ||
}}<!-- | }}<!-- | ||
-->{{Samenwerking menu view|1={{ROOTPAGENAME}}/G}}</div> | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/G}}</div> | ||
+ | <div class="btn" style="min-width:150px;">{{Formlink button sw |Letter=H |Form=Subsidiepartner |Subpage=H |Text=Bibliotheek |Steps={{int:Steps in H}} | ||
+ | |Class= {{Check ifexists |1={{ROOTPAGENAME}}/H |Yes=borderbottom-green |No=borderbottom-red }} | ||
+ | }}<!-- | ||
+ | -->{{Samenwerking menu view|1={{ROOTPAGENAME}}/H}}</div> | ||
</div><!--- | </div><!--- | ||
Line 74: | Line 86: | ||
|Steps={{int:Steps in B}} | |Steps={{int:Steps in B}} | ||
|Class={{Check ifexists |1={{ROOTPAGENAME}}/B |Yes=borderbottom-green |No=borderbottom-red }} | |Class={{Check ifexists |1={{ROOTPAGENAME}}/B |Yes=borderbottom-green |No=borderbottom-red }} | ||
− | |Text= | + | |Text=Subsidieregime |
}} | }} | ||
{{Samenwerking menu public | {{Samenwerking menu public | ||
Line 81: | Line 93: | ||
|Steps={{int:Steps in C}} | |Steps={{int:Steps in C}} | ||
|Class={{Check ifexists |1={{ROOTPAGENAME}}/C |Yes=borderbottom-green |No=borderbottom-red }} | |Class={{Check ifexists |1={{ROOTPAGENAME}}/C |Yes=borderbottom-green |No=borderbottom-red }} | ||
− | |Text= | + | |Text=Contactgegevens |
}} | }} | ||
{{Samenwerking menu public | {{Samenwerking menu public | ||
Line 88: | Line 100: | ||
|Steps={{int:Steps in D}} | |Steps={{int:Steps in D}} | ||
|Class={{Check ifexists |1={{ROOTPAGENAME}}/D |Yes=borderbottom-green |No=borderbottom-red }} | |Class={{Check ifexists |1={{ROOTPAGENAME}}/D |Yes=borderbottom-green |No=borderbottom-red }} | ||
− | |Text= | + | |Text=Resultaten |
}} | }} | ||
{{Samenwerking menu public | {{Samenwerking menu public | ||
|Subpage=E | |Subpage=E | ||
|Letter=E | |Letter=E | ||
− | |Steps={{int:Steps in E}} | + | |Steps={{int:Steps in E}} |
|Class={{Check ifexists |1={{ROOTPAGENAME}}/E |Yes=borderbottom-green |No=borderbottom-red }} | |Class={{Check ifexists |1={{ROOTPAGENAME}}/E |Yes=borderbottom-green |No=borderbottom-red }} | ||
− | |Text= | + | |Text=Kansen en risico’s |
}} | }} | ||
{{Samenwerking menu public | {{Samenwerking menu public | ||
Line 102: | Line 114: | ||
|Steps={{int:Steps in F}} | |Steps={{int:Steps in F}} | ||
|Class={{Check ifexists |1={{ROOTPAGENAME}}/F |Yes=borderbottom-green |No=borderbottom-red }} | |Class={{Check ifexists |1={{ROOTPAGENAME}}/F |Yes=borderbottom-green |No=borderbottom-red }} | ||
− | |Text= | + | |Text=Governance |
}} | }} | ||
{{Samenwerking menu public | {{Samenwerking menu public | ||
Line 109: | Line 121: | ||
|Steps={{int:Steps in G}} | |Steps={{int:Steps in G}} | ||
|Class={{Check ifexists |1={{ROOTPAGENAME}}/G |Yes=borderbottom-green |No=borderbottom-red }} | |Class={{Check ifexists |1={{ROOTPAGENAME}}/G |Yes=borderbottom-green |No=borderbottom-red }} | ||
+ | |Text=Proces | ||
+ | }} | ||
+ | {{Samenwerking menu public | ||
+ | |Subpage=H | ||
+ | |Letter=H | ||
+ | |Steps={{int:Steps in H}} | ||
+ | |Class={{Check ifexists |1={{ROOTPAGENAME}}/H |Yes=borderbottom-green |No=borderbottom-red }} | ||
|Text=Bibliotheek | |Text=Bibliotheek | ||
}} | }} | ||
</div> | </div> | ||
}}</includeonly> | }}</includeonly> |
Revision as of 16:18, 15 April 2020
This is the template Subsidiepartner menu. It should be called in the following way:
{{Subsidiepartner menu }}
Templates in need of creation/change: - Subsidiepartner D-overzicht - Subsidiepartner D-jaar - Subsidiepartner menu view??
- Note
This is a sub template of Template:Subsidiepartner.