Template:eng: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
== Usage ==
== Usage ==
This creates a link to the Wiktionary entry for an English word.<br>
This creates a link to the Wiktionary entry for an English word.<br>
<code><nowiki></nowiki></code>
<code><nowiki>{{eng|there}}</nowiki></code> → {{eng|there}}<br>
<code><nowiki>{{eng|there be|there to be}}</nowiki></code> → {{eng|there be|there to be}}<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).
<code>pos</code> specifies part of speech, if you wish to hyperlink it to that specific section.</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)