Template:eng: Difference between revisions
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) m (→Usage) |
||
Line 15: | Line 15: | ||
You can also specify <code>l</code> (default), <code>m</code> or <code>(m)+</code> to style it as per the standard linking modules:<br> | You can also specify <code>l</code> (default), <code>m</code> or <code>(m)+</code> to style it as per the standard linking modules:<br> | ||
<code><nowiki>{{eng|word}}</nowiki></code> = <code><nowiki>{{eng|l|word}}</nowiki></code> → {{eng|l|word}}<br> | <code><nowiki>{{eng|word}}</nowiki></code> = <code><nowiki>{{eng|l|word}}</nowiki></code> → {{eng|l|word}}<br> | ||
<code><nowiki>{{eng|m|word}}</nowiki></code> → {{eng|word}}<br> | <code><nowiki>{{eng|m|word}}</nowiki></code> → {{eng|m|word}}<br> | ||
<code><nowiki>{{eng|+|word}}</nowiki></code> = <code><nowiki>{{eng|m+|word}}</nowiki></code> → {{eng|+|word}}</noinclude> | <code><nowiki>{{eng|+|word}}</nowiki></code> = <code><nowiki>{{eng|m+|word}}</nowiki></code> → {{eng|+|word}}</noinclude> |
Revision as of 15:26, 10 August 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).
You can also specify l
(default), m
or (m)+
to style it as per the standard linking modules:
{{eng|word}}
= {{eng|l|word}}
→ word
{{eng|m|word}}
→ word
{{eng|+|word}}
= {{eng|m+|word}}
→ English word