Template:Note: Difference between revisions

From Mainlining Wiki
Jump to navigation Jump to search
Knuxify (talk | contribs)
Created page with "<!-- Dark-mode colors are defined in the template style --><templatestyles src="Note/style.css"/><!-- --><includeonly>{{Icon box | box-icons = 20px|link=|Note | box-text = {{{1}}} | border-color = #ac6600 | border-width = 1px | background = #f6efe5 | class = box-note }}</includeonly><!-- --><noinclude> <templatedata> { "params": { "1": { "label": "Text", "description": "Text to place in the box", "type": "unbalanced-wikitext",..."
 
Knuxify (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!-- Dark-mode colors are defined in the template style --><templatestyles src="Note/style.css"/><!--
<noinclude>
--><includeonly>{{Icon box
| box-icons = [[File:Reference icon.svg|20px|link=|Note]]
| box-text = {{{1}}}
| border-color = #ac6600
| border-width = 1px
| background = #f6efe5
| class = box-note
}}</includeonly><!--
 
--><noinclude>
<templatedata>
<templatedata>
{
{
Line 15: Line 5:
"1": {
"1": {
"label": "Text",
"label": "Text",
"description": "Text to place in the box",
"description": "Text to place in the note box.",
"type": "unbalanced-wikitext",
"type": "content",
"required": true
"required": true
}
}
},
},
"description": "Note box containing a note.",
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
== Usage ==
 
<pre><nowiki>{{note|This text is worth noting.}}
</nowiki></pre>
 
{{note|This text is worth noting.}}
</noinclude><includeonly>{{Icon box
| box-icons = [[File:Reference icon.svg|20px|link=|Note]]
| box-text = {{{1}}}
| border-color = #ac6600
| border-color-dark = #6a481c
| border-width = 1px
| background = #f6efe5
| background-dark = #261c09
| class = box-note
}}</includeonly>

Latest revision as of 19:21, 6 June 2026

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Text to place in the note box.

Contentrequired

Usage

{{note|This text is worth noting.}}
Note This text is worth noting.