Difference between revisions of "Template:Co"

From EVE University Wiki
Jump to: navigation, search
Line 9: Line 9:
 
<nowiki>{{co|#0033CC||This text uses an HTML color code.}}</nowiki> {{co|#0033CC||This text uses an HTML color code.}}
 
<nowiki>{{co|#0033CC||This text uses an HTML color code.}}</nowiki> {{co|#0033CC||This text uses an HTML color code.}}
  
 +
Note the double brackets || which means that that section is empty. Do not miss brackets, all three are needed.
 
</noinclude>
 
</noinclude>

Revision as of 19:09, 6 December 2012

Usage

{{co|<text color>|<background color>|<text>}}

Example

{{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. Do not miss brackets, all three are needed.