Template:Game: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
({{#default_form:Game}})
 
(17 intermediate revisions by 2 users not shown)
Line 13: Line 13:
|Description=
|Description=
|Sources=
|Sources=
|Source Image=
|Comment=
|Query=
|Has Supplemental Text=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{Glossary Box|{{{Game Family}}}|{{{Term}}}}}
</noinclude><includeonly>{{#default_form:Game}}{{Glossary Box}}{{#set:Has Supplemental Text={{{Has Supplemental Text|}}}}}
{| class="wikitable"
{| class=stats
! Game
! Game
| [[Term::{{{Term|}}}]]
| [[Term::{{{Term|}}}]]
Line 23: Line 27:
! Game Family
! Game Family
| <span style="display:none">[[Game Family::{{{Game Family|}}}]]</span> {{Family of Games Link|{{{Game Family|}}}}}
| <span style="display:none">[[Game Family::{{{Game Family|}}}]]</span> {{Family of Games Link|{{{Game Family|}}}}}
|-
|- {{#if: {{{Location|}}} || class=hidden }}
{{#if: {{{Location|}}} |  
{{!}}-
! Location
! Location
{{!}} [[Location::{{{Location|}}}]] }}
| [[Location::{{{Location|}}}]]
|-
|- {{#if: {{{Game Regions|}}} || class=hidden }}
! Regions
! Regions
| {{#arraymap:{{{Game Regions|}}}|,|x|[[Game Regions::x]]}}
| {{#arraymap:{{{Game Regions|}}}|,|x|[[Game Regions::x]]}}
|-
|- {{#if: {{{Game Eras|}}} || class=hidden }}
! Eras
! Eras
| {{#arraymap:{{{Game Eras|}}}|,|x|[[Game Eras::x]]}}
| {{#arraymap:{{{Game Eras|}}}|,|x|[[Game Eras::x]]}}
{{!}}-
|- {{#if: {{{Invented Game|}}} || class=hidden }}
! Invented
! Invented
{{!}} [[Invented Game::{{{Invented Game|}}}]]
| [[Invented Game::{{{Invented Game|}}}]]
|-
|- {{#if: {{{Game Tags|}}} || class=hidden }}
! Tags
! Tags
| {{#arraymap:{{{Game Tags|}}}|,|x|[[Game Tags::x]]}}
| {{#arraymap:{{{Game Tags|}}}|,|x|[[Game Tags::x]]}}
{{#if: {{{Description|}}} |  
|- {{#if: {{{Description|}}} || class=hidden }}
{{!}}-
! Description
! Description
{{!}} [[Description::{{{Description|}}}]] }}
| [[Description::{{{Description|}}}]]
{{#if: {{{Sources|}}} |
|- {{#if: {{{Sources|}}} || class=hidden }}
{{!}}-
! Sources
! Sources
{{!}} [[Sources::{{{Sources|}}}]] }}  
| [[Sources::{{{Sources|}}}]]
|- {{#if: {{{Source Image|}}} || class=hidden }}
! Source Image
| [[Image:{{{Source Image|}}}|left|thumb]]
|-
! Comment
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
|-
! Query
| [[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
|- {{#ifeq: {{{Has Supplemental Text|}}}|Yes|| class=hidden }}
! Has Supplemental Text
| {{#ifeq: {{{Has Supplemental Text|}}}|Yes|Yes [[{{PAGENAME}}#Supplemental Text|<i class="icon-hand-down"></i>]]}}
|}
|}
 
{{Related Essays}}
{{#ask:[[Related Pages::{{PAGENAME}}|format=array|name=related}}
{{#ifexpr: {{#arraysize:related}} > 0 | == Articles Related to {{PAGENAME}} == }}
{{#ask:[[Related Pages::{{PAGENAME}}]]|format=ul}}
 
{{Discussion}}
{{Discussion}}
__NOTOC__
{{#ifeq: {{{Has Supplemental Text|}}}|Yes|===<span class="sup_text">Supplemental Text</span>===}}


[[Category:Games]]
[[Category:Games]]
</includeonly>
</includeonly>

Latest revision as of 18:08, 5 June 2020

This is the "Game" template. It should be called in the following format:

{{Game
|Term=
|Game Family=
|Location=
|Game Regions=
|Game Eras=
|Invented Game=
|Game Tags=
|Description=
|Sources=
|Source Image=
|Comment=
|Query=
|Has Supplemental Text= 
}}

Edit the page to see the template text.