Template:Pageheaderbox: Difference between revisions

From OIAr
Jump to navigation Jump to search
(hide 2nd summary string)
(missing bracket)
Line 22: Line 22:
|-
|-
|}
|}
{{#if: {{{summary|}}|<br>{{Ambox|nocat=true| type  = summary| text  = {{{summary}}} }}<br>}}[[Brief description::{{{summary|unspecified}}}|]]
{{#if: {{{summary|}}}|<br>{{Ambox|nocat=true| type  = summary| text  = {{{summary}}} }}<br>}}[[Brief description::{{{summary|unspecified}}}|]]
{{#if:{{{doctype|}}}|[[Category:{{{doctype}}}]]}}__NOTOC__ __SHOWFACTBOX__ __NOEDITSECTION__
{{#if:{{{doctype|}}}|[[Category:{{{doctype}}}]]}}__NOTOC__ __SHOWFACTBOX__ __NOEDITSECTION__
<noinclude>
<noinclude>

Revision as of 09:32, 3 April 2013

Document icon Pageheaderbox Version: OIAr logo
Document type: [[:Category:|{{{doctype}}}]] Owner:

Unknown


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