Difference between revisions of "Text formatting/ColorSample"

From wiki.vg
Jump to navigation Jump to search
m (LassiPulkkinen moved page Chat/ColorSample to Template:Text formatting/ColorSample: Splitting Text formatting from Chat.)
m
Line 9: Line 9:
 
  ! ...
 
  ! ...
 
  |-
 
  |-
{{:Chat/ColorSample|00aa00|002a00}}
+
{{Text formatting/ColorSample|00aa00|002a00}}
 
  | ...
 
  | ...
 
|}</pre>
 
|}</pre>
Line 17: Line 17:
 
  ! ...
 
  ! ...
 
  |-
 
  |-
{{:Chat/ColorSample|00aa00|002a00}}
+
{{Text formatting/ColorSample|00aa00|002a00}}
 
  | ...
 
  | ...
 
|}</noinclude>
 
|}</noinclude>

Revision as of 17:34, 10 January 2024

This template is used to style the sample box in the table of colors. It takes two params: the main and background color.

Usage:

{|class="wikitable"
 ! Sample
 ! ...
 |-
{{Text formatting/ColorSample|00aa00|002a00}}
 | ...
|}
Sample ...
...