Jump to content

Template:RedHorizontalBar

From ModEnc²
Revision as of 09:21, 2 April 2025 by MarkJFox (talk | contribs) (Created page with "<div style="border: 3px solid #ff0000; padding: 0.1em 0.3em 0.2em 0.3em; min-height: {{{height|60px}}}; overflow: hidden;"><div style="text-align: center; font-size: large;">{{{1}}}</div>Image:Cc alert.png {{{2}}} </div>{{clr}}<noinclude> ==Usage== <pre>{{RedHorizontalBar|HEADLINE|TEXT}}</pre> Copy-paste the code above and replace <code>HEADLINE</code> with the headling of your bar and <code>TEXT</code> with what the bar should say. Use this template to create new he...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{1}}}
{{{2}}}


Usage

{{RedHorizontalBar|HEADLINE|TEXT}}

Copy-paste the code above and replace HEADLINE with the headling of your bar and TEXT with what the bar should say. Use this template to create new headlined horizontal bar templates.

Optional Parameters

  • image - name of an image to put next to the text.
  • align - on which side of the text the image resides. Defaults to left.
  • width - width of the image. Defaults to 40px.
  • height - minimum height of the div. Defaults to 60px.