ಟೆಂಪ್ಲೇಟು:Color box: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ
Content deleted Content added
Nominated for merging with Template:Colorbox; see Wikipedia:Templates for discussion/Log/2015 May 23#Template:Color box. (TW) |
rm newline |
||
೧ ನೇ ಸಾಲು: | ೧ ನೇ ಸಾಲು: | ||
{{Tfm/dated|page=Color box|otherpage=Colorbox|link=Wikipedia:Templates for discussion/Log/2015 May 23#Template:Color box|type=tiny|help=off}} |
{{Tfm/dated|page=Color box|otherpage=Colorbox|link=Wikipedia:Templates for discussion/Log/2015 May 23#Template:Color box|type=tiny|help=off}}<span style="background-color:{{{1|}}}; color:{{{3|}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}| {{{2}}} | }}</span><noinclude> |
||
<span style="background-color:{{{1|}}}; color:{{{3|}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}| {{{2}}} | }}</span><noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
೧೯:೧೯, ೨೩ ಮೇ ೨೦೧೫ ನಂತೆ ಪರಿಷ್ಕರಣೆ
Usage
{{color box|color|text|text color}}
- Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See web colors for details.
- If specified, the
text
is centered within the box. - If no color is specified for the text, it is displayed using the default style foreground color as prescribed by CSS. For most users this is black.
Visual effect | Markup |
---|---|
‹See Tfd› | {{color box|Green}}
|
‹See Tfd› Default color for this text | {{color box|Yellow|Default color for this text}}
|
‹See Tfd› White text in a blue box | {{color box|Blue|White text in a blue box|White}}
|
‹See Tfd› Using X11 color names | {{color box|SteelBlue|'''Using X11 color names'''|Cornsilk}}
|
‹See Tfd› Using RGB hex triplets | {{color box|#012345|''Using RGB hex triplet''|#FEDCBA}}
|