Template:Note: Difference between revisions
From CTLTMS
(Remove PD and Internationalization) |
m (Minor formatting change) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">|}}[[ | <includeonly>{{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">|}}[[Image:Bulbgraph.png|18px|Note|link=]] '''Note:''' {{#if: {{{1|}}}|{{{1}}}</span></div>}}</includeonly><noinclude> | ||
<templatedata> | |||
{ | |||
"description": "The following displays the noteicon and the word 'Note:'. You can follow this with whatever text/images/markup you like. {{note}} Try this!. Alternatively, you can pass the warning text as the parameter, for example {{Note|Try this!}}.", | |||
"params": { | |||
"1": { | |||
The following displays the | "label": "Text to be included", | ||
"description": "Note text to be displayed in-line and indented.", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"1" | |||
] | |||
} | |||
</templatedata> | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:27, 28 August 2024
The following displays the noteicon and the word 'Note:'. You can follow this with whatever text/images/markup you like. {{note}} Try this!. Alternatively, you can pass the warning text as the parameter, for example {{Note|Try this!}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text to be included | 1 | Note text to be displayed in-line and indented. | String | optional |