Template:Pageheaderbox: Difference between revisions

From OIAr
Jump to navigation Jump to search
(pageheaderbox)
 
(cat conditional)
Line 1: Line 1:
[[Category:{{{doctype|}}}]]__NOTOC__ __SHOWFACTBOX__ __NOEDITSECTION__
__NOTOC__ __SHOWFACTBOX__ __NOEDITSECTION__
{| width=100%; style="color:#{{Color 02 FG}}; background:#{{Color 02 BG}}; text-align:left" cellpadding="4"
<br>{| width=100%; style="color:#{{Color 02 FG}}; background:#{{Color 02 BG}}; text-align:left" cellpadding="4"
!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]]
Line 23: Line 23:
|-
|-
|}
|}
Brief description: [[Brief description::{{{summary|unspecified}}}]]
Brief description: [[Brief description::{{{summary|unspecified}}}]]{{#if:{{{doctype}}}|[[Category:{{{doctype}}}]]}}


<noinclude>
<noinclude>

Revision as of 20:44, 29 March 2013


{| width=100%; style="color:#FFFFFF; background:#004666; text-align:left" cellpadding="4" !width="65" rowspan="8" valign="top" |Document icon !width="150"| !width="300"|Pageheaderbox |width="50"|Version: | !width="88" rowspan="8" valign="top" |OIAr logo |- |Document type: |[[:Category:|{{{doctype}}}]] |Owner: |

[[User:class="smw-highlighter" data-type="4" data-state="inline" data-title="Warning" title="Some use of "" in your query was not closed by a matching "".">Some use of "" in your query was not closed by a matching "".|]] |- |} Brief description: unspecified[[Category:{{{doctype}}}]]


Template documentation

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=
}}