Difference between revisions of "Template:Game Data"

From Minetest Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
+
{| class="wikitable" style="float:right; text-align:left; margin: 0 0 0.5em 1em; padding:5px; font-size:90%;" width="{{{width|200px}}}"
{| class="wikitable" style="float: right; margin: 0 0 0.5em 1.5em" width="{{{width|200px}}}"
+
! colspan="2" style="font-size:110%; text-align:center;"| {{{name | {{{game_name|A Game}}} }}}
!align="center" colspan="2" | [[Games|Minetest Subgame]]
 
 
|-
 
|-
!align="center" colspan="2"|[[File:{{{image}}}|96px|96px]]
+
! colspan="2" align="center" | [[File:{{{image}}}|150px|150px]]
 
|-
 
|-
! colspan="2" | {{{name | {{{game_name}}} }}}
+
! colspan="2" align="center" | a [[Subgames|Subgame]]
 
|-
 
|-
| '''Type''' || {{{type | {{{game_type | funplay}}} }}}
+
| '''Type''' || {{{type | {{{game_type|}}} }}}
 
|-
 
|-
| '''Author''' || {{{author|''somebody''}}}
+
| '''Author''' || {{{author|}}}
 
|-
 
|-
| '''First Release''' || {{{first_date|some date}}}
+
| '''First Release''' || {{{first_date|}}}
 
|-
 
|-
| '''Forum Page''' || {{{forum|''minetest.net/forum''}}}
+
| '''Forum Topic''' || {{{forum|[https://forum.minetest.net/viewtopic.php?t=3441 3441]}}}
 
|-
 
|-
| '''Source''' || {{{source|github}}}
+
| '''Source Code''' || {{{source|[https://github.com/minetest/minetest_game GitHub]}}}
 
|-
 
|-
| '''Includes Mobs''' || {{{mobs|no}}}
+
| '''Includes Mobs''' || {{{mobs|No}}}
 
|}
 
|}
 
</includeonly>
 
 
<noinclude>
 
<noinclude>
== Examples ==
 
{| class="wikitable"
 
! source
 
! output
 
|-
 
|
 
<nowiki>{{Game Data | image=3apple.png | name=A Game | author=Ghostwriter | first_date=long ago | Yay (99)}}</nowiki>
 
|{{Game Data | image=3apple.png | name=A Game | author=Ghostwriter | first_date=long ago | mobs=Yay (99)}}
 
|-
 
|
 
<nowiki>
 
{{Game Data
 
| image=3apple.png
 
| name=A Game
 
| author=Ghostwriter
 
| first_date=long ago
 
| forum=some forum url
 
| source=somewhere on github
 
| mobs=Yay (99)}}
 
</nowiki>
 
|{{Game Data
 
| image=3apple.png
 
| name=A Game
 
| author=Ghostwriter
 
| first_date=long ago
 
| forum=some forum url
 
| source=somewhere on github
 
| mobs=Yay (99)}}
 
|}
 
 
<nowiki>
 
not used:
 
 
<pre>
 
<pre>
! colspan="2" | Works with
+
{{Game Data
|-
+
|name=A Game
| '''0.4.7''' || {{{0407|}}}
+
|image=Image.png
|-
+
|type=Fun
| '''0.4.8''' || {{{0408|}}}
+
|author=Name
|-
+
|first_date=2015-01-01
| '''0.4.9''' || {{{0409|}}}
+
|forum=https://forum.minetest.net/viewtopic.php?t=3441
|-
+
|source=https://github.com/minetest/minetest_game
| '''0.4.10''' || {{{0410|}}}
+
|mobs=No
|-
+
}}
 
</pre>
 
</pre>
</nowiki>
+
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:30, 3 January 2015

A Game
[[File:{{{image}}}|150px|150px]]
a Subgame
Type
Author
First Release
Forum Topic 3441
Source Code GitHub
Includes Mobs No
{{Game Data
|name=A Game
|image=Image.png
|type=Fun
|author=Name
|first_date=2015-01-01
|forum=https://forum.minetest.net/viewtopic.php?t=3441
|source=https://github.com/minetest/minetest_game
|mobs=No
}}