More actions
dustloop>Wakeup720 Adding a tad more functionality. The template should still work in every instance it is used, but now it will display the term as it is entered (e.g. {{keyword|okizeme}} now displays "okizeme" with the tooltip instead of "Okizeme"). the "term" parameter has also been added; it is not necessary, but it allows different words to be used (e.g. {{keyword|Bursts|term=Burst}} will display "Bursts" with the tooltip) . |
dustloop>Alistair3149 No edit summary |
||
| Line 2: | Line 2: | ||
-->{{tt|{{{1}}}|{{#cargo_query:tables=Glossary | -->{{tt|{{{1}}}|{{#cargo_query:tables=Glossary | ||
|fields=definition | |fields=definition | ||
|where=term="{{{term|{{{1}}}}}}" {{#if: {{{gameSpecifier|}}}| and gameSpecifier="{{{gameSpecifier|}}}"|}} | |where=term="{{{term|{{{1}}}}}}" {{#if: {{{gameSpecifier|}}}| and gameSpecifier="{{{gameSpecifier|}}}"|}}}}}}<!-- | ||
}}}}<!-- | |||
--></includeonly><noinclude>{{clear}}{{doc}}</noinclude> | --></includeonly><noinclude>{{clear}}{{doc}}</noinclude> | ||