Template:Colorbox: Difference between revisions
From Hattrick
Jump to navigationJump to search
Brishcanae (talk | contribs) Created page with '<span style="background-color:{{{1|white}}}; border:1px solid darkgray;"> {{#if:{{{2|}}}|{{#if:{{{3|}}}|[[{{{3}}}|{{{2}}}]]|{{{2}}}}}| }} </span><noinclude> …' |
No edit summary |
||
| Line 1: | Line 1: | ||
< | {{#ifeq: {{{2|}}}|noquote||<blockquote>}}<code style="font-size:initial; color:{{{2|#277f31}}}; border:1px outset lightgray;">{{{1| }}}</code></blockquote><noinclude> | ||
{{ | [[Category:Color templates]] | ||
{| width=100% bgcolor= #ecfcf4 border=0 | |||
| '''Line for Formulas''' | |||
<br> | |||
Help: | |||
* Remember to use <nowiki>{{=}}</nowiki> instead of simple = (equal) as in this example: | |||
:'''<nowiki>{{colorbox|2 + 2 {{=}} 5}}</nowiki> ''' | |||
:result {{colorbox|2 + 2 {{=}} 5}}<br> | |||
* To avoid the "start from a new indented line" effect (or blockquote) use: | |||
:'''<nowiki>{{colorbox|2 + 2 {{=}} 5|noquote}}</nowiki> ''' | |||
:result {{colorbox|2 + 2 {{=}} 5|noquote}}<br><br> | |||
* For different text color use: | |||
:'''<nowiki>{{colorbox|2 + 2 {{=}} 5|orange}}</nowiki>''' | |||
:result {{colorbox|2 + 2 {{=}} 5|orange}} | |||
|} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 22:57, 13 June 2020
| Line for Formulas
|