الگو:S-prec/توضیحات
| این زیرصفحهٔ مستندات الگو:S-prec است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
This template creates a header to be used with الگو:جعبه آغازی for orders of precedence. No years are entered in these boxes, so the "years" field may be omitted when this header is used.
استفاده
بدون پارامتر
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.
| Order of precedence | {{s-prec}}
| ||
|---|---|---|---|
با پارامتر
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 | ||
| Orders of precedence in the United Kingdom | uk | ||
| Order of precedence | ph-pres | ||
| Order of precedence in Northern Ireland | ni | ||
| United States order of precedence (ceremonial) | usa | ||
| خط جانشینی ریاست جمهوری ایالات متحده آمریکا | us-pres | ||
نمونه
From the چارلز، شاهزاده ولز article:
{{جعبه آغازی}}
{{s-prec|uk}}
{{S-bef| قبل = [[شاهزاده فیلیپ، دوک ادینبرا]]}}
{{S-ttl| عنوان = [[Orders of precedence in the United Kingdom|Gentlemen]]}}
{{S-aft| بعد = [[شاهزاده ویلیام، دوک کمبریج]]}}
{{S-end}}
| Orders of precedence in the United Kingdom | ||
|---|---|---|
| پیشین: شاهزاده فیلیپ، دوک ادینبرا |
Gentlemen | پسین: شاهزاده ویلیام، دوک کمبریج |