Difference between revisions of "Template:CSSV2"
Jump to navigation
Jump to search
Jianmingyong (talk | contribs) m |
Jianmingyong (talk | contribs) m |
||
| Line 8: | Line 8: | ||
How this works is that you define a class name with the corresponding css code without braces. | 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. | In your template, use {{CSSV2|<Your class name>|<Params...>}} and it will expand the css for you. | ||
DO NOT USE <div class=“”> as this is not an actual stylesheet. In fact I can’t include stylesheet so you have to use an ugly workaround. | |||
--> | --> | ||
</noinclude><includeonly>{{#switch: {{{1|}}} | </noinclude><includeonly>{{#switch: {{{1|}}} | ||
| | | | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 19:29, 4 September 2019
|