|
|||
(7 tussenliggende versies door 3 gebruikers niet weergegeven) | |||
Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
+ | [[Category:EMont core]] |
||
This is the "VN query" template. |
This is the "VN query" template. |
||
It should be called in the following format: |
It should be called in the following format: |
||
Regel 10: | Regel 11: | ||
<div class="toccolours mw-collapsible mw-collapsed"> |
<div class="toccolours mw-collapsible mw-collapsed"> |
||
De View-Navigation (VN) pagina's. |
De View-Navigation (VN) pagina's. |
||
− | <div class="mw-collapsible-content"> |
+ | <div class="mw-collapsible-content">{{#vardefine:varPageName|{{PAGENAME}} }}
|
− | {{#ask: [[Model link::{{ |
+ | {{#ask: [[Model link::{{#var:varPageName}}]] |
| format=list |
| format=list |
||
| default=Er zijn geen VN pagina's gelinkt. |
| default=Er zijn geen VN pagina's gelinkt. |
||
}} |
}} |
||
− | {{#vardefine: |
+ | <!-- varVNCategory is set elsewhere. If it is defined, then it is used as the VN category --> |
− | {{#vardefine:varCategory|{{#if: {{#show:{{var:varPageName}}| ?Intentional Element type }} | Intentional Element VN | Context VN}} }} |
+ |
{{#if: {{#var:varVNCategory}} | {{#vardefine:varCategory|{{#var:varVNCategory}}}} | {{#vardefine:varCategory|{{#if: {{#show:{{#var:varPageName}}| ?Intentional Element type }} | Intentional Element VN | Context VN}} }} }} |
− | {{#forminput:form={{#var: |
+ | {{#forminput:form={{#var:varCategory}} |
| button text=Creëer een {{#var:varCategory}} pagina |
| button text=Creëer een {{#var:varCategory}} pagina |
||
| size=60 |
| size=60 |
This is the "VN query" template. It should be called in the following format:
{{VN query }}
Edit the page to see the template text.