Difference between revisions of "Template:Group Data"

From Minetest Wiki
Jump to navigation Jump to search
(First attempt to implement a template for groups. Don’t get mad if it doesn’t work at the first try.)
 
m (Deleted extra newline)
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
| [[File:{{{image}}}|150px|150px]]
 
| [[File:{{{image}}}|150px|150px]]
 
|-
 
|-
| {{{name | {{{group_name}}} }}}
+
| '''[[Groups|Group]]''': {{{name | {{{group_name}}} }}}
|}</includeonly>
+
|}</includeonly><noinclude>
<noinclude>
 
 
== Examples ==
 
== Examples ==
 
{| class="wikitable"
 
{| class="wikitable"
Line 11: Line 10:
 
|-
 
|-
 
|
 
|
  <nowiki>{{Group Data | image=Group stone.png | name=Dirt}}</nowiki>
+
  <nowiki>{{Group Data | image=Group stone.png | name=stone}}</nowiki>
|{{Group Data | image=Group stone.png | name=Dirt}}
+
|{{Group Data | image=Group stone.png | name=stone}}
 
|}
 
|}
 +
{{languages}}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 05:54, 27 May 2017

Examples

source output
{{Group Data | image=Group stone.png | name=stone}}
Group stone.png
Group: stone
Languages Language: English • Bahasa Melayu