Template:R:CAL: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
m {{cite-web}} - renamed param 'date' to 'year'
use entryurl= instead of url=
Line 1: Line 1:
<includeonly>{{cite-web|work=The Comprehensive Aramaic Lexicon Project|url={{#invoke:R:CAL|URL|{{{1|{{{entry|}}}}}}|{{#switch:{{{2|{{{pos|}}}}}}|N=N|V=V|C=c|c=c|n=N|v=V|A=A|X=X|a=A|x=X|Adv=X|Adj=A|P=p|p=p|i=I|I=I|b=b|d=d|#default=N}}}}|accessdate={{{date|}}}|entry={{#invoke:R:CAL|title|{{{1|{{{entry|}}}}}}}}|location=Cincinnati|publisher=Hebrew Union College|year=1986–}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{cite-web|work=The Comprehensive Aramaic Lexicon Project|entryurl={{#invoke:R:CAL|URL|{{{1|{{{entry|}}}}}}|{{#switch:{{{2|{{{pos|}}}}}}|N=N|V=V|C=c|c=c|n=N|v=V|A=A|X=X|a=A|x=X|Adv=X|Adj=A|P=p|p=p|i=I|I=I|b=b|d=d|#default=N}}}}|accessdate={{{date|}}}|entry={{#invoke:R:CAL|title|{{{1|{{{entry|}}}}}}}}|location=Cincinnati|publisher=Hebrew Union College|year=1986–}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 23:46, 13 April 2024


Usage

This template eases referencing the Comprehensive Aramaic Lexicon Project. It uses Module:R:CAL to generate the URL and to display the entry name in Semitic transliteration.

For a link to

http://cal.huc.edu/oneentry.php?lemma=Twy#2 V&cits=all

Use Twy#2 for |1= or |entry=, because this partially identifies the entry in the CAL.

Use V for |2= or |pos= because the URL requires the part of speech, here V for “verb”. The default is N and exists only to grandfather old uses of this template.

So:

{{R:CAL|Twy#2|V}}

Or:

{{R:CAL|entry=Twy#2|pos=V}}

It becomes:

ṭwy2”, in The Comprehensive Aramaic Lexicon Project, Cincinnati: Hebrew Union College, 1986–