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
No edit summary
dustloop>Wakeup720
Adding some more functionality. The template should now, by default, look if there is a game-specific term that applies, and fall back to a universal term if none is found
Line 1: Line 1:
<includeonly><!--
<includeonly>
-->{{tt|{{{1}}}|{{#cargo_query:tables=Glossary
{{tt|{{{1}}}|<!--
|fields=definition
-->{{#cargo_query:tables=Glossary<!--
|where=term="{{{term|{{{1}}}}}}"{{#if:{{{gameSpecifier|}}}|and gameSpecifier HOLDS "{{{gameSpecifier|}}}"|}}}}}}<!--
-->  |fields=definition<!--
-->  |where=term="{{{term|{{{1}}}}}}" and gameSpecifier HOLDS "{{{gameSpecifier|{{SUBPAGENAME}}}}}"|<!--
-->  |no html<!--
-->  |default=<!--
-->    {{#cargo_query:tables=Glossary<!--
-->      |fields=definition<!--
-->      |where=term="{{{term|{{{1}}}}}}"<!--
-->    }}<!--
-->  }}|<!--
-->}}<!--
--></includeonly><noinclude>{{clear}}{{doc}}</noinclude>
--></includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Revision as of 20:37, 2 December 2023

MediaWiki Appliance - Powered by TurnKey Linux