Difference between revisions of "Template:Unit image"

From Zero-K
Jump to navigation Jump to search
(Created page with "{{#ifeq:{{#invoke:String|str_find|{{{1}}}|http}}|-1|{{#if:{{{1|}}}|<img src="//manual.zero-k.info/unitpics/{{{1}}}.png" valign="middle">|}}|{{{1|}}}}}")
 
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{#invoke:String|str_find|{{{1}}}|http}}|-1|{{#if:{{{1|}}}|<img src="//manual.zero-k.info/unitpics/{{{1}}}.png" valign="middle">|}}|{{{1|}}}}}
+
{{#ifeq:{{#invoke:String|str_find|{{{1}}}|http}}|-1|
 +
{{#if:{{{1|}}}|<img src="//manual.zero-k.info/unitpics/{{{1}}}.png" alt="{{{2|}}}"{{#if:{{{style|}}}|<nowiki>​ </nowiki>style="{{{style|}}}"}}>|
 +
}}|{{#invoke:String|replace|{{{1|}}}|http:|https:}}<nowiki>​</nowiki>
 +
}}<noinclude>
 +
{{Documentation}}
 +
<!-- Please add categories and interwiki links to /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 11:02, 10 February 2024

Template documentation[create]