Difference between revisions of "Template:Game Data"

From Luanti Wiki
Jump to navigation Jump to search
(c)
 
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right; text-align:left; margin: 0 0 0.5em 1em; padding:5px; font-size:90%;" width="{{{width|200px}}}"
 
! colspan="2" style="font-size:110%; text-align:center;"| {{{name|}}}
 
|-
 
! colspan="2" align="center" | [[File:{{{image|Minetest logo.png}}}|150px|150px]]
 
|-
 
! colspan="2" align="center" | a [[Subgames|Subgame]]
 
|-
 
| '''Type''' || {{{type|}}}
 
|-
 
| '''Author''' || {{{author|}}}
 
|-
 
| '''Latest Version''' || {{{version|}}}
 
|-
 
| '''Forum Topic''' || {{{forum|[https://forum.minetest.net/viewtopic.php?t=1 1]}}}
 
|-
 
| '''Source Code''' || {{{source|[https://github.com GitHub]}}}
 
|-
 
| '''Technical Name''' || {{{luaname|}}}
 
|}
 
 
<noinclude>
 
<noinclude>
 +
{{Documentation|content=
 +
{{Languages|nocat=1}}
 +
{{Lua|Infobox|data=Infobox/en}}
 +
</noinclude>{{#invoke:Infobox|game
 +
|name={{{name|A game}}}
 +
|description= A [[Games|game]]
 +
|type={{{type|{{{gametype}}}|''?''}}}
 +
|author={{{author|''?''}}}
 +
|version={{{version|''?''}}}
 +
|forum={{{forum|{{#if:{{{forumtopic|}}}|[https://forum.minetest.net/viewtopic.php?t={{{forumtopic}}} {{{forumtopic}}}]|''N/A''}}}}}
 +
|source={{{source|{{#if:{{{github|}}}|[https://github.com/{{{github}}} GitHub]|''N/A''}}}}}
 +
}}
 +
<noinclude>
 +
 +
<pre>
 +
{{Game Data
 +
|name=A Game
 +
|image=Image.png
 +
|gametype=Default
 +
|author=Name
 +
|version=0.1
 +
|forumtopic=1
 +
|github=minetest/minetest_game
 +
}}
 +
</pre>
 +
 
<pre>
 
<pre>
 
{{Game Data
 
{{Game Data
|name=A Subgame
+
|name=A Game
 
|image=Image.png
 
|image=Image.png
|type=[[:Category:Default games|Default]]
+
|type=Default
 
|author=Name
 
|author=Name
 
|version=0.1
 
|version=0.1
 
|forum=[https://forum.minetest.net/viewtopic.php?t=1 1]
 
|forum=[https://forum.minetest.net/viewtopic.php?t=1 1]
 
|source=[https://github.com/minetest/minetest_game GitHub]
 
|source=[https://github.com/minetest/minetest_game GitHub]
|luaname=a_randomsubgame
 
 
}}
 
}}
 
</pre>
 
</pre>
  
 +
== See also ==
 +
{{Data see also}}
 +
}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:47, 16 April 2021

Documentation icon.png Documentation
Languages Language: English • Deutsch • Bahasa Melayu
Lua logo.png This template uses Module:Infobox, with data stored in Module:Infobox/en.
Please see wikipedia:Wikipedia:Lua and mw:Extension:Scribunto to learn more.
A game
Blank.png
A game
Game Type {{{gametype}}}
Author ?
Latest version ?
Forum topic N/A
Source code N/A


{{Game Data
|name=A Game
|image=Image.png
|gametype=Default
|author=Name
|version=0.1
|forumtopic=1
|github=minetest/minetest_game
}}
{{Game Data
|name=A Game
|image=Image.png
|type=Default
|author=Name
|version=0.1
|forum=[https://forum.minetest.net/viewtopic.php?t=1 1]
|source=[https://github.com/minetest/minetest_game GitHub]
}}

See also