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|}}}}}"><!-- | ||
-->{<!-- | -->{<!-- | ||
- | -->" | + | -->"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{{=}}{{{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|}}}|," | + | -->{{q|{{{outline|}}}|,"stroke":{ "color":{{{outline}}}{{q|{{{width|}}}|,"width":{{{outlinew|2}}}}} } }}<!-- |
- | -->{{q|{{{fill|}}}|," | + | -->{{q|{{{fill|}}}|,"fill":{ "color":{{{fill}}}} }}<!-- |
- | -->{{q|{{{text|}}}|," | + | -->{{q|{{{text|}}}|,"text":{ {{{text}}}<!-- |
-->{{q|{{{textoutl|}}}|,"stroke":{ "color":{{{textoutl}}}{{q|{{{txoutlw|}}}|,"width":{{{textoutlw}}}}} } }}<!-- | -->{{q|{{{textoutl|}}}|,"stroke":{ "color":{{{textoutl}}}{{q|{{{txoutlw|}}}|,"width":{{{textoutlw}}}}} } }}<!-- | ||
-->{{q|{{{textfill|}}}|,"fill":{ "color":{{{textfill}}}} }}<!-- | -->{{q|{{{textfill|}}}|,"fill":{ "color":{{{textfill}}}} }}<!-- | ||
--> } }}<!-- | --> } }}<!-- | ||
- | -->{{q|{{{zindex|}}}|," | + | -->{{q|{{{zindex|}}}|,"zIndex":{{{zindex}}} }}<!-- |
-->}</span><noinclude> | -->}</span><noinclude> | ||
</noinclude> | </noinclude> |
Revision as of 13:10, 29 December 2016
|-
|
|
| [[wikipedia:file:{{{2}}}|]]
| {"icon":{ }}