Difference between revisions of "Template:CSSV2"

From Pokémon 3D Wiki
Jump to navigation Jump to search
(Created page with "<noinclude>{{WarningV2}}</noinclude><includeonly></includeonly>")
 
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{WarningV2}}</noinclude><includeonly></includeonly>
<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 the css which is easier to manage especially if there are 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.
 
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|}}}
|
}}</includeonly>

Latest revision as of 19:31, 4 September 2019

This template is locked and not editable by normal users.

Reason: This is protected to prevent unwanted wiki page from malfunctioning. This template could be linked to some major pages which are important.

Does this page need updating? Shoot a message in #wiki_contribution on Discord at Pokemon 3D discord server.