Template:T: Difference between revisions

From TestWiki
Content added Content deleted
m (1 revision imported)
(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...")
 
Line 1: 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>

Latest revision as of 16:53, 8 July 2022

{{{1}}}

Details[edit]

If you use background labelled as "color" the text changes to white; or otherwise stays as default black

{| 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>
|}


Using example from Catwoman page
{{t|color=black|text=white|Comics}} next line
Comics

next line


Without "text"
{{t|color=black|Comics}} next line
Comics

next line


Without "color"
{{t|Comics}} next line
Comics

next line