This wiki is about 0.17, the current experimental version of Factorio.

Information about 0.16, the current stable version of Factorio, can be found on stable.wiki.factorio.com.

Difference between revisions of "Template:ConvertName"

From Official Factorio Wiki
Jump to: navigation, search
(Will I break the entire wiki? tomorrow on bilka the wiki admin!)
(the template should now trim {{{1}}} if {{{1}}} doesn't have an associated stirng)
Line 314: Line 314:
 
| hand
 
| hand
 
| manual = hand_icon
 
| manual = hand_icon
| #default = {{{1|error}}}
+
| #default = {{#if:{{{1|}}}|{{{1|}}}|error}} <!-- this trims {{{1}}} because parser functions do that -->
 
}}
 
}}

Revision as of 14:05, 1 July 2017

error