Difference between revisions of "Text formatting/ColorSample"

From wiki.vg
Jump to navigation Jump to search
m (LassiPulkkinen moved page Template:Text formatting/ColorSample to Text formatting/ColorSample: I appear to have discovered why this wasn't marked as a template page.)
m
 
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 ...
...