Sjabloon:Lesson learned show: verschil tussen versies

(Nieuwe pagina aangemaakt met '<noinclude> Category:EMont core This is the "Lesson learned show" template. It should be called in the following format: <pre> {{Lesson learned show |Lesson lea...')
 
 
(14 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 5: Regel 5:
 
<pre>
 
<pre>
 
{{Lesson learned show
 
{{Lesson learned show
  +
|Page name=
 
|Lesson learned=
 
|Lesson learned=
 
|Description=
 
|Description=
Regel 11: Regel 12:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly><div style="display:none;">
 
</noinclude><includeonly><div style="display:none;">
{{#vardefine:varLL|{{#if: {{{Lesson learned|}}}| {{{Lesson learned}}} | {{#if: {{{1|}}}| {{{1}}} | {{PAGENAME}} }} }} }}
+
{{#vardefine:varPN|{{#if: {{{Page name|}}}| {{{Page name}}} | {{#if: {{{1|}}}| {{{1}}} | {{PAGENAME}} }} }} }}
  +
{{#vardefine:varLL|{{#if: {{{Lesson learned|}}}| {{{Lesson learned}}} | {{#if: {{{2|}}}| {{{2}}} }} }} }}
 
{{#vardefine:varMN|{{#show: {{#var:varLL}} | ?Model link | link=none | default={{#var:varLL}} }} }}
 
{{#vardefine:varMN|{{#show: {{#var:varLL}} | ?Model link | link=none | default={{#var:varLL}} }} }}
{{#subobject:
+
{{#vardefine:varDesc|{{#if: {{{Description|}}}| {{{Description}}} | {{#if: {{{3|}}}| {{{3}}} }} }} }}
|Lesson learned={{#var:varMN}}
+
{{#vardefine:varLessons|{{#ask: [[Lesson learned::{{#var:varMN}}]] | format=list | link=none}}}}
|Description={{{Description|}}}
+
{{#vardefine:varPages|{{#arraymap:{{#var:varLessons}}|,|@@@@|{{#show: @@@@| ?Lesson Learned back link | link=none}}|,}}}}
|Lesson Learned back link={{PAGENAME}}
+
{{#vardefine:varPagesStripped|{{#arraymap:{{#var:varPages}}|,|@@@@|{{#ifeq: @@@@ | {{#var:varPN}}||@@@@}}|,}}}}
}}
+
</div><!--
</div><div class="toccolours mw-collapsible mw-collapsed">
+
PN = {{#var:varPN}} <br />
  +
LL = {{#var:varLL}} <br />
  +
MN = {{#var:varMN}} <br />
  +
DS = {{#var:varDesc}} <br />
  +
Lessons={{#var:varLessons}}<br />
  +
Pages={{#var:varPages}}<br />
  +
PagesStripped={{#var:varPagesStripped}}<br />
  +
--><div class="toccolours mw-collapsible mw-collapsed">
 
Lesson learned: {{#show: {{#var:varMN}} | ?Heading nl}}
 
Lesson learned: {{#show: {{#var:varMN}} | ?Heading nl}}
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
{{{Description|}}}<br />
+
''{{#var:varDesc}}''<br />
{{#show: {{#var:varMN}} | ?Description}}<br />
+
{{#show: {{#var:varMN}} | ?Description}}
<div style="text-align: right;">Meer informatie: [[{{#var:varLL}} | {{#show: {{#var:varMN}} | ?Heading nl}}]]</div>
+
{{#if: {{#var:varPagesStripped}} | <br /><div style="text-align: right;">Andere pagina's met deze lesson learned: {{#arraymap:{{#var:varPagesStripped}}|,|@@@@|{{Convert link|Link name VN={{#ask: [[Model link::@@@@]] | link=none}}}}|,<nowiki> </nowiki>}}</div>}}
 
</div>
 
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Huidige versie van 28 nov 2016 om 20:34

This is the "Lesson learned show" template. It should be called in the following format:

{{Lesson learned show
|Page name=
|Lesson learned=
|Description=
}}

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