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