Template:CStyle
From CruisersWiki
(Difference between revisions)
Line 9: | Line 9: | ||
| <span class="chartlet-style" id="{{strip|{{{1|}}}}}"><!-- | | <span class="chartlet-style" id="{{strip|{{{1|}}}}}"><!-- | ||
-->{<!-- | -->{<!-- | ||
- | -->{{q|{{{2|}}}{{{icon|}}}| | + | -->"{{q|{{{2|}}}{{{icon|}}}|icon|x}}":{ {{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{{=}}{{{width|20}}}px | | else= <nowiki>https:</nowiki>//wikipedia.org/wiki/Special:Redirect/file/{{PAGENAMEE:{{{2}}}}}?width{{=}}{{{width|20}}}px | ||
- | }}"}}{{q|{{{icon|}}}|,{{{icon | + | }}"}}{{q|{{{icon|}}}|,{{{icon}}}}} }<!-- |
-->{{q|{{{outline|}}}|,"stroke":{ "color":{{{outline}}}{{q|{{{outlinew|}}}|,"width":{{{outlinew|2}}}}} } }}<!-- | -->{{q|{{{outline|}}}|,"stroke":{ "color":{{{outline}}}{{q|{{{outlinew|}}}|,"width":{{{outlinew|2}}}}} } }}<!-- | ||
-->{{q|{{{fill|}}}|,"fill":{ "color":{{{fill}}}} }}<!-- | -->{{q|{{{fill|}}}|,"fill":{ "color":{{{fill}}}} }}<!-- |
Revision as of 10:09, 17 January 2017
Helper for CruisersWiki:Chartlet.config