Template:CStyle
From CruisersWiki
(Difference between revisions)
Line 9: | Line 9: | ||
| <span class="icon">{{q|{{{2|}}}|"src"{{=}}"{{if | | <span class="icon">{{q|{{{2|}}}|"src"{{=}}"{{if | ||
| test= {{filepath:{{{2}}}}} | | test= {{filepath:{{{2}}}}} | ||
- | | then= {{filepath:{{{2}}}}} | + | | then= {{filepath:{{{2}}}|nowiki}} |
| else= <nowiki>https:</nowiki>//wikipedia.org/wiki/Special:Redirect/file/{{urlencode:{{{2}}}}}{{q|{{{width|}}}|?width{{=}}{{{iconwidth}}}}} | | else= <nowiki>https:</nowiki>//wikipedia.org/wiki/Special:Redirect/file/{{urlencode:{{{2}}}}}{{q|{{{width|}}}|?width{{=}}{{{iconwidth}}}}} | ||
}}",}}{{q|{{{width|}}}|"width"{{=}}"{{{iconwidth}}}",}}{{q|{{{icon|}}}|{{{icon}}}}}</span> | }}",}}{{q|{{{width|}}}|"width"{{=}}"{{{iconwidth}}}",}}{{q|{{{icon|}}}|{{{icon}}}}}</span> |
Revision as of 09:29, 29 December 2016
|- id="" | | | [[wikipedia:file:{{{2}}}|]] |