Difference between revisions of "Template:Burma-shave"

From blackwiki
Jump to navigation Jump to search
imported>Levivich
(even wider box, for even bigger lines)
imported>Levivich
(Undid revision 983252204 by Levivich (talk) too wide for mobile)
 
Line 1: Line 1:
{{#ifeq:{{{layout|vertical}}}|vertical|<div class="center" style="width:400px;margin-left:auto;margin-right:auto">}}
+
{{#ifeq:{{{layout|vertical}}}|vertical|<div class="center" style="width:350px;margin-left:auto;margin-right:auto">}}
  
 
<span style="background:#CC0000;color:white;padding:3px;font-size:150%;{{#ifeq:{{{layout|vertical}}}|horizontal|margin-left:10px}};">'''{{uc:{{{1}}}}}'''</span>{{#ifeq:{{{layout|vertical}}}|vertical|<br/>| }}<!--
 
<span style="background:#CC0000;color:white;padding:3px;font-size:150%;{{#ifeq:{{{layout|vertical}}}|horizontal|margin-left:10px}};">'''{{uc:{{{1}}}}}'''</span>{{#ifeq:{{{layout|vertical}}}|vertical|<br/>| }}<!--

Latest revision as of 04:57, 13 October 2020

{{{1}}}
{{{2}}}
Burma-Shave
Template documentation[view] [edit] [history] [purge]

Usage

{{Burma-shave
| 1=
| 2=
| 3=
| 4=
| 5=
| 6=
| layout=
}}

Parameters

  • 1 - First line of the message.
  • 2 - Second line of the message.
  • 3 - Third line of the message.
  • 4 - Fourth line of the message.
  • 5 - Fifth line of the message.
  • 6 - Sixth line of the message.
  • layout - The layout to use, default is "vertical". Choices are "horizontal" and "vertical".

Note that parameters 1-6 also work as ordered params, so for example, {{Burma-shave|first line|second line}} is equivalent to {{Burma-shave|1=first line|2=second line}}.

Notable real-life usage examples

  • [1]
  • See What links here at [2]

See also

  • Template:T - preloaded templates for common situations