Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
(27 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 7: | Regel 7: | ||
|Lesson learned= | |Lesson learned= | ||
|Description= | |Description= | ||
|Reference= | |||
|Lesson learned text= | |||
}} | }} | ||
</pre> | </pre> | ||
Regel 24: | Regel 26: | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | |||
"Reference": { | |||
"label": "Reference", | |||
"description": "A reference page defining the lesson learned context", | |||
"type": "wiki-page-name", | |||
"required": false | |||
}, | |||
"Lesson learned text": { | |||
"label": "Lesson learned text", | |||
"description": "Text to be used as the kind of lesson learned", | |||
"default": "lesson learned", | |||
"type": "string", | |||
"required": false | |||
} | } | ||
} | } | ||
Regel 30: | Regel 45: | ||
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:varLL|{{#if: {{{Lesson learned|}}}| {{{Lesson learned}}} | {{#if: {{{1|}}}| {{{1}}} }} }} }} | ||
{{#vardefine:varMN|{{#show: {{#var: | {{#vardefine:varPN|{{PAGENAME}}}} | ||
{{#vardefine:varMN|{{#show: {{#var:varPN}} | ?Model link | link=none | default={{#var:varPN}} }} }} | |||
<!-- Lesson learned text, work in progress --> | |||
{{#vardefine:varLLText|{{#if: {{{Lesson learned text|}}}| {{{Lesson learned text}}} | {{#if: {{{5|}}}| {{{5}}} | lesson learned }} }} }} | |||
{{#vardefine:varLLIncludeSemantics|Nee}} | {{#vardefine:varLLIncludeSemantics|Nee}} | ||
{{#vardefine:varPages|{{#ask: [[Lesson learned::{{#var:varLL}}]] | ?Lesson Learned back link= | mainlabel=- | link=none}}}} | |||
{{#vardefine:varPagesStripped|{{#arraymap:{{#var:varPages}}|,|@@@@|{{#ifeq: @@@@ | {{#var:varMN}}||@@@@}}|,}}}} | |||
{{#subobject: | {{#subobject: | ||
|Lesson learned={{#var: | |Lesson learned={{#var:varLL}} | ||
|Description={{{Description|}}} | |Description={{{Description|}}} | ||
|Lesson Learned back link={{ | |Reference={{{Reference|}}} | ||
|Lesson Learned back link={{#var:varMN}} | |||
}} | }} | ||
</div> | </div> | ||
<!-- for debug purposes | |||
varLL: {{#var:varLL}}<br /> | |||
ask: {{#ask: [[Lesson learned::{{#var:varLL}}]] | ?Lesson Learned back link= | mainlabel=- | link=none}}<br /> | |||
varPages = {{#var:varPages}}<br /> | |||
varPagesStripped = {{#var:varPagesStripped}}<br /> | |||
end debug --> | |||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed"> | ||
''' | '''{{int: EMM Text Lesson learned }}''': {{#show: {{#var:varLL}} | ?Heading}} | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
'''{{int: EMM Text Summary }}''': <br /> | |||
{{#show: {{#var:varLL}} | ?Summary}} | |||
---- | ---- | ||
{{:{{#var: | '''Context''': <br /> | ||
{{{Description|}}} | |||
---- | |||
<div style="text-align: right;">Link to lesson learned page: [[{{#var:varLL}}]]</div> | <!-- '''Content''': <br /> -->{{:{{#var:varLL}}}} | ||
---- | |||
{{#if: {{#var:varPagesStripped}}|<div style="text-align: right;">{{int: EMM Text Other pages with this lesson learned }}: {{#arraymap:{{#var:varPagesStripped}}|,|@@@@|{{#ask: [[Model link::@@@@]]}}|,<nowiki> </nowiki>}}</div><br />}} | |||
{{#if:{{CURRENTLOGGEDUSER}}| | |||
<div style="text-align: right;">{{int: EMM Text Link to lesson learned page }}: [[{{#var:varLL}}]]</div> | |||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Huidige versie van 5 okt 2020 om 20:19
This is the "Include lesson learned" template. It should be called in the following format:
{{Include lesson learned |Lesson learned= |Description= |Reference= |Lesson learned text= }}
Include lesson learned
Parameter | Beschrijving | Type | Status | |
---|---|---|---|---|
Lesson learned | Lesson learned | Link to a Lesson Learned page | Paginanaam | vereist |
Description | Description | Describe the context for this lesson learned | Tekenreeks | voorgesteld |
Reference | Reference | A reference page defining the lesson learned context | Paginanaam | optioneel |
Lesson learned text | Lesson learned text | Text to be used as the kind of lesson learned
| Tekenreeks | optioneel |
Edit the page to see the template text.