Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Glossary"

From PCGamingWiki, the wiki about fixing PC games
m (Garrett moved page Template:Glossary to Template:Template:Infobox glossary: preparing for template handling split)
(changed display format checks from parameter to var)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
-->{{#ifeq: {{{display|}}} | abbr              | [[{{{name|}}}|<abbr title="{{#arraymap: {{{definition|}}} | " | x | x | &quot; }}" >{{lc:{{{name|}}}}}</abbr>]]      }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | abbr              | [[{{{name|}}}|<abbr title="{{#arraymap: {{{definition|}}} | " | x | x | &quot; }}" >{{lc:{{{name|}}}}}</abbr>]]      }}<!--
-->{{#ifeq: {{{display|}}} | uc                | [[{{{name|}}}|<abbr title="{{#arraymap: {{{definition|}}} | " | x | x | &quot; }}" >{{{name|}}}</abbr>]]            }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | uc                | [[{{{name|}}}|<abbr title="{{#arraymap: {{{definition|}}} | " | x | x | &quot; }}" >{{{name|}}}</abbr>]]            }}<!--
-->{{#ifeq: {{{display|}}} | image            | {{{image|}}}                                                                    }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | image            | {{{image|}}}                                                                    }}<!--
-->{{#ifeq: {{{display|}}} | article          | [[{{{article|}}}]]                                                              }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | article          | [[{{{article|}}}]]                                                              }}<!--
-->{{#ifeq: {{{display|}}} | list              | [[{{{list|}}}]]                                                                }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | list              | [[{{{list|}}}]]                                                                }}<!--
-->{{#ifeq: {{{display|}}} | cargo            | [[Special:CargoTables/{{{cargo|}}}|{{{cargo|}}}]]                              }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | cargo            | [[Special:CargoTables/{{{cargo|}}}|{{{cargo|}}}]]                              }}<!--
-->{{#ifeq: {{{display|}}} | category          | [[:Category:{{{category|}}}|{{{category|}}}]]                                  }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | category          | [[:Category:{{{category|}}}|{{{category|}}}]]                                  }}<!--
-->{{#ifeq: {{{display|}}} | taxonomy          | [[:Category:{{{taxonomy|}}}|{{{taxonomy|}}}]]                                  }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | taxonomy          | [[:Category:{{{taxonomy|}}}|{{{taxonomy|}}}]]                                  }}<!--
-->{{#ifeq: {{{display|}}} | definition        | {{{definition|}}}                                                              }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | definition        | {{{definition|}}}                                                              }}<!--
-->{{#ifeq: {{{display|}}} | examples          | {{{examples|}}}                                                                }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | examples          | {{{examples|}}}                                                                }}<!--
-->{{#ifeq: {{{display|}}} | notes            | {{{notes|}}}                                                                    }}<!--
+
-->{{#ifeq: {{#var:glossary display}} | notes            | {{{notes|}}}                                                                    }}<!--
 +
-->{{#ifeq: {{{name}}} | {{PAGENAME}} | {{#vardefine:glossary display|box}} }}<!--
 
--><!--  
 
--><!--  
  
Line 22: Line 23:
  
  
-->{{#ifeq: {{{display|}}} | box              |  
+
-->{{#ifeq: {{#var:glossary display}} | box              |  
 
<table class="vertical-navbox template-infobox glossary-table" id="infobox-non-game">
 
<table class="vertical-navbox template-infobox glossary-table" id="infobox-non-game">
 
<caption class="template-infobox-title">{{{name|}}}</caption>
 
<caption class="template-infobox-title">{{{name|}}}</caption>

Revision as of 09:57, 11 May 2020