Template:eng: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
(Added l/m/m+ parameter)
mNo edit summary
Line 4: Line 4:
|m = <i>[[wikt:{{{2}}}#{{{pos|English}}}|{{{3|{{{2}}}}}}]]</i>
|m = <i>[[wikt:{{{2}}}#{{{pos|English}}}|{{{3|{{{2}}}}}}]]</i>
|l = [[wikt:{{{2}}}#{{{pos|English}}}|{{{3|{{{2}}}}}}]]
|l = [[wikt:{{{2}}}#{{{pos|English}}}|{{{3|{{{2}}}}}}]]
|<i>[[wikt:{{{1}}}#{{{pos|English}}}|{{{2|{{{1}}}}}}]]</i>}}<noinclude>[[Category:Link templates]][[Category:Format templates]]
|[[wikt:{{{1}}}#{{{pos|English}}}|{{{2|{{{1}}}}}}]]}}<noinclude>[[Category:Link templates]][[Category:Format templates]]
== 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>
Line 13: Line 13:
Optional second argument is the text to display if different from the first argument (the link).<br>
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).<br><br>
<code>pos</code> specifies part of speech, if you wish to hyperlink it to that specific section. (should be capitalised).<br><br>
You can also specify <code>l</code>, <code>m</code> (default) 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|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|word}}</nowiki></code> = <code><nowiki>{{eng|m|word}}</nowiki></code> → {{eng|word}}<br>
<code><nowiki>{{eng|m|word}}</nowiki></code> → {{eng|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>

Navigation menu