Difference between revisions of "Template:Co/doc"
From EVE University Wiki
(Created page with "<noinclude>{{main|Template:Co}}</noinclude> ==Usage== {{code|<nowiki>{{co|<text color>|<background color>|<text>}}</nowiki>}} ==Examples== {{code|<nowiki>{{co|red||This text ...") |
m |
||
Line 14: | Line 14: | ||
Note the double brackets <code>||</code> which means that that section is empty. The background color parameter may be safely omitted without the use of double brackets, but double brackets must be used if only a background color is desired. | Note the double brackets <code>||</code> which means that that section is empty. The background color parameter may be safely omitted without the use of double brackets, but double brackets must be used if only a background color is desired. | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Formatting templates]]</includeonly> |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 21:16, 18 March 2021
- Main article: Template:Co
Usage
{{co|<text color>|<background color>|<text>}} |
Examples
{{co|red||This text isn't yellow.}} |
This text isn't yellow.
{{co||green|This text has a green background.}} |
This text has a green background.
{{co|#0033CC||This text uses an HTML color code.}} |
This text uses an HTML color code.
Note the double brackets ||
which means that that section is empty. The background color parameter may be safely omitted without the use of double brackets, but double brackets must be used if only a background color is desired.