|
|||
Regel 17: | Regel 17: | ||
}} |
}} |
||
<!-- varVNCategory is set elsewhere. If it is defined, then it is used as the VN category --> |
<!-- varVNCategory is set elsewhere. If it is defined, then it is used as the VN category --> |
||
− | {{#if: {{#var:varVNCategory}} | {{#vardefine:varCategory|{{#var:varVNCategory}}}} | |
+ | {{#if: {{#var:varVNCategory}} | {{#vardefine:varCategory|{{#var:varVNCategory}}}} | {{#vardefine:varCategory|{{#if: {{#show:{{#var:varPageName}}| ?Intentional Element type }} | Intentional Element VN | Context VN}} }} }} |
− | {{#vardefine:varCategory|{{#if: {{#show:{{#var:varPageName}}| ?Intentional Element type }} | Intentional Element VN | Context VN}} }} |
||
{{#forminput:form={{#var:varCategory}} |
{{#forminput:form={{#var:varCategory}} |
||
| button text=Creëer een {{#var:varCategory}} pagina |
| button text=Creëer een {{#var:varCategory}} pagina |
||
Regel 24: | Regel 23: | ||
| {{#var:varCategory}}[Model link]]={{#var:varPageName}} |
| {{#var:varCategory}}[Model link]]={{#var:varPageName}} |
||
| default value={{#var:varPageName}} VN |
| default value={{#var:varPageName}} VN |
||
− | |||
}} |
}} |
||
</div> |
</div> |
||
</div> |
</div> |
||
</includeonly> |
</includeonly> |
This is the "VN query" template. It should be called in the following format:
{{VN query }}
Edit the page to see the template text.