Difference between revisions of "Template:Mbox"

From Bitcoin Wiki
Jump to: navigation, search
(Created page with "{{ {{namespace detect | demospace = {{{demospace|}}} | main = ambox | talk = tmbox | file = imbox | category = cmbox | other = ombox }} | ...")
 
(Creating an actual, usable mbox)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{
+
<div style="background:#{{{bgcol|dddddd}}};border:solid #{{{bordercol|888888}}} 2px;width:70%;margin:auto;text-align:center;">
  {{namespace detect
+
<b>{{{title|This is the raw template for message boxes.}}}</b>
  | demospace = {{{demospace|}}}
+
<br/>
  | main      = ambox
+
{{{content|Use <nowiki>{{Mbox|title=Title here|content=Text here}}</nowiki> to use this template. The arguments <i>bgcol</i> and <i>bordercol</i> are also defined and accept hex color codes.}}}
  | talk      = tmbox
+
</div>
  | file      = imbox
 
  | category  = cmbox
 
  | other    = ombox
 
  }}
 
| type      = {{{type|}}}
 
| image      = {{{image|}}}
 
| imageright = {{{imageright|}}}
 
| class      = {{{class|}}}
 
| style     = {{{style|}}}
 
| textstyle  = {{{textstyle|}}}
 
| text       = {{{text}}}
 
| small      = {{{small|}}}
 
| smallimage = {{{smallimage|}}}
 
| smallimageright = {{{smallimageright|}}}
 
| smalltext  = {{{smalltext|}}}
 
| subst      = {{{subst|}}}
 
| date      = {{{date|}}}
 
| name      = {{{name|}}}
 
}}<noinclude>
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 17:56, 5 April 2014

This is the raw template for message boxes.
Use {{Mbox|title=Title here|content=Text here}} to use this template. The arguments bgcol and bordercol are also defined and accept hex color codes.