Difference between revisions of "Template:Glossary"
From PCGamingWiki, the wiki about fixing PC games
m (d) |
m (added box view style) |
||
Line 9: | Line 9: | ||
-->{{#ifeq: {{{show|}}} | category | [[:Category:{{{category|}}}|{{{name|}}}]] }}<!-- | -->{{#ifeq: {{{show|}}} | category | [[:Category:{{{category|}}}|{{{name|}}}]] }}<!-- | ||
-->{{#ifeq: {{{show|}}} | property | [[Property:{{{property|}}}|{{{name|}}}]] }}<!-- | -->{{#ifeq: {{{show|}}} | property | [[Property:{{{property|}}}|{{{name|}}}]] }}<!-- | ||
+ | --><!-- | ||
+ | |||
+ | -->{{#ifeq: {{{show|}}} | box | | ||
+ | <table class="vertical-navbox template-infobox" id="infobox-non-game"> | ||
+ | <caption class="template-infobox-title">{{{name|}}}</caption> | ||
+ | {{#if: {{{image|}}} | | ||
+ | <tr> | ||
+ | <td class="template-infobox-cover" colspan="2">[[File:{{{image}}}{{!}}300px{{!}}alt={{{name|}}}]]</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Definition long--> | ||
+ | {{#if: {{{definition long|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Definition</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{{definition long}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- List --> | ||
+ | {{#if: {{{list|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">List</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{{list}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Property--> | ||
+ | {{#if: {{{property|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Property</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{{property}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Category--> | ||
+ | {{#if: {{{category|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Category</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{{category}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Examples long --> | ||
+ | {{#if: {{{developers|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Examples</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{{examples long}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Icons --> | ||
+ | {{#if: {{{list|}}} | | ||
+ | <tr> | ||
+ | <td class="template-infobox-icons" colspan="2"><!-- | ||
+ | -->{{#if: {{{list|}}} | <div title="{{{list}}}" class="plainlinks template-infobox-icon svg-icon project-list-of-lists">[[{{{list|}}}| ]]</div>}}<!-- | ||
+ | -->}}</td> | ||
+ | </tr> | ||
+ | }}</table><!-- | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
--><noinclude>[[Category:Glossary]]</noinclude> | --><noinclude>[[Category:Glossary]]</noinclude> |