Template:Box Note: Difference between revisions

(Created page with "<templatestyles src="Template:Box_Note/styles.css" />")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<templatestyles src="Template:Box_Note/styles.css" />
<templatestyles src="Template:BoxNote/styles.css" />
<includeonly><span class="boxlabel">
<div class="infobox notification-{{{boxtype}}}"
{{#if:{{{bgcolor|}}}|style="background:{{{bgcolor}}}"|}}>
<span class="boxlabel">
| note = Note:
| tip = Tip:
| warning = Warning:
| example = Example:
| important = Important!
| backgroundbox =
| #default = Note:
}}
</span>{{{Note text}}}
</div></includeonly>
<noinclude>
<templatedata>
{
"params": {
"boxtype": {
"description": "Possible values: note, tip, warning",
"example": "note",
"type": "string",
"default": "note",
"required": true
},
"Note text": {}
},
"description": "To add standard infoboxes such as notes or related links to a page"
}
</templatedata>
</noinclude>

Revision as of 08:48, 16 June 2020

Page Template:BoxNote/styles.css has no content.


To add standard infoboxes such as notes or related links to a page

Template parameters

ParameterDescriptionTypeStatus
boxtypeboxtype

Possible values: note, tip, warning

Default
note
Example
note
Stringrequired
Note textNote text

no description

Unknownoptional