Template:Generic Pattern Adjacent Service Row: Difference between revisions

From OIAr
Jump to navigation Jump to search
(added relation for adjacent services)
(fix choice indication)
Line 1: Line 1:
<includeonly>
<includeonly>
|{{FriendlyPageLink|{{{service|}}}}}
|{{FriendlyPageLink|{{{service|}}}}}
|[[{{{choice|Must}}} have adjacent service::{{{service|}}}]]{{#switch: {{{choice|Must}}}||Must=mandatory|May=optional|undefihned}}
|[[{{{choice|Must}}} have adjacent service::{{{service|}}}|]]{{#switch: {{{choice|Must}}}|Must=mandatory|May=optional|undefined}}
|{{{reason|not specified}}}
|{{{reason|not specified}}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>

Revision as of 07:10, 19 April 2013

Template documentation

This template creates a single row in a table listing all Adjacent Services for a Generic Pattern. It takes the following, mandatory, named parameters:

  • service: must be the name of a page representing the adjacent Generic Service;
  • choice: the architect can specify if the adjacency of the Pattern Type is mandatory or optional, by using either the word "Must" or "May". If left empty, "Must" is assumed!
  • reason: here the architect will usually insert an explanatory text, describing the rationale for adjacency.

To use this template, cut and paste the following text:

{{Generic Pattern Adjacent Service Row
|service=
|choice=
|reason=
}}