Template:CStyle

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
   | else= [[wikipedia:file:{{{2}}}|{{{2|}}}]]
   | else= [[wikipedia:file:{{{2}}}|{{{2|}}}]]
   }}
   }}
-
| {<span class="icon">{{q|{{{2|}}}|"src"{{=}}"{{if
+
| <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}}}}}</span><!--
+
   }}"}}{{q|{{{icon|}}}|,{{{icon}}}}} },<!--
-
--><span class="stroke">{{q|{{{color|}}}|"color"{{=}}"{{{color}}}",}}{{q|{{{width|}}}|"width"{{=}}"{{{width}}}"}}</span><!--
+
-->"stroke":{ {{q|{{{color|}}}|"color"{{=}}"{{{color}}}",}}{{q|{{{width|}}}|"width"{{=}}"{{{width}}}"}} },<!--
-
--><span class="fill">{{q|{{{fill|}}}|"color"{{=}}"{{{fill}}}"}}</span><!--
+
-->"fill":{ {{q|{{{fill|}}}|"color"{{=}}"{{{fill}}}"}} },<!--
-
--><span class="text">{{q|{{{text|}}}|{{{text}}}}}</span><!--
+
-->"text":{ {{q|{{{text|}}}|{{{text}}}}} },<!--
-
--><span class="zindex">{{q|{{{zindex|}}}|"zindex"{{=}}"{{{zindex}}}"}}</span>}
+
-->"zindex":{ {{q|{{{zindex|}}}|"zindex"{{=}}"{{{zindex}}}"}} }<!--
 +
-->}</span>

Revision as of 10:10, 29 December 2016

|- id="" | | | [[wikipedia:file:{{{2}}}|]] | {"icon":{ },"stroke":{ },"fill":{ },"text":{ },"zindex":{ }}

Personal tools
advertisement
Friends of Cruisers Wiki