More actions
dustloop>TarkusLee mNo edit summary |
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) . |
||
| Line 1: | Line 1: | ||
<includeonly>{{#cargo_query:tables=Glossary | <includeonly><!-- | ||
|fields= | -->{{tt|{{{1}}}|{{#cargo_query:tables=Glossary | ||
|where=term="{{{1}}}" {{#if: {{{gameSpecifier|}}}| and gameSpecifier="{{{gameSpecifier|}}}"|}} | |fields=definition | ||
|where=term="{{{term|{{{1}}}}}}" {{#if: {{{gameSpecifier|}}}| and gameSpecifier="{{{gameSpecifier|}}}"|}} | |||
}}}}<!-- | |||
}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude> | --></includeonly><noinclude>{{clear}}{{doc}}</noinclude> | ||