Difference between revisions of "Template:Design pattern"

From PegaWiki
Jump to navigation Jump to search
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={{{Version|}}} |Applications={{{Applications|}}} |Capability Area={{{Capability Area|}}} |Owner={{{Owner|}}} |New={{#if: {{#show: {{FULLPAGENAME}} |?Approval status}}|0|1}} |Changed={{#ifexpr: {{#show: {{FULLPAGENAME}} |?Modification date}} >> {{#show: {{FULLPAGENAME}} |?Approval date|default=0}}|1|0}} }}
+
</noinclude><includeonly>{{#set: Class=Design pattern |Title={{{Title|}}} |Description={{{Description|}}} |Version={{{Version|}}} |Applications={{{Applications|}}} |Capability Area={{{Capability Area|}}} |Owner={{{Owner|}}} |Is new={{#if: {{#show: {{FULLPAGENAME}} |?Approval status}}|0|1}} |Is changed={{#ifexpr: {{#time: R | {{#show: {{FULLPAGENAME}} |?Modification date#ISO}} }} >> {{#time: R | {{#show: {{FULLPAGENAME}} |?Approval date#ISO|default=2020-01-01}} }}|1|0}} }}
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 13:45, 23 July 2020

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

{{Design pattern
|Title=
|Body=
|Description=
|Version=
|Applications=
|Capability Area=
|Owner=
}}

Edit the page to see the template text.