Template:SmallBox

From bradwiki
Revision as of 00:28, 21 January 2018 by Bradley Monk (talk | contribs)
Jump to navigation Jump to search
{{{1}}}








This is a small box using default parameters


    {{SmallBox|This is a small box using default parameters}}


Default Parameters:

    {{SmallBox|display=block 
    |float=none 
    |clear=both 
    |width=50% 
    |margin=5px auto 
    |padding=5px auto 
    |bg-color=#FFF 
    |font=Arial 
    |font-size=18px 
    |text-align=center 
    |border-style=groove 
    |border-width=2px 
    |border-color=#8c9091 
    |border-radius=6px
    |This is a small box showing all parameters
    }}






NOTE THIS TITLE HAS ITS OWN DIV CONTAINER
This paragraph text is inside its own div container, with just two properties:
  • txt-align
  • txt-size

This is sufficient to make small message boxes with a title header.