Template:I-note: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:


;Syntax
;Syntax
:;1=:Inline note's message string.
* 1 (string) - Inline note's message string
:;2=:''Switch'' for the inline note's type, which controls the selection of icon and preset text. The following types are supported (defaults to ''note'').
* 2 (switch) -  for the inline note's type, which controls the selection of icon and preset text. The following types are supported (defaults to note)
::;custom:"''<nowiki></nowiki>''", "''[[File:Icon-information-22x22.png|Note]]''" - Custom. ''1='' or ''msg='' is used if present.
**;custom:"''<nowiki></nowiki>''", "''[[File:Icon-information-22x22.png|Note]]''" - Custom. ''1='' or ''msg='' is used if present.
::;note:"''''Note:'''''", "''[[File:Icon-information-22x22.png|Note]]''" - General. ''1='' or ''msg='' is used if present.
::;note:"''''Note:'''''", "''[[File:Icon-information-22x22.png|Note]]''" - General. ''1='' or ''msg='' is used if present.
::;info:"'''''Info:''' ''", "''[[File:Icon-information-22x22.png|Information]]''" - Information. ''1='' or ''msg='' is used if present.
::;info:"'''''Info:''' ''", "''[[File:Icon-information-22x22.png|Information]]''" - Information. ''1='' or ''msg='' is used if present.