Difference between revisions of "Text formatting/ColorSample"

From wiki.vg
Jump to navigation Jump to search
(Create template that will be used in the article)
 
m
 
(3 intermediate revisions by the same user not shown)
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>

Latest revision as of 17:37, 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 ...
...