(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...')
|
|||
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: |
+ | {{#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}} }} }} |
||
− | {{# |
+ | {{#vardefine:varDesc|{{#if: {{{Description|}}}| {{{Description}}} | {{#if: {{{3|}}}| {{{3}}} }} }} }} |
− | | |
||
− | |Description |
||
− | | |
||
− | }} |
||
</div><div class="toccolours mw-collapsible mw-collapsed"> |
</div><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"> |
||
− | {{ |
+ | {{#var:varDesc}}<br /> |
{{#show: {{#var:varMN}} | ?Description}}<br /> |
{{#show: {{#var:varMN}} | ?Description}}<br /> |
||
<div style="text-align: right;">Meer informatie: [[{{#var:varLL}} | {{#show: {{#var:varMN}} | ?Heading nl}}]]</div> |
<div style="text-align: right;">Meer informatie: [[{{#var:varLL}} | {{#show: {{#var:varMN}} | ?Heading nl}}]]</div> |
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.