Template:Box-round: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div>  
<div style="clear: both;"></div>  
<div style="border: 1px solid {{{border|#99c}}};<!--
<div style="border: 1px solid {{{border|#99c}}};<!--
         -->background: {{{titlebackground|#ccf}}};<!--
         -->background: {{{titlebackground|#ccf}}};<!--
Line 11: Line 11:
         -->{{border-radius|1.5em 1.5em 0 0}}<!--
         -->{{border-radius|1.5em 1.5em 0 0}}<!--
         -->{{{titlestyle|}}};"><!--
         -->{{{titlestyle|}}};"><!--
   --><span class="plainlinks" <!-- EDIT LINK PARAMETERS
   --><span style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em; line-height:inherit;"><font color="{{{titleforeground|#000000}}}">{{{title}}}</font></span></div>
        -->style="float:right;<!--
              -->margin-bottom:.1em;<!--
              -->font-size: 80%;<!--
              -->padding-right: 0.5em;"><!--
        --><font color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</font>&nbsp;<!--
  --></span ><!--
  --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em; line-height:inherit;"><font color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2></div>
<div style="display: block; border: 1px solid {{{border|#99c}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; {{border-radius|0 0 1.5em 1.5em}} {{{style|}}};">{{{1|{{{text|{{{content}}}}}}}}}</div>
<div style="display: block; border: 1px solid {{{border|#99c}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; {{border-radius|0 0 1.5em 1.5em}} {{{style|}}};">{{{1|{{{text|{{{content}}}}}}}}}</div>
<noinclude>{{doc}}</noinclude>
<noinclude>{{doc}}</noinclude>

Latest revision as of 02:27, 1 March 2017

{{{title}}}
{{{content}}}
Template documentation[view] [edit] [history] [purge]

Usage

{{Box-round|title=Title|Text goes here}}
Title
Text goes here

Parameters

content
Text content of box
border
Border color
Default: #99c
titlebackground
Title background color
Default: #ccf
titleforeground
Title foreground color
Default: #000
titlestyle
Additions to title style
title
Title text
background
Background color
Default: #fff
foreground
Foreground color
Default: #000
style
Additions to box style
editpage
Edit page
Default: {{FULLPAGENAME}}