Chat/ColorSample: Difference between revisions

From wiki.vg
Jump to navigation Jump to search
imported>Pokechu22
(Create template that will be used in the article)
imported>LassiPulkkinen
(LassiPulkkinen moved page Chat/ColorSample to Template:Text formatting/ColorSample: Splitting Text formatting from Chat.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>| style="background-color: #{{{1}}}; border-right: 3px solid #{{{2}}}; border-bottom: 3px solid #{{{2}}}" |</includeonly>
#REDIRECT [[Template:Text formatting/ColorSample]]
<noinclude>This template is used to style the sample box in the table of colors.  It takes two params: the main and background color.
 
Usage:
 
<pre>
{|class="wikitable"
! Sample
! ...
|-
{{:Chat/ColorSample|00aa00|002a00}}
| ...
|}</pre>
 
{|class="wikitable"
! Sample
! ...
|-
{{:Chat/ColorSample|00aa00|002a00}}
| ...
|}</noinclude>

Latest revision as of 17:30, 10 January 2024