Navigation
Difference between revisions of "Template:Gameinfobox"

Difference between revisions of "Template:Gameinfobox"

From Ludocity

Jump to: navigation, search
(Fixing alphabetising for different game statuses.)
(forums are offline now)
 
(14 intermediate revisions by one user not shown)
Line 4: Line 4:
 
! colspan="2" style="padding:3px; background:#bbb; font-size:1.2em; text-align:center" | {{{title|{{PAGENAME}}}}}
 
! colspan="2" style="padding:3px; background:#bbb; font-size:1.2em; text-align:center" | {{{title|{{PAGENAME}}}}}
 
|-  
 
|-  
| colspan="2" style="background:#fff; text-align:center; padding:0px" | {{ #if: {{{image}}}|[[Image:{{{image}}}|300px]] }}
+
| colspan="2" style="background:#fff; text-align:center; padding:0px" | {{ #if: {{{image|}}}|[[Image:{{{image}}}|300px]] }}
 
|-  
 
|-  
| style="padding:3px; text-align:right; vertical-align:top; background:#fff" | Designer:
+
| style="padding:3px; text-align:right; vertical-align:top; background:#fff" | {{#switch: {{{licence}}}
 +
| public domain = Contributor|Designer}}:
 
| style="padding:3px; background:#fff" | {{ #ifexist: {{{designer}}}|[[{{{designer}}}]]|{{{designer}}}}}
 
| style="padding:3px; background:#fff" | {{ #ifexist: {{{designer}}}|[[{{{designer}}}]]|{{{designer}}}}}
 
|-  
 
|-  
Line 29: Line 30:
 
| style="padding:3px; text-align:right; vertical-align:top; background:#fff" | Activities:
 
| style="padding:3px; text-align:right; vertical-align:top; background:#fff" | Activities:
 
| style="padding:3px; background:#fff" | {{{activities|-}}}
 
| style="padding:3px; background:#fff" | {{{activities|-}}}
 +
 
|-
 
|-
 
| colspan="2" style="background:#eee;text-align:center;padding:8px" | {{#switch: {{{status}}}
 
| colspan="2" style="background:#eee;text-align:center;padding:8px" | {{#switch: {{{status}}}
Line 45: Line 47:
  
 
{{#switch: {{{licence}}}
 
{{#switch: {{{licence}}}
| public domain = [[Image:Publicdomain.png|100px|left]]This game is in the public domain. ([[Ludocity:Copyrights|What does this mean?]])
+
| public domain = [[Image:Publicdomain.png|100px|left]]This game is in the public domain. ([[Ludocity:Copyrights|What does this mean?]])[[Category:Public domain games|{{{alphabeticname|{{PAGENAME}}}}}]]
 
| [[Image:Cc-by-nc.png|100px|left]]This game is made available under an [http://creativecommons.org/licenses/by-nc/3.0/ Attribution-Noncommercial Creative Commons licence]. ([[Ludocity:Copyrights|What does this mean?]])
 
| [[Image:Cc-by-nc.png|100px|left]]This game is made available under an [http://creativecommons.org/licenses/by-nc/3.0/ Attribution-Noncommercial Creative Commons licence]. ([[Ludocity:Copyrights|What does this mean?]])
 
}}
 
}}
 
|-  
 
|-  
 
|}
 
|}
<includeonly>{{ #ifeq: {{{status}}}|roughnotes||{{#if:{{#explode:{{{activities|-}}}|,|0}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|0}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|1}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|1}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|2}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|2}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|3}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|3}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|4}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|4}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|5}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|5}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|6}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|6}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|7}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|7}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|8}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|8}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}}}}</includeonly>
+
<includeonly>{{ #ifeq: {{{status}}}|roughnotes||{{#if:{{#explode:{{{activities|-}}}|,|0}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|0}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|1}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|1}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|2}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|2}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|3}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|3}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|4}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|4}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|5}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|5}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|6}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|6}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|7}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|7}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}} {{#if:{{#explode:{{{activities|-}}}|,|8}} | [[Category:{{#replace:{{#explode:{{{activities|-}}}|,|8}}|.|}} games|{{{alphabeticname|{{PAGENAME}}}}}]]}}}}{{ #ifeq: {{{players}}}|2+|[[Category:Two-player games]]}}{{ #ifeq: {{{players}}}|2|[[Category:Two-player games]]}}{{ #ifeq: {{{players}}}|1+|[[Category:Single-player games]] [[Category:Two-player games]]}}{{ #ifeq: {{{players}}}|1|[[Category:Single-player games]]}}</includeonly>

Latest revision as of 20:23, 27 January 2018

Gameinfobox
Designer: {{{designer}}}
Players: unknown
Stuff required: -
Crew required: -
Preparation: -
Time required: -
Place required: -
Activities: -
Exclamation.png
This game's status has not been specified.
Cc-by-nc.png
This game is made available under an Attribution-Noncommercial Creative Commons licence. (What does this mean?)