Template:Hawaiian Dictionaries
模板介紹
[编辑]本模板可引用多本夏威夷語辭典,去解釋條目中夏威夷語詞語的意思。本模板的詞典可為條目提供在網上亦有可查證的數據庫。這些數據庫是由夏威夷大學的Ulukau計劃。
- The first set are from a number of books published by the University of Hawaii Press.
- The second set are records from the archives of Hawaii.
使用方法
[编辑]{{Hawaiian Dictionaries | lemma | identifier | id=identifier | dic=xx | q=query | derivative=y | exact=x | accessdate=<date> }}
參數
[编辑]First parameter is the lemma (generally the word or phrase being looked up). The optional identifier, specified in second position or named parameter id=
can be extracted from the URL of the query, often when there are multiple entries in the dictionary with different diacritics. For example, below id=D10739
was extracted from the entry http://wehewehe.org/gsdl2.85/cgi-bin/hdict?a=d&d=D10739.
A link to entries with diacritics can be created with the parameter q=
. This is to work around incompatibilities between the database software and Wikipedia conventions. For example, the databases seem to use apostrophe instead of the Unicode character for the ʻokina, and the characters for vowels with umlauts instead of macrons for the kahakō. The exact=
parameter can be set to any non-empty value to get an exact match, instead of ignoring diacritics.
The parameter dic=
refers to a specific database and can be extracted from the URL, such as the j=
parameter for the dictionaries. For example below, http://wehewehe.org/gsdl2.85/cgi-bin/hdict?a=q&q=Halema%CA%BBuma%CA%BBu&j=pp
These database codes include:
- pk: Hawaiian language to English dictionary, based on the 1986 edition ISBN 0824807030 by Mary Kawena Pukui and Samuel Hoyt Elbert; this is the default
- pp: Place Names of Hawai'i, based on the 1974 edition ISBN ISBN 0824805240 by Mary Kawena Pukui, Samuel Hoyt Elbert and Esther T. Mookini
- cl: Hawaiʻi Place Names, based on the 2002 edition ISBN 0-8248-2451-2 by John R. K. Clark
- mm: Māmaka kaiao: a modern Hawaiian vocabulary : a compilation of Hawaiian words that have been created, collected, and approved by the Hawaiian Lexicon Committee from 1987 through 2000 by ʻAha Pūnana Leo and Hale Kuamoʻo, 2003 edition ISBN 9780824828035
- hpn: Database of early Hawaiian land ownership from archives (Mahele Book); focuses on 19th-century
- gene: Database of marriages, divorces, probates, and naturalization records from archives; these generally need
id=
- royal: Article series on Hawaiian royalty from 1955 Honolulu Advertiser; these generally need
id=
- maui: Article series on Maui royalty from 1956 Honolulu Advertiser; these generally need
id=
Some phrases can be only found with the enabled find derivative spelling option. For this purpose the parameter derivative=
can be set (see example below).
To query the first four databases use: http://wehewehe.org/gsdl2.85/cgi-bin/hdict?l=en&j=p0
For Mahele queries: http://ulukau.org/cgi-bin/hpn?l=en&a=q&h=dtt
For Genealogy Indexes: http://ulukau.org/gsdl2.7/cgi-bin/algene
For the royalty articles: http://ulukau.org/elib/cgi-bin/library?e=d-0sohr-000Sec--11en&a=q&p2=search
For Maui royalty articles: http://ulukau.org/elib/cgi-bin/library?e=d-0somr-000Sec--11en&a=q&p2=search
![]() |
With parameter id= the parameter dic= will not change the target of the link;[1] for example:
|
範例
[编辑]Source code | Result and notes |
---|---|
{{Hawaiian Dictionaries | noho }} |
Mary Kawena Pukui and Samuel Hoyt Elbert. lookup of noho. in Hawaiian Dictionary. Ulukau, the Hawaiian Electronic Library, University of Hawaii Press. 2003. For unambiguous lookups no other parameters are needed |
{{Hawaiian Dictionaries | lei | id=D10739 }} |
Mary Kawena Pukui and Samuel Hoyt Elbert. lookup of lei. in Hawaiian Dictionary. Ulukau, the Hawaiian Electronic Library, University of Hawaii Press. 2003. To distinguish from lēʻʻī (with diacritics) |
{{Hawaiian Dictionaries | Kīlauea | q=Kilauea | dic=pp }} |
Mary Kawena Pukui, Samuel Hoyt Elbert and Esther T. Mookini. lookup of Kīlauea. in Place Names of Hawai'i. Ulukau, the Hawaiian Electronic Library, University of Hawaii Press. 2004. Display with diacritics, query without |
{{Hawaiian Dictionaries | Kīlauea | q=Kilauea | dic=cl}} |
John R. K. Clark. lookup of Kīlauea. in Hawai'i Place Names: Shores, Beaches, and Surf Sites. Ulukau, the Hawaiian Electronic Library, University of Hawaii Press. 2004. Slightly different entry compared to above |
{{Hawaiian Dictionaries | Kīlauea | q=Kilauea | dic=hpn}} |
Lloyd J. Soehren. lookup of Kīlauea. in Hawaiian Place Names. Ulukau, the Hawaiian Electronic Library. 2010. Multiple entries |
{{Hawaiian Dictionaries | Oahu marriage record (1832–1910) | q="Samuel G. Wilder" | dic=gene | id=D09-000112}} |
Hawaiʻi State Archives. Oahu marriage record (1832–1910). Ulukau, the Hawaiian Electronic Library. 2006. Once page is found |
{{Hawaiian Dictionaries | {{Okina}}ai ha{{Okina}}a | q=ai haa | derivative=y }} |
Mary Kawena Pukui and Samuel Hoyt Elbert. lookup of ʻai haʻa. in Hawaiian Dictionary. Ulukau, the Hawaiian Electronic Library, University of Hawaii Press. 2003. Two word phrase with diacritics |
{{Hawaiian Dictionaries | q=Halemaʻumaʻu | dic=pp }} |
Mary Kawena Pukui, Samuel Hoyt Elbert and Esther T. Mookini. lookup of Halemaʻumaʻu. in Place Names of Hawai'i. Ulukau, the Hawaiian Electronic Library, University of Hawaii Press. 2004. Unicode diacritics, not {{Okina}} |
註釋
[编辑]- ^ see for example this revision
參見
[编辑]- Template: Hawaiian Dictionaries in Commons
给模板编辑者的说明
[编辑]模板结构
[编辑]实现方法
[编辑]编辑注意
[编辑]上述文档嵌入自Template:Hawaiian Dictionaries/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |