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>Wakeup720
Adding a bit more functionality. Now, if there is no universal term, and if the rootpage/game specifier does not match an existing game-specific entry, the tooltip will direct them to the Glossary page
m 52 revisions imported: Credit to the Dustloop wiki (dustloop.com).
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#invoke:Keyword|main}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude>
{{tt|{{{1}}}|<!--
-->{{#cargo_query:tables=Glossary<!--
-->  |fields=definition<!--
-->  |where=term="{{{term|{{{1}}}}}}" and gameSpecifier HOLDS "{{{gameSpecifier|{{SUBPAGENAME}}}}}"|<!--
-->  |no html<!--
-->  |default=<!--
-->    {{#cargo_query:tables=Glossary,Glossary__gameSpecifier<!--
-->      |join on=Glossary._ID = Glossary__gameSpecifier._rowID<!--
-->      |fields=definition<!--
-->      |where=term="{{{term|{{{1}}}}}}" and Glossary__gameSpecifier._value IS NULL<!--
-->      |default=This keyword does not have an entry in the [[Glossary|Glossary]]<!--
-->    }}<!--
-->  }}|<!--
-->}}<!--
--></includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Latest revision as of 21:52, 7 October 2024

MediaWiki Appliance - Powered by TurnKey Linux