Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Keyword: Difference between revisions

Template page
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=term,definition
-->{{tt|{{{1}}}|{{#cargo_query:tables=Glossary
|where=term="{{{1}}}" {{#if: {{{gameSpecifier|}}}| and gameSpecifier="{{{gameSpecifier|}}}"|}}
|fields=definition
|format=template
|where=term="{{{term|{{{1}}}}}}" {{#if: {{{gameSpecifier|}}}| and gameSpecifier="{{{gameSpecifier|}}}"|}}
|template=Tt
}}}}<!--
}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude>
--></includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Revision as of 16:13, 15 March 2023

MediaWiki Appliance - Powered by TurnKey Linux