Template:RussiaBasicLawRef
This template is intended to simplify entering the references to the basic laws (Constitutions and Charters) of the federal subjects of Russia and their top-level municipal divisions (urban okrugs and municipal districts).
Syntax
编辑{{RussiaBasicLawRef |FS= |uppermundiv= }}
Usage
编辑{{RussiaBasicLawRef|FS= |uppermundiv=}}
- Parameters
- FS, or the first unnamed parameter, is the ISO 3166-2:RU code (without the "RU" part) of the federal subject to which the item being referenced belongs. For example, Altai Krai is coded as "alt".
- uppermundiv, or the second unnamed parameter, is the name of the urban okrug or municipal district (without the "urban okrug" and "municipal district" designations), to which the information being cited pertains. There is no default value.
- No parameters
When called without parameters, the template returns the citation for the Constitution of Russia.
Examples
编辑{{RussiaBasicLawRef|FS=alt}}
This will display as:
Template:RussiaBasicLawRef/alt
{{RussiaBasicLawRef|bel|borisovsky}}
This will display as:
Template:RussiaBasicLawRef/bel/borisovsky
{{RussiaBasicLawRef}}
This will display as:
Template:RussiaBasicLawRef/constitution
Important notes
编辑The templates uses the parameters submitted to it to call an appropriate subtemplate (for example, {{RussiaBasicLawRef/alt}}). If the subtemplate does not exist, the call will fail, producing an ugly red link. Make sure you create a proper subtemplate first if one does not yet exist. A list of existing subtemplates is available in Category:Subtemplates of Template RussiaBasicLawRef.
上述文档嵌入自Template:RussiaBasicLawRef/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |