Template:Zabytek: Difference between revisions
semicolon |
m + Category:Cultural heritage monuments in Poland with known IDs |
||
Line 96: | Line 96: | ||
| #default = Podano błędny kod lub nazwę województwa! |
| #default = Podano błędny kod lub nazwę województwa! |
||
}} | Nie podano kodu lub nazwy województwa!}} ([[:Category:Cultural heritage monuments in {{{3|}}}|{{{3|}}}]]).}} |
}} | Nie podano kodu lub nazwy województwa!}} ([[:Category:Cultural heritage monuments in {{{3|}}}|{{{3|}}}]]).}} |
||
|} <!-- CATEGORIES/KATEGORIE --> {{#if: {{{3|}}} | {{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Cultural heritage monuments in {{{3|}}}|{{PAGENAME}}]]}}} | {{#ifeq:{{NAMESPACE}}|Category|{{{category|[[Category:Cultural heritage monuments in {{{3|}}}|{{PAGENAME}}]]}}}}}}} | {{LangSwitch | en = No gmina (commune) name given! | pl = Nie podano nazwy gminy!}}}} |
|} <!-- CATEGORIES/KATEGORIE --> {{#if: {{{3|}}} | {{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Cultural heritage monuments in {{{3|}}}|{{PAGENAME}}]]}}} | {{#ifeq:{{NAMESPACE}}|Category|{{{category|[[Category:Cultural heritage monuments in {{{3|}}}|{{PAGENAME}}]]}}}}}}} | {{LangSwitch | en = No gmina (commune) name given! | pl = Nie podano nazwy gminy!}}}} |
||
{{#if: {{{2|}}} | [[Category:Cultural heritage monuments in Poland with known IDs]] | [[Category:Cultural heritage monuments in Poland with unknown IDs]]}} |
|||
</includeonly> |
|||
<noinclude>{{Documentation}}[[Category:Wiki Loves Monuments 2011 in Poland]]</noinclude> |
<noinclude>{{Documentation}}[[Category:Wiki Loves Monuments 2011 in Poland]]</noinclude> |
Revision as of 14:47, 13 August 2011
New Syntax
Template to mark cultural heritage sites in Poland
Usage
{{Zabytek |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Cultural heritage site ID in the form XX/NNNNN where XX is the voivodeship ISO code and NNNNN is the registry number. The registry number is a code of the monument issued by the local Monument Conservator Office in a letter/three-digit number format, e.g. A/123.
DS = Lower Silesian Voivodeship
KP = Kuyavian-Pomeranian Voivodeship
LB = Lubusz Voivodeship
LD = Łódź Voivodeship
LU = Lublin Voivodeship
MA = Lesser Poland Voivodeship
MZ = Masovian Voivodeship
MZ2 = Warszawa
OP = Opole Voivodeship
PD = Podlaskie Voivodeship
PK = Subcarpathian Voivodeship
PM = Pomeranian Voivodeship
SK = Świętokrzyskie Voivodeship
SL = Silesian Voivodeship
WN = Warmian-Masurian Voivodeship
WP = Greater Poland Voivodeship
ZP = West Pomeranian Voivodeship
| empty | required |
Additional information
The template is intended to be used in the following namespaces: all content namespaces
The template is intended to be used by the following user groups: all users
Old Syntax
No description yet available.
The template automatically sets the following categories:
- one subcategory of Category:Cultural heritage monuments in Poland
- subcategories of Category:Maintenance categories for cultural heritage monuments in Poland
Usage
{{Zabytek |1= |2= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | voivodeship ISO code
DS = Lower Silesian Voivodeship
KP = Kuyavian-Pomeranian Voivodeship
LB = Lubusz Voivodeship
LD = Łódź Voivodeship
LU = Lublin Voivodeship
MA = Lesser Poland Voivodeship
MZ = Masovian Voivodeship
OP = Opole Voivodeship
PD = Podlaskie Voivodeship
PK = Subcarpathian Voivodeship
PM = Pomeranian Voivodeship
SK = Świętokrzyskie Voivodeship
SL = Silesian Voivodeship
WN = Warmian-Masurian Voivodeship
WP = Greater Poland Voivodeship
ZP = West Pomeranian Voivodeship
| empty | required | |
2 | monument registry number
| empty | required | |
3 | commune (gmina) name or city county name
| empty | deprecated |
Additional information
The template is intended to be used in the following namespaces: all content namespaces
The template is intended to be used by the following user groups: all users
Relies on:
{{ISO 3166-2/PL}}
See also
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Zabytek/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Zabytek/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
Examples
- Prefered version
{{Zabytek|WP/617/A}}
→
Monument protected by law | Monument inscribed in the registry of monuments of the Wrong voivodeship code or name given! (number ; [[:Category:Cultural heritage monuments in |]]). |
- Old syntax (which adds Category:Cultural heritage monuments in Poland using old syntax
{{Zabytek|WP|617/A|Kalisz}}
→
Monument protected by law | Monument inscribed in the registry of monuments of the Greater Poland Voivodeship (number 617/A; Kalisz). |
{{Zabytek|WP|617/A}}
→
Monument protected by law | Monument inscribed in the registry of monuments of the Greater Poland Voivodeship (number 617/A; [[:Category:Cultural heritage monuments in |]]). |