Difference between revisions of "Template:Design pattern"
Jump to navigation
Jump to search
(release 1.1 - new design pattern code) |
|||
(36 intermediate revisions by 4 users not shown) | |||
Line 5: | Line 5: | ||
{{Design pattern | {{Design pattern | ||
|Title= | |Title= | ||
+ | |Description= | ||
+ | |Version as of= | ||
+ | |Application= | ||
+ | |Capability/Industry Area= | ||
+ | |Owner= | ||
|Body= | |Body= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>{{# | + | </noinclude><includeonly>{{#vardefine:@title|{{#if:{{{Title|}}} |{{{Title|}}} |{{#explode:{{FULLPAGENAME}}|-|-1|2}} }} }}<!-- |
− | + | -->__NOTITLE__<!-- | |
+ | |||
+ | |||
+ | // ---v Do not change!! | ||
+ | --><div class="title"><h1 style="display:inline;">{{#var:@title}}</h1><div class="ratingstars-inline-title">{{#ratepage:{{FULLPAGENAME}}|Main }}</div><!-- | ||
+ | -->{{DISPLAYTITLE:{{#var:@title}} }}<!-- | ||
+ | --></div><!-- | ||
+ | // ---^ Do not change!! | ||
+ | |||
+ | -->{{#set: Class=Design pattern | ||
+ | |Title={{{Title|}}} | ||
+ | |Description={{{Description|}}} | ||
+ | |Version as of={{{Version|}}} | ||
+ | |Application={{{Applications|}}} | ||
+ | |Capability/Industry Area={{{Capability Area|}}} | ||
+ | |Owner={{{Owner|}}} | ||
+ | |Average rating= | ||
+ | |E-mail notification sent={{{E-mail notification sent|True}}} | ||
+ | |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}} | ||
+ | }} | ||
+ | <div class="infobar"> | ||
+ | <div class="description"> | ||
{| class="wikitable" | {| class="wikitable" | ||
! Description | ! Description | ||
| {{{Description|}}} | | {{{Description|}}} | ||
|- | |- | ||
− | ! Version | + | ! Version as of |
| {{{Version|}}} | | {{{Version|}}} | ||
|- | |- | ||
− | ! Applications | + | ! Application |
− | | {{{ | + | | {{{Applications|}}} |
+ | |- | ||
+ | ! Capability/Industry Area | ||
+ | | {{{Capability Area|}}} | ||
|} | |} | ||
+ | </div><!-- | ||
+ | -->{{Pega liked badge}}<!-- | ||
+ | --></div><!-- | ||
+ | |||
+ | --> | ||
+ | __TOC__ | ||
{{{Body|}}} | {{{Body|}}} | ||
− | }} | + | |
+ | [[Category:{{{Applications}}}]] | ||
+ | [[Category:Design pattern]] | ||
+ | |||
</includeonly> | </includeonly> | ||
+ | |||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "description": "Please select the appropriate value from the available dropdowns where applicable", | ||
+ | "params": { | ||
+ | "Title": { | ||
+ | "label": "Design pattern title", | ||
+ | "description": "Description placeholder that explains the purpose of this field", | ||
+ | "type": "string", | ||
+ | "example": "Design pattern title", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Description": { | ||
+ | "label": "Design pattern description", | ||
+ | "description": "Description placeholder that explains the purpose of this field", | ||
+ | "type": "string", | ||
+ | "example": "Design pattern description", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Version": { | ||
+ | "label": "Pega Infinity version", | ||
+ | "description": "Description placeholder that explains the purpose of this field", | ||
+ | "type": "wiki-user-name", | ||
+ | "example": "Pega Infinity version", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Applications": { | ||
+ | "label": "Pega Platform or Application", | ||
+ | "description": "Description placeholder that explains the purpose of this field", | ||
+ | "type": "wiki-user-name", | ||
+ | "example": "'Platform' or Application name", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Capability Area": { | ||
+ | "label": "Capability or Industry area", | ||
+ | "description": "Description placeholder that explains the purpose of this field", | ||
+ | "type": "wiki-user-name", | ||
+ | "example": "Capability area", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Owner": { | ||
+ | "label": "Design pattern owner", | ||
+ | "description": "Description placeholder that explains the purpose of this field", | ||
+ | "type": "wiki-user-name", | ||
+ | "example": "Design pattern owner", | ||
+ | "required": true | ||
+ | } | ||
+ | }, | ||
+ | "paramOrder": [ | ||
+ | "Title", | ||
+ | "Description", | ||
+ | "Version", | ||
+ | "Applications", | ||
+ | "Capability Area", | ||
+ | "Owner" | ||
+ | ] | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Latest revision as of 08:13, 27 May 2021
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.
Please select the appropriate value from the available dropdowns where applicable
Parameter | Description | Type | Status | |
---|---|---|---|---|
Design pattern title | Title | Description placeholder that explains the purpose of this field
| String | required |
Design pattern description | Description | Description placeholder that explains the purpose of this field
| String | required |
Pega Infinity version | Version | Description placeholder that explains the purpose of this field
| User | required |
Pega Platform or Application | Applications | Description placeholder that explains the purpose of this field
| User | required |
Capability or Industry area | Capability Area | Description placeholder that explains the purpose of this field
| User | required |
Design pattern owner | Owner | Description placeholder that explains the purpose of this field
| User | required |