Template:Define: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1}}}|{{#cargo_query:table=definition | <includeonly> | ||
{{Abbr|{{{1}}}|{{#cargo_query:table=definition | |||
|fields= CONCAT (Term,' - ',Pronunciation,' - ', Definition) | |||
|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 | |fields= Term,Pronunciation,Definition | ||
|where=Term LIKE '{{{1}}}' | |where=Term LIKE '{{{1}}}' | ||
Line 6: | Line 15: | ||
|named args=yes | |named args=yes | ||
|default={{{1}}} | |default={{{1}}} | ||
}} |No Term}} | }} |No Term}} | ||
--> |
Revision as of 20:56, January 26, 2020
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.