Difference between revisions of "Template:Design pattern"

From PegaWiki
Jump to navigation Jump to search
(adjusted the labels)
Line 14: Line 14:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#set: Class=Design pattern |Title={{{Title|}}} |Description={{{Description|}}} |Version as of={{{Version|}}} |Application={{{Applications|}}} |Capability/Industry Area={{{Capability Area|}}} |Owner={{{Owner|}}} |Is new={{#if: {{#show: {{FULLPAGENAME}} |?Approval status}}|0|1}} |Is changed={{#ifexpr: {{#time: U | {{#show: {{FULLPAGENAME}} |?Modification date#ISO}} }} > {{#time: U | {{#show: {{FULLPAGENAME}} |?Approval date#ISO|default=2020-01-01}} }}|1|0}} }}
+
</noinclude><includeonly>{{#set: Class=Design pattern  
 
+
|Title={{{Title|}}}  
 +
|Description={{{Description|}}}  
 +
|Version as of={{{Version|}}}  
 +
|Application={{{Applications|}}}  
 +
|Capability/Industry Area={{{Capability Area|}}}  
 +
|Owner={{{Owner|}}}  
 +
|Is new={{#if: {{#show: {{FULLPAGENAME}} |?Approval status}}|0|1}}  
 +
|Is changed={{#ifexpr: {{#time: U | {{#show: {{FULLPAGENAME}} |?Modification date#ISO}} }} > {{#time: U | {{#show: {{FULLPAGENAME}} |?Approval date#ISO|default=2020-01-01}} }}|1|0}}  
 +
}}
 
{| class="wikitable"
 
{| class="wikitable"
 
! Description
 
! Description

Revision as of 13:46, 25 August 2020

This is the "Design pattern" template. It should be called in the following format:

{{Design pattern
|Title=
|Description=
|Version as of=
|Application=
|Capability/Industry Area=
|Owner=
|Body=
}}

Edit the page to see the template text.