Template:Districts of Saxony

Wikimedia Commons, 자유로운 미디어 저장소
둘러보기로 이동 검색으로 이동
설명문서보기 · 편집 · 역사 · purge ]
아래 설명은 Module:Catnav/doc/built-template/districts of german states/doc의 내용을 가져와 보여주고 있습니다.

Showcase

Without coats of arms (usually used, exemplary prefix value):

{{Districts of Saxony|prefix=:Category:}}

With coats of arms (and another exemplary prefix value):

{{Districts of Saxony|prefix=:Category:Architecture of|coats=yes}}
.. and added indentation, which may alternatively be enabled via user customization:
{{Districts of Saxony|prefix=:Category:Architecture of|coats=yes|indent=1}}

Use only coats of arms and no text (affects accessibility negatively (!)):

{{Districts of Saxony|prefix=:Category:Buildings in|coats=only}}
{{Districts of Saxony|prefix=:Category:Buildings in|coats=only|compact=yes}}
.. and bigger icons, the default width of which was 15px in the examples above:
{{Districts of Saxony|coatssize=48px|coats=only|compact=yes|prefix=:Category:Nature of}}

Corner cases

Grammar article or preposition handling

Usually there's no need to specify article oder city_article parameters, because the template automatically checks common cases. If you encounter a set of categories that deviate from the common case, setting these parameters will override autodetect logic. For example, the following source lines yield the same result:

{{Districts of Saxony|prefix=:Category:Coats of arms of}}
{{Districts of Saxony|prefix=:Category:Coats of arms of|article=the|city_article=}}
{{Districts of Saxony|prefix=:Category:Coats of arms|article=of the|city_article=of|flaglink=of Saxony}}

If city_article does not differ from article, you can omit the parameter. In this case article will be used for the urban districts as well.

Modifying the link target of the flag image

Usually there's no need to specify flaglink parameter, but sometimes the appropriate top level category to link to is not found automatically. Continuing the example above, Coats of arms of Saxony does not seem to be a proper super category to the coats of arms district categories. The alternatives at present are Coats of arms from Saxony oder Coats of arms of districts in Saxony. To point to an alternative use flaglink like this:

{{Districts of Saxony|prefix=:Category:Coats of arms of|flaglink=:Category:Coats of arms from Saxony}}
{{Districts of Saxony|prefix=:Category:Coats of arms of|flaglink=districts in Saxony}}

Internally, if a concatenation of prefix, flaglink, suffix does not yield an existing link target, flaglink will be used unaffixed. In the first of the two examples above, the full form is used, because concatenating prefix with flaglink=from Saxony would yield the undesirable result :Category:Coats of arms of from Saxony.

Sometimes a proper top level category does not exist (yet) in commons - creating it is preferred to specifying an flaglink that may become obsolete/suboptimal/wrong in the future.

Test cases

Customization

You can css style the output of this template using class catnav_districts_of_saxony in your common.css settings.

/* disable the border, center the content and make the background transparent */
.catnav_districts_of_saxony {
	text-align: center;
	background: transparent;
	border: none;
}

/* achieve the same effect as if indent=1 was passed to the template
  (to apply this to all catnav instances driven by Module:Catnav
   remove "_districts_of_saxony" suffix)
*/
.catnav_districts_of_saxony .catnav_seq {
	display: table-row !important;
}
.catnav_districts_of_saxony .catnav_seqdata {
	display: table-cell !important;
	padding-top: .4em;
}
.catnav_districts_of_saxony .catnav_seqlabel br {
	display: none;
}
.catnav_districts_of_saxony .catnav_seqlabel {
	display: table-cell !important;
	white-space: nowrap;
	text-align: right;
	vertical-align: top;
	padding-right: .4em;
	padding-top: .4em;
}

/* move the icons on mouse hover */
.catnav_districts_of_saxony img {
  transition: all .15s ease-in-out;
}
.catnav_districts_of_saxony img:hover {
  transform: translate3d(0, 5px, 0);
}

Maintenance

Generic Description

(설명문서의 이 부분은 일부 언어로만 제공됩니다.)

Category navigational template - template to assist navigation across related categories, e.g. Buildings in X where X is replaced by place names listed in the built template.

사용법

{{Districts of Saxony |all= |prefix= |suffix= }}

틀 변수

변수설명기본값상태
allshow all items, including items where no page exists (red links). Set to 1 if you want to list all names (useful when the template is used in a parent directory for helping the creation of missing pages with coherent names). When it is empty by default, this list will be filtered from missing pages.
Without this parameter, every target page name is tested with a #ifexist: parser function, which is considered costly. Do not list too many names in this template. If this built template is used on a page with other similar templates, a parser limit may be exausted, and you'll need to set this parameter to 1 for each of these template uses in that page.
no선택 사항
prefixparameter to customise target page names of links, with text added before the relevant link parameter, e.g. :Category:Buildings in, or :Template:Seasons in. Without the prefix, the links will point to gallery pages of the main namespace.empty선택 사항
suffixparameter to customise template use, with text added after the relevant link parameter, e.g. (example needed)empty선택 사항

