Šablonas:S-prec/doc

Šablonas iš Vikipedijos, laisvosios enciklopedijos.

This template creates a header to be used with succession boxes for orders of precedence. No years are entered in these boxes, so the "years" field may be omitted when this header is used.

Panaudojimas[redaguoti vikitekstą]

Without parameter[redaguoti vikitekstą]

The template defaults to  Order of precedence  if no parameter is given. In the following table, the first column contains the header and the second column shows the template call used to create it.

Pirmumo eilė {{s-prec}}

With parameter[redaguoti vikitekstą]

The format is {{s-prec|parameter}}, where parameter is replaced by one of the parameter names shown in the following table. The first column displays the header and the second column contains the parameter name.

Order of precedence in England and Wales ew
Order of precedence in Scotland sc
Order of precedence in the United Kingdom uk
Order of precedence in the United States of America usa

Example[redaguoti vikitekstą]

From the Charles, Prince of Wales article:

{{s-start}}
{{s-prec|uk}}
{{s-bef | before = [[Prince Philip, Duke of Edinburgh|The Duke of Edinburgh]]}}
{{s-ttl | title  = [[United Kingdom Order of Precedence|Gentlemen]]}}
{{s-aft | after  = [[Prince William of Wales]]}}
{{s-end}}
Order of precedence in the United Kingdom
Prieš tai:
The Duke of Edinburgh
Gentlemen Po to:
Prince William of Wales

Nuorodos[redaguoti vikitekstą]

Documentation for creating succession boxes can be found at Template:S-start.