Template:Note: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(←Created page with "{{Metabox |type=info |image = Balloon notebook.png |headline ={{#if:{{{title<includeonly>|</includeonly>}}}|{{{title}}}|Information}} |text = {{{1}}} |width = {...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|type=info |
|type=info |
||
|image = Balloon notebook.png |
|image = Balloon notebook.png |
||
|headline ={{#if:{{{title<includeonly>|</includeonly>}}}|{{{title}}}| |
|headline ={{#if:{{{title<includeonly>|</includeonly>}}}|{{{title}}}|Note}} |
||
|text = {{{1}}} |
|text = {{{1}}} |
||
|width = {{{width|}}} |
|width = {{{width|}}} |
||
|size = {{{size}}} |
|size = {{{size}}} |
||
|imagesize = 48 |
|||
|nocat = yes |
|nocat = yes |
||
}}<noinclude> |
}}<noinclude> |
Latest revision as of 15:05, 12 April 2019
{{{title}}}
{{{1}}}
Description[edit source]
This template adds a small "Note" message template.
Usage[edit source]
Type {{Note|<text you want to display>}}
to use this template.
There are three optional parameters:
title
- changes the title to whatever is specified. If left blank or not specified, it will default to "Note".width
- specify the width of the template, in percentage. Leave blank to use the default values.size
- if set to small, a smaller, left-aligned version of the template will be used. Leave blank to use the default.
TemplateData[edit source]
This is the TemplateData documentation for this template used by the VisualEditor and other tools.
TemplateData for Note
This template adds a small "Note" message template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Message | 1 | Specify the message that you want to be shown. | String | required |
Title | title | You can change the title of the message box. Leave blank to use the default title.
| String | optional |
Width | width | Change the width of the template, in percentages. Optional. | Number | optional |
Size | size | Set to "small" to use a smaller, left-aligned version of the template. Optional. | String | optional |
Visit Template:Note/doc to edit this text! (How does this work?) (Refresh this text - why?)