Actions

Template

Difference between revisions of "WikiColour"

From NEC Retro

(Created page with "<includeonly>{{#switch:{{lc:{{{1|}}}}} |bg={{#switch:{{lc:{{{2|}}}}} |red=<nowiki>#</nowiki>F8C8BB; |orange=<nowiki>#</nowiki>F8E0BB; |yellow=<nowiki>#</nowiki>F8F8BB;...")
 
 
Line 27: Line 27:
 
{|class="prettytable"
 
{|class="prettytable"
 
!Code (background)
 
!Code (background)
!Effect
+
!Colour
 
!Code (foreground)
 
!Code (foreground)
!Effect
+
!Colour
 
|-
 
|-
 
|<pre>{{WikiColour|BG|red}}</pre>
 
|<pre>{{WikiColour|BG|red}}</pre>

Latest revision as of 14:07, 23 February 2022

Unlike Sega Retro, Mediawiki.css is off-limits so a workaround is needed.

Code (background) Colour Code (foreground) Colour
{{WikiColour|BG|red}}
Text
{{WikiColour|FG|red}}
Text
{{WikiColour|BG|orange}}
Text
{{WikiColour|FG|orange}}
Text
{{WikiColour|BG|yellow}}
Text
{{WikiColour|FG|yellow}}
Text
{{WikiColour|BG|yellowgreen}}
Text
{{WikiColour|FG|yellowgreen}}
Text
{{WikiColour|BG|green}}
Text
{{WikiColour|FG|green}}
Text
{{WikiColour|BG|cyan}}
Text
{{WikiColour|FG|cyan}}
Text
{{WikiColour|BG|blue}}
Text
{{WikiColour|FG|blue}}
Text
{{WikiColour|BG|purple}}
Text
{{WikiColour|FG|purple}}
Text
{{WikiColour|BG|magenta}}
Text
{{WikiColour|FG|magenta}}
Text
{{WikiColour|BG|redmagenta}}
Text
{{WikiColour|FG|redmagenta}}
Text