Template:T: Difference between revisions

766 bytes added ,  1 year ago
Created page with "{| style="width:90%; padding:5px; text-align:center; font-size:100%; font-family:Trebuchet MS; background:{{{color|}}}; margin:auto;" |- | <big><span style="color:{{#if: {{{color|}}}|white|black}};">{{{1}}}</span></big><br> |}<noinclude> ==Details== If you use background labelled as "color" the text changes to white; or otherwise stays as default black <pre> {| style="width:90%; padding:5px; text-align:center; font-size:100%; font-family:Trebuchet MS; background:{{{colo..."
({{R from template shortcut}})
(Created page with "{| style="width:90%; padding:5px; text-align:center; font-size:100%; font-family:Trebuchet MS; background:{{{color|}}}; margin:auto;" |- | <big><span style="color:{{#if: {{{color|}}}|white|black}};">{{{1}}}</span></big><br> |}<noinclude> ==Details== If you use background labelled as "color" the text changes to white; or otherwise stays as default black <pre> {| style="width:90%; padding:5px; text-align:center; font-size:100%; font-family:Trebuchet MS; background:{{{colo...")
 
(One intermediate revision by one other user not shown)
Line 1:
{| style="width:90%; padding:5px; text-align:center; font-size:100%; font-family:Trebuchet MS; background:{{{color|}}}; margin:auto;"
#REDIRECT [[Template:tl]]
|-
| <big><span style="color:{{#if: {{{color|}}}|white|black}};">{{{1}}}</span></big><br>
|}<noinclude>
 
==Details==
{{Rcat shell|
If you use background labelled as "color" the text changes to white; or otherwise stays as default black
{{R from template shortcut}}
<pre>
}}
{| style="width:90%; padding:5px; text-align:center; font-size:100%; font-family:Trebuchet MS; background:{{{color|}}}; margin:auto;"
<!-- Used as Template:tl throughout English Wikipedia; demo template referenced only on meta ->
|-
| <big><span style="color:{{#if: {{{color|}}}|white|black}};">{{{1}}}</span></big><br>
}|}
</pre>
 
 
; Using example from ''Catwoman'' page
<pre>
{{t|color=black|text=white|Comics}} next line
</pre>
{{t|color=black|text=white|Comics}} next line
 
 
;Without "text"
<pre>
{{t|color=black|Comics}} next line
</pre>
{{t|color=black|Comics}} next line
 
 
;Without "color"
<pre>
{{t|Comics}} next line
</pre>
{{t|Comics}} next line
 
</noinclude>