ElEditors, Interface administrators, Administrators
70,857
edits
(Created page with "== Usage == <nowiki>{{color|textcolor|bgcolor|text|link=1/link|size=number|b=1|i=1}}</nowiki> == Parameters == (colors accept any [https://developer.mozilla.org/en-US/docs/We...") |
m (Ritsu moved page Doc:Template:Color to Template:Color/doc over redirect) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
*<nowiki>{{color|textcolor|bgcolor|</nowiki>'''text'''<nowiki>}}</nowiki> - content (second or third parameter, depending on whether '''bgcolor''' was provided) | *<nowiki>{{color|textcolor|bgcolor|</nowiki>'''text'''<nowiki>}}</nowiki> - content (second or third parameter, depending on whether '''bgcolor''' was provided) | ||
*'''size''' - size of the font in pixels | *'''size''' - size of the font in pixels | ||
*'''link''' - if '''1''' provided, creates a local link from the '''content''' provided. Any other parameter creates a local link from the '''link''' parameter itself | *'''link''' - if '''1''' provided, creates a local link from the '''content''' provided. Any other parameter creates a local link from the '''link''' parameter itself (using normal markup still works) | ||
*'''b''' - if '''1''', apply bold style | *'''b''' - if '''1''', apply bold style (using normal markup still works) | ||
*'''i''' - if '''1''', apply italic style | *'''i''' - if '''1''', apply italic style (using normal markup still works) | ||
*'''class''' - extra class name for the <nowiki><span></nowiki> element | |||
== Examples == | == Examples == |