Difference between revisions of "Template:CSSV2"
Jump to navigation
Jump to search
Jianmingyong (talk | contribs) m |
Jianmingyong (talk | contribs) m |
||
| Line 1: | Line 1: | ||
<noinclude>{{WarningV2}}</noinclude><includeonly>{{#switch: {{{1|}}} | <noinclude>{{WarningV2}} | ||
<!-- | |||
This is a special template that simulate css class selector. | |||
It does not support @media selector or complex selector that doesn’t fit in style parameters. | |||
Anyway, with this template, we can now standardize your css which is easier to manage especially if you have so many templates and many inline css all over the place. | |||
How this works is that you define a class name with the corresponding css code without braces. | |||
In your template, use {{CSSV2|<Your class name>|<Params...>}} and it will expand the css for you. | |||
--> | |||
</noinclude><includeonly>{{#switch: {{{1|}}} | |||
| | | | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 19:27, 4 September 2019
|