Template:Pageheaderbox: Difference between revisions
Jump to navigation
Jump to search
(tablestart fix) |
No edit summary |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
!width="65" rowspan="8" valign="top" |{{#switch: {{{doctype|}}} | !width="65" rowspan="8" valign="top" |{{#switch: {{{doctype|}}} | ||
|Working Area =[[File:Icon_WA.png|64px|This is a Working Area document|link=Working Area]] | |Working Area =[[File:Icon_WA.png|64px|This is a Working Area document|link=Working Area]] | ||
|Quality Attribute =[[File:Icon_QA.png|64px|This is a Quality Attribute document|link=Quality Attribute Overview]] | |||
|Function Definition =[[File:Icon_Function.png|64px|This is a Function Definition document|link=Function Definition]] | |||
|Data Object Type =[[File:Icon_Function.png|64px|This is a Function Definition document|link=Function Definition]] | |||
|Generic Function =[[File:Icon_GF.png|64px|This is a Generic Function document|link=Generic Function]] | |Generic Function =[[File:Icon_GF.png|64px|This is a Generic Function document|link=Generic Function]] | ||
|Applied Function =[[File:Icon_AF.png|64px|This is an Applied Function document|link=Applied Function]] | |Applied Function =[[File:Icon_AF.png|64px|This is an Applied Function document|link=Applied Function]] | ||
|Pattern Definition =[[File:Icon_Pattern.png|64px|This is a Pattern Definition document|link=Pattern Definition]] | |||
|Generic Pattern =[[File:Icon_GP.png|64px|This is a Generic Pattern document|link=Generic Pattern]] | |Generic Pattern =[[File:Icon_GP.png|64px|This is a Generic Pattern document|link=Generic Pattern]] | ||
|Applied Pattern =[[File:Icon_AP.png|64px|This is an Applied Pattern document|link=Applied Pattern]] | |Applied Pattern =[[File:Icon_AP.png|64px|This is an Applied Pattern document|link=Applied Pattern]] | ||
|Service Definition =[[File:Icon_GS.png|64px|This is a Service Definition document|link=Service Definition]] | |||
|Generic Service =[[File:Icon_GS.png|64px|This is a Generic Service document|link=Generic Service]] | |||
|Applied Service =[[File:Icon_AS.png|64px|This is an Applied Service document|link=Applied Service]] | |||
|Architecture Requirement=[[File:Icon_AR.png|64px|This is an Architecture Requirement document|link=Architecture Requirement]] | |Architecture Requirement=[[File:Icon_AR.png|64px|This is an Architecture Requirement document|link=Architecture Requirement]] | ||
|Location =[[File:Icon_LO.png|64px|This is a Location document|link=Location]] | |Location =[[File:Icon_LO.png|64px|This is a Location document|link=Location]] | ||
|#default =[[File:Doc-grey.png|64px|Document icon]]}} | |#default =[[File:Doc-grey.png|64px|Document icon]]}} | ||
!width="150"|[[Pagetype::{{{pagetype|}}}]] | !width="150"|<includeonly>[[Pagetype::{{{pagetype|}}}]]</includeonly> | ||
!width="300"|[[Friendly name::{{{pagename|{{PAGENAME}}}}}]] | !width="300"|<includeonly>[[Friendly name::{{{pagename|{{PAGENAME}}}}}]]{{#vardefine:friendlyname|{{{pagename|{{PAGENAME}}}}} }}</includeonly> | ||
|width="50"|Version: | |width="50"|Version: | ||
|[[Version::{{{version|}}}]] | |[[Version::{{{version|}}}]] | ||
!width="88" rowspan="8" valign="top" |[[Image:OIArLogo.png | !width="88" rowspan="8" valign="top" |[[Image:OIArLogo.png|OIAr logo|link=OIAm_Introduction]] | ||
|- | |- | ||
|Document type: | |Document type: | ||
|[[:Category:{{{doctype|}}}|{{#ifexist: Category:{{{doctype|}}} | <span style="color:#{{Color | |<includeonly>[[:Category:{{{doctype|}}}|{{#ifexist: Category:{{{doctype|}}} | <span style="color:#{{Color OIAm Light Blue}};"><u>{{{doctype|}}}</u></span> | <span style="color:#{{Color Busy Red}};">{{{doctype}}}</span> }}]]</includeonly> | ||
|Owner: | |Owner: | ||
|{{GetUser|{{{owner|}}}}}[[Owner::{{#var:displayname}}|]][[User:{{#var:userpage}}|<span style="color:#{{Color | |<includeonly>{{GetUser|{{{owner|Unknown}}}}}[[Owner::{{#var:displayname}}|]][[User:{{#var:userpage}}|<span style="color:#{{Color OIAm Light Blue}};"><u>{{#var:displayname}}</u></span>]]</includeonly> | ||
|- | |- | ||
|} | |} | ||
{{#if: {{{summary|}}}|<br>{{Ambox|nocat=true| type = summary| text = {{{summary}}} }}<br>}}[[Brief description::{{{summary|unspecified}}}|]] | |||
{{#if:{{{doctype|}}}|[[Category:{{{doctype}}}]]}}__NOTOC__ __SHOWFACTBOX__ __NOEDITSECTION__ | |||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 15:42, 26 November 2019
Version: | |||||
Document type: | Owner: |
This box should be at the top of most pages. It takes the following mandatory named parameters:
- pagetype is usually the (two-letter) coding of the object for which the page is meant. Example: GF for Generic Function;
- pagename takes the intended name of the object, which is then available throughout the wiki as the "Friendly name" property; if left empty it's content will be the actual page title;
- summary takes a short, functional description of the artefact to which the page relates, which is then available throughout the wiki as the "Brief description" property. If left empty it's content will become "unspecified";
- doctype says what sort of definition the page provides, e.g. Generic Pattern for a page describing a pattern or Architecture Requirement for a page describing an Architecture Requirement. Note: the text you put here, places the page in the respective Category; take care to use the correct name;
- version holds the version number of the document itself;
- owner holds the designated owner of this architecture product. Please provide the Displayname of the wiki user that is the owner (or else his/her login name without the User: prefix).
To use the template, cut and paste the following code:
{{Pageheaderbox |pagetype= |pagename= |summary= |doctype= |version= |owner= }}
The above documentation is transcluded from Template:Pageheaderbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |