Cithakan:L

Saka Wikipédia Jawa, bauwarna mardika basa Jawa
Loncat ke navigasi Loncat ke pencarian


Dhokumèntasi cithakan[deleng] [besut] [sujarah] [buwang]

Usage[besut sumber]

Cithakan:Subst only

{{L}} is for automatically generating all category tags related to birth and death years, including living people and missing or unknown values. The general DEFAULTSORT can be embedded as well. It should not be used to replace existing DEFAULTSORT and/or category tags.

{{subst:L|year of birth|year of death|sort key}}

will generate:

{{DEFAULTSORT:sort key}}
[[Category:BIRTH births]]
[[Category:DEATH deaths]]

Other cases are handled with options, see below. As with the original, the embedded magic word DEFAULTSORT also applies to all categories on the page, no matter whether the lifetime template is before or after them.

Since the {{DEFAULTSORT:}} should occur before the categories, the L template should generally be placed before the first Category tag, for example:

{{subst:L|year of birth|year of death|sort key}}
[[Category:ABC]]
:
[[Category:XYZ]]

Options[besut sumber]

For each option, the default value is displayed in bold and automatically assumed if the field is left blank.

Please note that MISSING results in Categories that are not displayed on the page.

1 (birth)
2 (death)
3 (sortkey)
  • {{PAGENAME}} : should almost never be left blank (especially with Asian names, it is hard to make the difference between a missing sortkey and a sortkey identical to the article name due to a family-first name).
  • Asian name, Honorific prefix (qualifier suffix) : for assertion of sortkey assessment.
    "Mao, Zedong" - "Kim, Il-sung" - "Matsuo Bashō|Matsuo, Basho" - "Nu, U" - "Wang, Li (politician)"
  • Family name, Given name, Honorific-prefix (qualifier suffix) : for proper sorting.
    "Newton, Isaac, Sir" - "Karlsson, Ove (sports journalist)"
  • For further details, see Wikipedia:Categorization of people#Ordering names in a category.

Most values are case-insensitive ("LIVING" or "LiVinG" work the same), except when it matters (such as century names).

Examples[besut sumber]

For a living person
{{subst:L|1899||Surname, Name}}

or

{{subst:L|1899|LIVING|Surname, Name}}

will give:

{{DEFAULTSORT:Surname, Name}}
[[Category:1899 births]]
[[Category:Living people]]
For a missing birth and living person
{{subst:L|||Surname, Name}}

or

{{subst:L|MISSING|LIVING|Surname, Name}}

will give:

{{DEFAULTSORT:Surname, Name}}
[[Category:Year of birth missing (living people)]]
[[Category:Living people]]
For a dead person
{{subst:L|1899|1986|Surname, Name}}

will give:

{{DEFAULTSORT:Surname, Name}}
[[Category:1899 births]]
[[Category:1986 deaths]]

See also[besut sumber]
https://jv.wikipedia.org/wiki/Cithakan:L
jv.wikipedia.org
crawl=CC-MAIN-2019-39
46407
application/http; msgtype=response
sha1:Y737M4IVKTDAEA56SG2DJWFHHAZH4BGS
<urn:uuid:543d00cf-382b-43aa-88d8-852a411be2c5>
2019-09-23T03:32:23Z
208.80.154.224
text/html
sha1:TGBYFLJR6RDXDZPFHPZNEBIDLAWVW2KL
<urn:uuid:6ef56e41-31d3-4a5d-b04b-727c9b16987d>
https://jv.wikipedia.org/wiki/Cithakan:L
response
<urn:uuid:bee5f190-fdf9-4654-bcb8-48f9160bab9a>
isPartOf: CC-MAIN-2019-39
publisher: Common Crawl
description: Wide crawl of the web for September 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-133.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/