Text formatting/ColorSample: Difference between revisions

From wiki.vg
Jump to navigation Jump to search
imported>LassiPulkkinen
mNo edit summary
imported>LassiPulkkinen
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  ! ...
  ! ...
  |-
  |-
{{Text formatting/ColorSample|00aa00|002a00}}
{{:Text formatting/ColorSample|00aa00|002a00}}
  | ...
  | ...
|}</pre>
|}</pre>
Line 17: Line 17:
  ! ...
  ! ...
  |-
  |-
{{Text formatting/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 ...
...