Template:CStyle
From CruisersWiki
(Difference between revisions)
Line 1: | Line 1: | ||
|- | |- | ||
- | | {{image|{{{2|}}}|{{{ | + | | {{image|{{{2|}}}|{{{width|20px}}}}} |
| {{{1|}}} | | {{{1|}}} | ||
| {{if | | {{if | ||
Line 12: | Line 12: | ||
| 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{{=}}{{{ | + | | else= <nowiki>https:</nowiki>//wikipedia.org/wiki/Special:Redirect/file/{{PAGENAMEE:{{{2}}}}}?width{{=}}{{{width|20}}}px |
}}"}}{{q|{{{icon|}}}|,{{{icon}}}}} }<!-- | }}"}}{{q|{{{icon|}}}|,{{{icon}}}}} }<!-- | ||
- | -->{{q|{{{ | + | -->{{q|{{{outline|}}}|,"Stroke":{ "color":{{{outline}}}{{q|{{{width|}}}|,"width":{{{outlinew|2}}}}} } }}<!-- |
- | -->{{q|{{{ | + | -->{{q|{{{color|}}}|,"Fill":{ "color":{{{fill}}}} }}<!-- |
-->{{q|{{{text|}}}|,"Text":{ {{{text}}} } }}<!-- | -->{{q|{{{text|}}}|,"Text":{ {{{text}}} } }}<!-- | ||
+ | -->{{q|{{{txoutl|}}}|,"TextStroke":{ "color":{{{txoutl}}}{{q|{{{txoutlw|}}}|,"width":{{{txoutlw}}}}} } }}<!-- | ||
+ | -->{{q|{{{txcolor|}}}|,"TextFill":{ "color":{{{txcolor}}}} }}<!-- | ||
-->{{q|{{{zindex|}}}|,"zindex":{{{zindex}}} }}<!-- | -->{{q|{{{zindex|}}}|,"zindex":{{{zindex}}} }}<!-- | ||
-->}</span><noinclude> | -->}</span><noinclude> | ||
</noinclude> | </noinclude> |
Revision as of 11:52, 29 December 2016
|- | | | [[wikipedia:file:{{{2}}}|]] | {"Icon":{ }}