Difference between revisions of "Template:Glossary"
From PCGamingWiki, the wiki about fixing PC games
m (added definition short + example short + long + fixed minor bug) |
|||
Line 31: | Line 31: | ||
}} | }} | ||
− | <!-- Definition long--> | + | <!-- Definition short --> |
+ | {{#if: {{{definition short|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Definition</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{{definition short}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Definition long --> | ||
{{#if: {{{definition long|}}} | | {{#if: {{{definition long|}}} | | ||
<tr> | <tr> | ||
Line 61: | Line 71: | ||
}} | }} | ||
− | <!-- Category--> | + | <!-- Category --> |
{{#if: {{{category|}}} | | {{#if: {{{category|}}} | | ||
<tr> | <tr> | ||
Line 71: | Line 81: | ||
}} | }} | ||
− | <!-- Glossary category--> | + | <!-- Glossary category --> |
{{#if: {{{glossary category|}}} | | {{#if: {{{glossary category|}}} | | ||
<tr> | <tr> | ||
Line 78: | Line 88: | ||
<tr> | <tr> | ||
<td class="template-infobox-info plainlinks" colspan="2">[[:Category:{{{glossary category|}}}|{{{glossary category|}}}]]</td> | <td class="template-infobox-info plainlinks" colspan="2">[[:Category:{{{glossary category|}}}|{{{glossary category|}}}]]</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- Examples short --> | ||
+ | {{#if: {{{examples short|}}} | | ||
+ | <tr> | ||
+ | <th class="template-infobox-header" colspan="2">Examples</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td class="template-infobox-info plainlinks" colspan="2">{{{examples short}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- Examples long --> | <!-- Examples long --> | ||
− | {{#if: {{{ | + | {{#if: {{{examples long|}}} | |
<tr> | <tr> | ||
<th class="template-infobox-header" colspan="2">Examples</th> | <th class="template-infobox-header" colspan="2">Examples</th> |