Template:term: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
No edit summary
straight quotation marks, per consensus on talk. (this was previous implemented; one user objected and reverted, but no-one agreed with that user, though one other participant in the original discussion had also favoured curly quotes.)
Line 11: Line 11:
-->|<span class='mention-gloss-paren'>(</span>}}<!--end of if tr
-->|<span class='mention-gloss-paren'>(</span>}}<!--end of if tr
-->{{#if:{{{3|}}}<!--
-->{{#if:{{{3|}}}<!--
-->|<span class='mention-gloss-double-quote'></span><span class='mention-gloss'>{{{3}}}</span><span class='mention-gloss-double-quote'></span>{{#if:{{{pos|}}}{{{lit|}}}|,&#32;}}<!--
-->|<span class='mention-gloss-double-quote'>"</span><span class='mention-gloss'>{{{3}}}</span><span class='mention-gloss-double-quote'>"</span>{{#if:{{{pos|}}}{{{lit|}}}|,&#32;}}<!--
-->}}<!--end of if 3
-->}}<!--end of if 3
-->{{#if:{{{pos|}}}|{{#ifexist:template:pos {{{pos}}}|{{pos {{{pos}}}}}|{{{pos|}}}}}{{#if:{{{lit|}}}|,&#32;}}}}<!--
-->{{#if:{{{pos|}}}|{{#ifexist:template:pos {{{pos}}}|{{pos {{{pos}}}}}|{{{pos|}}}}}{{#if:{{{lit|}}}|,&#32;}}}}<!--
-->{{#if:{{{lit|}}}|literally <span class='mention-gloss-double-quote'></span>{{{lit}}}<span class='mention-gloss-double-quote'></span>}}<!--
-->{{#if:{{{lit|}}}|literally <span class='mention-gloss-double-quote'>"</span>{{{lit}}}<span class='mention-gloss-double-quote'>"</span>}}<!--
-->{{#if:{{{3|}}}{{{lit|}}}{{{pos|}}}|<span class='mention-gloss-paren'>)</span>}}}}<!--
-->{{#if:{{{3|}}}{{{lit|}}}{{{pos|}}}|<span class='mention-gloss-paren'>)</span>}}}}<!--
--><noinclude>{{documentation}}</noinclude>
--><noinclude>{{documentation}}</noinclude>

Revision as of 01:21, 25 January 2013

Template:Xyzy



This template is equivalent to {{m}} or {{mention}} except that the language code is passed as the |lang= parameter instead of the first parameter, and is optional, defaulting to en (English). All the other numbered parameters are shifted down by one in comparison with {{m}}. This means that the following two calls are exactly equivalent:

  • {{term|verbum|verbō|lang=la}}
  • {{m|la|verbum|verbō}}

Related templates

  • {{l}} for creating links
  • {{lang}} to tag language only
  • {{m}}