Template:ModuleInfobox: Difference between revisions

m
Correct usage of ifexist
m (.svg)
m (Correct usage of ifexist)
Line 2: Line 2:
{{Infobox
{{Infobox
   | title = {{{ name | Gamemode 4 Module}}}
   | title = {{{ name | Gamemode 4 Module}}}
   | image = {{#ifexist: [[File:{{SUBPAGENAME}}.svg]] | [[File:{{SUBPAGENAME}}.svg|150px|link=]] | [[File:{{#setmainimage: {{{icon|gm4_logo.svg}}} }} |150px|link=]] }}
   | image = {{#ifexist: File:{{SUBPAGENAME}}.svg | [[File:{{SUBPAGENAME}}.svg|150px|link=]] | [[File:{{#setmainimage: {{{icon|gm4_logo.svg}}} }} |150px|link=]] }}
   | header1 = --------------------
   | header1 = --------------------
   | label2 = Module Type
   | label2 = Module Type
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits