Template:CStyle
From CruisersWiki
(Difference between revisions)
Line 7: | Line 7: | ||
| else= [[wikipedia:file:{{{2}}}|{{{2|}}}]] | | else= [[wikipedia:file:{{{2}}}|{{{2|}}}]] | ||
}} | }} | ||
- | | | + | | <span class="chartlet-style">{<!-- |
+ | -->"icon":{ {{q|{{{2|}}}|"src":"{{if | ||
| test= {{filepath:{{{2}}}}} | | test= {{filepath:{{{2}}}}} | ||
| then= {{filepath:{{{2}}}|nowiki}} | | then= {{filepath:{{{2}}}|nowiki}} | ||
| else= <nowiki>https:</nowiki>//wikipedia.org/wiki/Special:Redirect/file/{{PAGENAMEE:{{{2}}}}}?width{{=}}{{{iconwidth|20}}}px | | else= <nowiki>https:</nowiki>//wikipedia.org/wiki/Special:Redirect/file/{{PAGENAMEE:{{{2}}}}}?width{{=}}{{{iconwidth|20}}}px | ||
- | }}" | + | }}"}}{{q|{{{icon|}}}|,{{{icon}}}}} },<!-- |
- | --> | + | -->"stroke":{ {{q|{{{color|}}}|"color"{{=}}"{{{color}}}",}}{{q|{{{width|}}}|"width"{{=}}"{{{width}}}"}} },<!-- |
- | --> | + | -->"fill":{ {{q|{{{fill|}}}|"color"{{=}}"{{{fill}}}"}} },<!-- |
- | --> | + | -->"text":{ {{q|{{{text|}}}|{{{text}}}}} },<!-- |
- | --> | + | -->"zindex":{ {{q|{{{zindex|}}}|"zindex"{{=}}"{{{zindex}}}"}} }<!-- |
+ | -->}</span> |
Revision as of 10:10, 29 December 2016
|- id="" | | | [[wikipedia:file:{{{2}}}|]] | {"icon":{ },"stroke":{ },"fill":{ },"text":{ },"zindex":{ }}