Difference between revisions of "Template:Game Data"

From Minetest Wiki
Jump to navigation Jump to search
(testing)
(c)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
{{Documentation|content=
 
{{Documentation|content=
{{Languages}}
+
{{Languages|nocat=1}}
 
{{Lua|Infobox|data=Infobox/en}}
 
{{Lua|Infobox|data=Infobox/en}}
 
</noinclude>{{#invoke:Infobox|game
 
</noinclude>{{#invoke:Infobox|game
 
|name={{{name|A game}}}
 
|name={{{name|A game}}}
 
|description= A [[Games|game]]
 
|description= A [[Games|game]]
|type={{{type|{{#if:{{{gametype|}}}|{{{gametype}}}]]|''?''}}}}}
+
|type={{{type|{{{gametype}}}|''?''}}}
 
|author={{{author|''?''}}}
 
|author={{{author|''?''}}}
 
|version={{{version|''?''}}}
 
|version={{{version|''?''}}}
 
|forum={{{forum|{{#if:{{{forumtopic|}}}|[https://forum.minetest.net/viewtopic.php?t={{{forumtopic}}} {{{forumtopic}}}]|''N/A''}}}}}
 
|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''}}}}}
 
|source={{{source|{{#if:{{{github|}}}|[https://github.com/{{{github}}} GitHub]|''N/A''}}}}}
}}<includeonly>[[Category:{{{gametype}}} games]]</includeonly><noinclude>
+
}}
 +
<noinclude>
 +
 
 
<pre>
 
<pre>
 
{{Game Data
 
{{Game Data
Line 28: Line 30:
 
|name=A Game
 
|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
Line 38: Line 40:
 
== See also ==
 
== See also ==
 
{{Data 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