This page is protected against editing.

Template:Zabytek: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
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!}}}}</includeonly>
|} <!-- 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

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Zabytek/doc.

New Syntax

Template to mark cultural heritage sites in Poland

Usage

{{Zabytek |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1Cultural 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.
A two-letter voivodeship ISO codes are:
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
emptyrequired

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:

Usage

{{Zabytek |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1voivodeship ISO code
A two-letter voivodeship ISO code or the original Polish name or the English translation; the ISO codes follow:
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
emptyrequired
2monument registry number
Code of the monument issued by the local Monument Conservator Office in a letter/three-digit number format, e.g. A/123.
emptyrequired
3commune (gmina) name or city county name
The original name of the commune (gmina), including the word gmina, e.g. gmina Przemków; in case of city counties (city powiats), the name of the city is sufficient, e.g. Poznań. This parameter is also used to categorise the files according to their location; please pay attention to filling it in a proper way so the categories won't show up as red links.
emptydeprecated

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

Deutsch  English  slovenščina  polski  македонски  Nederlands  français  português  беларуская (тарашкевіца)  +/−

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 |]]).
No gmina (commune) name given!


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 |]]).
No gmina (commune) name given!