Template:eng: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 6: Line 6:
<code><nowiki>{{eng|pass|pos=Noun}}</nowiki></code> → {{eng|pass|pos=Noun}}<br>
<code><nowiki>{{eng|pass|pos=Noun}}</nowiki></code> → {{eng|pass|pos=Noun}}<br>
The first argument is the word which you wish to be linked.<br>
The first argument is the word which you wish to be linked.<br>
Optional second argument is the text to display if different from the first argument (the link).
Optional second argument is the text to display if different from the first argument (the link).<br>
<code>pos</code> specifies part of speech, if you wish to hyperlink it to that specific section. (should be capitalised)</noinclude>
<code>pos</code> specifies part of speech, if you wish to hyperlink it to that specific section. (should be capitalised)</noinclude>

Revision as of 20:19, 26 January 2023

[[wikt:{{{1}}}#English|{{{1}}}]]

Usage

This creates a link to the Wiktionary entry for an English word.
{{eng|there}}there
{{eng|there be|there to be}}there to be
{{eng|pass|pos=Noun}}pass
The first argument is the word which you wish to be linked.
Optional second argument is the text to display if different from the first argument (the link).
pos specifies part of speech, if you wish to hyperlink it to that specific section. (should be capitalised)