Difference between revisions of "Template: NoteFormat"
From Genesys Documentation
Line 1: | Line 1: | ||
<onlyinclude>{{#switch: {{{2|}}}| 2 = {{NoteStyle|{{{1}}}|Tip|[[middle|link=]]}}|3 = {{NoteStyle|{{{1}}}|Warning|}}|#default = {{NoteStyle|{{{1}}}|Important|[[middle|link=]]}}}}</onlyinclude> | <onlyinclude>{{#switch: {{{2|}}}| 2 = {{NoteStyle|{{{1}}}|Tip|[[middle|link=]]}}|3 = {{NoteStyle|{{{1}}}|Warning|}}|#default = {{NoteStyle|{{{1}}}|Important|[[middle|link=]]}}}}</onlyinclude> | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "Enter your note text", | ||
+ | "type": "content", | ||
+ | "required": true | ||
+ | }, | ||
+ | "2": { | ||
+ | "label": "Select the note type", | ||
+ | "description": "1 = Important, 2 = Tip, 3 = Warning", | ||
+ | "type": "string", | ||
+ | "default": "1", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "description": "Add a note to your page and select the format: Important, Tip, and Warning, Tip." | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Revision as of 22:27, November 2, 2019
Important
{{{1}}}Add a note to your page and select the format: Important, Tip, and Warning, Tip.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Enter your note text | 1 | no description
| Content | required |
Select the note type | 2 | 1 = Important, 2 = Tip, 3 = Warning
| String | suggested |