추가 정보

이 틀은 아래 이름공간에서 주로 사용하도록 설계되었습니다: 이름공간을 지정하지 않았습니다.

이 틀은 아래 사용자 그룹이 주로 사용하도록 설계되었습니다: 모든 사용자

틀의 위치: 문서의 맨 위

이 틀에서 사용되는 틀:
Module:Catnav

번역

틀이 지원하는 언어 목록에 당신의 언어를 추가하려면 틀을 편집해서 {{LangSwitch|}} 틀에 열을 추가해 주세요. 해당 줄은 "|xx= 번역문" 형태로 되어 있어야 합니다(xx의 내용이 당신의 언어 코드가 될 것입니다).

(설명문서의 이 부분은 일부 언어로만 제공됩니다.)

Localizable items are defined in subpage Template:Districts of Saxony/i18n.
To view this template in other user languages, use either mediawiki's language select or use the links below.
af: Afrikaans · gsw: Alemannisch · az: azərbaycanca · an: aragonés · id: Bahasa Indonesia · ms: Bahasa Melayu · nan: 閩南語 / Bân-lâm-gú · jv: Jawa · su: Sunda · bar: Boarisch · bs: bosanski · br: brezhoneg · ca: català · ceb: Cebuano · cs: čeština · sn: chiShona · co: corsu · da: dansk · se: davvisámegiella · de: Deutsch · dsb: dolnoserbski · et: eesti · en: Englisch · es: español · eo: Esperanto · ext: estremeñu · eu: euskara · fr: français · fy: Frysk · ga: Gaeilge · gd: Gàidhlig · gl: galego · haw: Hawaiʻi · hmn: Hmong · hsb: hornjoserbsce · hr: hrvatski · ig: Igbo · xh: isiXhosa · zu: isiZulu · is: íslenska · it: italiano · kl: kalaallisut · rw: Ikinyarwanda · sw: Kiswahili · ku: kurdî · la: Latina · lv: latviešu · lb: Lëtzebuergesch · lt: lietuvių · lij: Ligure · li: Limburgs · hu: magyar · mt: Malti · mi: Māori · mwl: Mirandés · nap: Napulitano · nl: Nederlands · nds-nl: Nedersaksies · nb: norsk bokmål · nn: norsk nynorsk · nov: Novial · oc: occitan · om: Oromoo · uz: oʻzbekcha / ўзбекча · nds: Plattdüütsch · pl: polski · pt: português · crh: qırımtatarca · ro: română · rmy: romani čhib · rm: rumantsch · sc: sardu · sco: Scots · st: Sesotho · sq: shqip · sk: slovenčina · sl: slovenščina · so: Soomaaliga · fi: suomi · sv: svenska · tl: Tagalog · vi: Tiếng Việt · chy: Tsetsêhestâhese · tr: Türkçe · tk: Türkmençe · ug: ئۇيغۇرچە / Uyghurche · vec: vèneto · vls: West-Vlams · zea: Zeêuws · el: Ελληνικά · pnt: Ποντιακά · ab: аԥсшәа · bg: български · be: беларуская · be-tarask: беларуская (тарашкевіца) · os: ирон · kk: қазақша · ky: кыргызча · mk: македонски · mn: монгол · ce: нохчийн · rue: русиньскый · ru: русский · sr: српски / srpski · tt: татарча / tatarça · tg: тоҷикӣ · uk: українська · ka: ქართული · hy: հայերեն · hi: हिन्दी · ne: नेपाली · new: नेपाल भाषा · sa: संस्कृतम् · mr: मराठी · as: অসমীয়া · bn: বাংলা · gu: ગુજરાતી · pa: ਪੰਜਾਬੀ · kn: ಕನ್ನಡ · ta: தமிழ் · th: ไทย · km: ភាសាខ្មែរ · lo: ລາວ · my: မြန်မာဘာသာ · bo: བོད་ཡིག · ko: 한국어 · ja: 日本語 · zh-hans: 中文(简体) · zh-hant: 中文(繁體) · yue: 粵語 · ii: ꆇꉙ · am: አማርኛ · ti: ትግርኛ · iu: ᐃᓄᒃᑎᑐᑦ / inuktitut · chr: ᏣᎳᎩ · he: עברית · yi: ייִדיש · ar: العربية · fa: فارسی · ps: پښتو · ur: اردو · sd: سنڌي · dv: ދިވެހިބަސް ·