Difference between revisions of "Template:Convert/sandbox2"

From blackwiki
Jump to navigation Jump to search
imported>Johnuniq
imported>Johnuniq
(works when no indent)
Line 1: Line 1:
 
<noinclude>See [[User:Johnuniq/sandbox2]] to test the following.
 
<noinclude>See [[User:Johnuniq/sandbox2]] to test the following.
 
</noinclude>
 
</noinclude>
== Uses TFAIMAGE; bad ==
+
__NOTOC__
 +
== Uses TFAIMAGE with :: indent; bad ==
 
{|
 
{|
 
|1 First line.
 
|1 First line.
Line 10: Line 11:
 
|}
 
|}
  
== Expands TFAIMAGE; bad ==
+
== Uses TFAIMAGE but removes the :: indent; good ==
 
{|
 
{|
 
|2 First line.
 
|2 First line.
 
::2 Second line.
 
::2 Second line.
::<div id="mp-tfa-img" style="float: left; margin: 0.5em 0.9em 0.4em 0em; ">[[File:Heckert GNU white.svg|120px|Sample popup text]]
+
{{TFAIMAGE|Heckert GNU white.svg|size=120px|Sample popup text}}
</div>
 
 
::2 Third line.
 
::2 Third line.
 
:::2 Fourth line.
 
:::2 Fourth line.
 
|}
 
|}
  
== Corrects expansion by moving end div; good ==
+
== Expands TFAIMAGE with :: indent; bad ==
 
{|
 
{|
 
|3 First line.
 
|3 First line.
 
::3 Second line.
 
::3 Second line.
::<div id="mp-tfa-img" style="float: left; margin: 0.5em 0.9em 0.4em 0em; ">[[File:Heckert GNU white.svg|120px|Sample popup text]]</div>
+
::<div id="mp-tfa-img" style="float: left; margin: 0.5em 0.9em 0.4em 0em; ">[[File:Heckert GNU white.svg|120px|Sample popup text]]
 +
</div>
 
::3 Third line.
 
::3 Third line.
 
:::3 Fourth line.
 
:::3 Fourth line.
 +
|}
 +
 +
== Corrects expansion by moving end div; good ==
 +
{|
 +
|4 First line.
 +
::4 Second line.
 +
::<div id="mp-tfa-img" style="float: left; margin: 0.5em 0.9em 0.4em 0em; ">[[File:Heckert GNU white.svg|120px|Sample popup text]]</div>
 +
::4 Third line.
 +
:::4 Fourth line.
 
|}
 
|}

Revision as of 10:01, 22 July 2017

See User:Johnuniq/sandbox2 to test the following.


Uses TFAIMAGE with :: indent; bad

1 First line.
1 Second line.
Template:TFAIMAGE
1 Third line.
1 Fourth line.

Uses TFAIMAGE but removes the :: indent; good

2 First line.
2 Second line.

Template:TFAIMAGE

2 Third line.
2 Fourth line.

Expands TFAIMAGE with :: indent; bad

3 First line.
3 Second line.
Sample popup text
3 Third line.
3 Fourth line.

Corrects expansion by moving end div; good

4 First line.
4 Second line.
Sample popup text
4 Third line.
4 Fourth line.