More languages
More actions
Created page with "<onlyinclude>{{#if: {{{1|{{{content|{{{text|{{{demo|<noinclude>demo</noinclude>}}}}}}}}}}}} | <templatestyles src="Info/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} |gotcha=error |warning=warn |notice=info |=info |#default={{{2|{{{type|}}}}}} }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{content|{{{text}}}}}}}}}</div> | 18px|alt=<!--T:1--> 注|link= '''<!--T:2-->..." |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>{{#if: {{{1|{{{content|{{{text|{{{demo|<noinclude>demo</noinclude>}}}}}}}}}}}} | <templatestyles src="Info/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} | ||
|gotcha=error | |gotcha=error | ||
|warning=warn | |warning=warn | ||
Line 7: | Line 7: | ||
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{content|{{{text}}}}}}}}}</div> | }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{content|{{{text}}}}}}}}}</div> | ||
| [[File:Fontawesome-lightbulb-solid.svg|18px|alt=<!--T:1--> 注|link=]] '''<!--T:2--> 注:''' }}<!-- | | [[File:Fontawesome-lightbulb-solid.svg|18px|alt=<!--T:1--> 注|link=]] '''<!--T:2--> 注:''' }}<!-- | ||
--></ | --></includeonly> | ||
<noinclude> | <noinclude> | ||
[[zh-hans-cn:Template:ARR]] | |||
[[zh-hant:Template:ARR]] | |||
{{Info|This is an info message.}} | |||
{{Info|This is a reminder message.|reminder}} | |||
{{Info|This is a warn message.|warn}} | |||
{{Info|This is a error message。|error}} | |||
{{Info|This is an info message.|inline=1}} | |||
{{Info|This is a reminder message.|reminder|inline=1}} | |||
{{Info|This is a warn message.|warn|inline=1}} | |||
{{Info|This is a error message.|error|inline=1}} | |||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 10:30, 15 June 2025
This is an info message.
This is a reminder message.
This is a warn message.
This is a error message。
This is an info message.
This is a reminder message.
This is a warn message.
This is a error message.
Display infos. (Duplicated from MediaWiki.org Template:Note) Published under CC BY-SA 4.0.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | text 1 content | Info | Content | required |
Type | type 2 | One of “info”“reminder”“warn”“error”. This setting will affect the background color and icons.
| String | optional |
Inline format | inline | There are no line breaks before or after displaying the info.
| Number | optional |