Jump to content

Template:Burma-shave/testcases

From Wikipedia, the free encyclopedia
default two lines
{{Burma-shave|line1|line2}}
line1
line2
Burma-shave
{{{3}}}
Expanded code
<div class="center" style="width:350px;margin-left:auto;margin-right:auto"><span style="background:#CC0000;color:white;padding:3px;font-size:140%;;">'''line1'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:115%;;">'''line2'''</span><br/><span style=";">[[:Template:Burma-shave-notice/doc|<span style="background:#CC0000;color:white;padding:3px;font-size:70%;">'''<u>Burma-shave</u>'''</span>]]</span></div>
{{{3}}}
multi-line with implicit layout
 {{Burma-shave|line1|line2|line3|line4|line5|line6}}
line1
line2
line3
line4
line5
line6
Burma-shave
{{{3}}}
Expanded code
<div class="center" style="width:350px;margin-left:auto;margin-right:auto"><span style="background:#CC0000;color:white;padding:3px;font-size:140%;;">'''line1'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:115%;;">'''line2'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:95%;;">'''line3'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:80%;;">'''line4'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:80%;;">'''line5'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:80%;;">'''line6'''</span><br/><span style=";">[[:Template:Burma-shave-notice/doc|<span style="background:#CC0000;color:white;padding:3px;font-size:70%;">'''<u>Burma-shave</u>'''</span>]]</span></div>
{{{3}}}
multi-line with explicit vertical layout
{{Burma-shave|line1|line2|line3|line4|line5|line6|layout=vertical}}
line1
line2
line3
line4
line5
line6
Burma-shave
{{{3}}}
Expanded code
<div class="center" style="width:350px;margin-left:auto;margin-right:auto"><span style="background:#CC0000;color:white;padding:3px;font-size:140%;;">'''line1'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:115%;;">'''line2'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:95%;;">'''line3'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:80%;;">'''line4'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:80%;;">'''line5'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:80%;;">'''line6'''</span><br/><span style=";">[[:Template:Burma-shave-notice/doc|<span style="background:#CC0000;color:white;padding:3px;font-size:70%;">'''<u>Burma-shave</u>'''</span>]]</span></div>
{{{3}}}
multi-line explicit horizontal layout
{{Burma-shave|line1|line2|line3|line4|line5|line6|layout=horizontal}}
line1line2line3line4line5line6Burma-shave
{{{3}}}
Expanded code
<span style="background:#CC0000;color:white;padding:3px;font-size:140%;margin-left:10px;">'''line1'''</span><span style="background:#CC0000;color:white;padding:3px;font-size:115%;margin-left:10px;">'''line2'''</span><span style="background:#CC0000;color:white;padding:3px;font-size:95%;margin-left:10px;">'''line3'''</span><span style="background:#CC0000;color:white;padding:3px;font-size:80%;margin-left:10px;">'''line4'''</span><span style="background:#CC0000;color:white;padding:3px;font-size:80%;margin-left:10px;">'''line5'''</span><span style="background:#CC0000;color:white;padding:3px;font-size:80%;margin-left:10px;">'''line6'''</span><span style="margin-left:10px;">[[:Template:Burma-shave-notice/doc|<span style="background:#CC0000;color:white;padding:3px;font-size:70%;">'''<u>Burma-shave</u>'''</span>]]</span>
{{{3}}}
in action
{{Burma-shave|when you post|to [[WP:ANI|AN/I]]|you [[Template:ANI-notice|have to tell]]|the other guy}}
when you post
to AN/I
you have to tell
the other guy
Burma-shave
{{{3}}}
Expanded code
<div class="center" style="width:350px;margin-left:auto;margin-right:auto"><span style="background:#CC0000;color:white;padding:3px;font-size:140%;;">'''when you post'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:115%;;">'''to [[WP:ANI|AN/I]]'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:95%;;">'''you [[Template:ANI-notice|have to tell]]'''</span><br/><span style="background:#CC0000;color:white;padding:3px;font-size:80%;;">'''the other guy'''</span><br/><span style=";">[[:Template:Burma-shave-notice/doc|<span style="background:#CC0000;color:white;padding:3px;font-size:70%;">'''<u>Burma-shave</u>'''</span>]]</span></div>
{{{3}}}