Difference between revisions of "Template:Game Data"

From Minetest Wiki
Jump to navigation Jump to search
m
(c)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#invoke:Infobox|game
+
<noinclude>
|name={{{name|A subgame}}}
+
{{Documentation|content=
|description= A [[Subgames|subgame]]
+
{{Languages|nocat=1}}
|type={{{type|''?''}}}
+
{{Lua|Infobox|data=Infobox/en}}
 +
</noinclude>{{#invoke:Infobox|game
 +
|name={{{name|A game}}}
 +
|description= A [[Games|game]]
 +
|type={{{type|{{{gametype}}}|''?''}}}
 
|author={{{author|''?''}}}
 
|author={{{author|''?''}}}
 
|version={{{version|''?''}}}
 
|version={{{version|''?''}}}
|forum={{{forum|''N/A''}}}
+
|forum={{{forum|{{#if:{{{forumtopic|}}}|[https://forum.minetest.net/viewtopic.php?t={{{forumtopic}}} {{{forumtopic}}}]|''N/A''}}}}}
|source={{{source|''N/A''}}}
+
|source={{{source|{{#if:{{{github|}}}|[https://github.com/{{{github}}} GitHub]|''N/A''}}}}}
}}<noinclude>
+
}}
 +
<noinclude>
 +
 
 
<pre>
 
<pre>
 
{{Game Data
 
{{Game Data
|name=A Subgame
+
|name=A Game
 
|image=Image.png
 
|image=Image.png
|type=[[:Category:Default games|Default]]
+
|gametype=Default
 +
|author=Name
 +
|version=0.1
 +
|forumtopic=1
 +
|github=minetest/minetest_game
 +
}}
 +
</pre>
 +
 
 +
<pre>
 +
{{Game Data
 +
|name=A Game
 +
|image=Image.png
 +
|type=Default
 
|author=Name
 
|author=Name
 
|version=0.1
 
|version=0.1
Line 21: Line 39:
  
 
== See also ==
 
== See also ==
* [[Template:Block Data]]
+
{{Data see also}}
* [[Template:Item Data]]
+
}}
* [[Template:Food Item Data]]
 
* [[Template:Mob Data]]
 
* [[Template:Mod Data]]
 
* [[Module:Infobox/en]]
 
 
 
{{Languages}}
 
 
 
 
[[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