Sjabloon:Case Context show: verschil tussen versies

 
(9 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 6: Regel 6:
 
{{Case Context VN show
 
{{Case Context VN show
 
|Page name=
 
|Page name=
  +
|Heading=
  +
|ImageMap template=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 12: Regel 14:
 
{{#vardefine:varPageName|{{#if: {{{Page name|}}}| {{{Page name}}} | {{PAGENAME}} }} }}
 
{{#vardefine:varPageName|{{#if: {{{Page name|}}}| {{{Page name}}} | {{PAGENAME}} }} }}
 
{{#vardefine:varModel|{{#show: {{#var:varPageName}} | ?Model link | link=none | default={{#var:varPageName}} }} }}
 
{{#vardefine:varModel|{{#show: {{#var:varPageName}} | ?Model link | link=none | default={{#var:varPageName}} }} }}
</div>
+
{{#set:Heading={{{Heading|}}}}}
<!-- the show pagename construct has to be replaced with varModel, somehow it doesn't work yet. -->
+
{{#set:ImageMap template={{{ImageMap template|}}}}}
<div id="page">
+
{{Set VN references}}</div>
  +
{{Sidebar
  +
| relatedprocesses = {{#ask: [[Category:Context VN]] [[Model link::<q>
  +
    [[Category:Context]] [[-Context::<q>
  +
        [[Category:Practice]] [[Part of::<q>
  +
            [[Category:Practice]] [[Context::{{#var:varModel}}]]</q>]]
  +
        </q>]]
  +
    </q>]]
  +
    | format=list | link=none}}
  +
| relatedcases = {{#ask: [[Category:Context VN]] [[Model link::<q>
  +
    [[Category:Context]] [[-Context::<q>
  +
        [[Category:Practice]] [[Practice type::Experience]] [[Part of::<q>
  +
            [[Category:Practice]] [[Context::{{#var:varModel}} ]]</q>]]
  +
        </q>]]
  +
    </q>]]| format = list | link=none}}
  +
<!-- {{#ask: [[Category:Context VN]] [[Supercontext::{{#var:varPageName}}]] | format=list | link=none}} -->
  +
}}
 
{{Paragraphs show|Page name={{#var:varModel}} }}
 
{{Paragraphs show|Page name={{#var:varModel}} }}
 
{{#vardefine:varParts|{{#ask: [[Category:Intentional Element VN]] [[Part of::{{#var:varPageName}}]] | format=list | link=none}} }}
 
{{#vardefine:varParts|{{#ask: [[Category:Intentional Element VN]] [[Part of::{{#var:varPageName}}]] | format=list | link=none}} }}
Regel 24: Regel 42:
 
{{#arraymap: {{#var:varParent}}|,|@@@@| {{Convert link | Link name VN=@@@@ | Alt name = {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}}} }}
 
{{#arraymap: {{#var:varParent}}|,|@@@@| {{Convert link | Link name VN=@@@@ | Alt name = {{#show: {{#show: @@@@ | ?Model link | link=none }} | ?Heading nl}}}} }}
 
}}
 
}}
</div>
+
{{References}}
{{Sidebar
+
{{ImageMap show|ImageMap template={{{ImageMap template|}}}}}
| relatedprocesses = {{#ask: [[Category:Context VN]] [[Model link::<q>
+
{{#emmsearch_morelikethis:position=#taxonomy|styling=panel|limit={{{limit|10}}}}}
    [[Category:Context]] [[-Context::<q>
 
        [[Category:Practice]] [[-Part of::<q>
 
            [[Category:Practice]] [[Context::{{#var:varModel}}]]</q>]]
 
        </q>]]
 
    </q>]]
 
    | format=list | link=none}}
 
| relatedcases = {{#ask: [[Category:Context VN]] [[Supercontext::{{#var:varPageName}}]] | format=list | link=none}}
 
}}
 
 
</includeonly>
 
</includeonly>

Huidige versie van 6 nov 2023 om 10:10

This is the "Case Context VN show" template. It should be called in the following format:

{{Case Context VN show
|Page name=
|Heading=
|ImageMap template=
}}

Edit the page to see the template text.

HZ University of Applied Sciences
Rijkswaterstaat, Ministerie van Infrastructuur en Milieu
Projectbureau Zeeweringen
Waterschap Scheldestromen
Provincie Zeeland
Deltares