Template:Define: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly></includeonly>{{Abbr|{{{1}}}|{{#cargo_query:table=definition|fields= CONCAT (Term,' - ',Pronunciation,' - ', Definition)|where=Term LIKE '{{{1}}}'|no html|default={{{1}}}}}}}<noinclude>This template query's Cargo Definition Table for a term (parameter 1), then uses Template:Abbr to display a dotted underlined word that when clicked or hovered will use Gadget:ReferencesTooltip to display the term, pronunciation and definition.
{{Abbr|{{{1}}}|{{#cargo_query:table=definition
<!-- {{Hover title|{{#cargo_query:table=definition|fields= CONCAT (Term,' - ',Pronunciation,' - ', Definition)|where=Term LIKE '{{{1}}}'}}|{{{1}}} }} -->
|fields= CONCAT (Term,' - ',Pronunciation,' - ', Definition)
</noinclude>
|where=Term LIKE '{{{1}}}'
|no html
|default={{{1}}}
}} }}
</includeonly><noinclude>This template query's Cargo Definition Table for a term (parameter 1), sends the results to  Template:Define_word which then uses Template:Abbr to display a dotted underlined word that when clicked or hovered will display a tooltip (Gadget:ReferencesTooltip) to display the term, pronunciation and definition.</noinclude>
<!--
{{#if:{{{1}}}|{{#cargo_query:table=definition
|fields= Term,Pronunciation,Definition
|where=Term LIKE '{{{1}}}'
|format=template
|template=Define_word
|named args=yes
|default={{{1}}}
}} |No Term}}
-->

Latest revision as of 21:52, October 30, 2020

{{{1}}}This template query's Cargo Definition Table for a term (parameter 1), then uses Template:Abbr to display a dotted underlined word that when clicked or hovered will use Gadget:ReferencesTooltip to display the term, pronunciation and definition.