Loading AI tools
来自维基百科,自由的百科全书
此頁面是Template:Hawaiian Dictionaries的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
本模板可引用多本夏威夷語辭典,去解釋條目中夏威夷語詞語的意思。本模板的詞典可為條目提供在網上亦有可查證的數據庫。這些數據庫是由夏威夷大學的Ulukau計劃。
{{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:
id=
id=
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}} |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.