Template:I-note: Difference between revisions

445 bytes removed ,  4 August 2023
no edit summary
No edit summary
No edit summary
Line 2: Line 2:


;Syntax
;Syntax
* 1 (string) - Inline note's message string
# (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)
# (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 - Custom [[File:Icon-information-22x22.png|Note]] - 1= or msg= is used if present
::;note:"''''Note:'''''", "''[[File:Icon-information-22x22.png|Note]]''" - General. ''1='' or ''msg='' is used if present.
#* note - General [[File:Icon-information-22x22.png|Note]] - 1= or msg= is used if present
::;info:"'''''Info:''' ''", "''[[File:Icon-information-22x22.png|Information]]''" - Information. ''1='' or ''msg='' is used if present.
#* info - Information [[File:Icon-information-22x22.png|Information]] - 1= or msg= is used if present
::;warning:"'''''Warning:''' ''", "''[[File:Icon-warning-22x22.png|Warning]]''" - Warning. ''1='' or ''msg='' is used if present.
#* warning - Warning [[File:Icon-warning-22x22.png|Warning]] - 1= or msg= is used if present
::;tip:"'''''Tip:'''''" + "''&#91;[[Help:Editing/Tipoftheday|More]]&#93;''", "''[[File:Icon-help-22x22.png|Tip]]''" - Tips. See Also. ''1='' or ''msg='' is used if present, otherwise "Unknown.''" is used.
#* tip - Tip [[File:Icon-help-22x22.png|Tip]] - 1= or msg= is used if present, otherwise 'Unknown' is used.
::;disambig:"'''''Dismbiguation:''' If <nowiki>{{PAGENAME}}</nowiki> is not the page you were looking for please follow one of the disambiguation links below or [[Special:Search|search]] to find it.''", "''[[File:Icon-disambig-22x22.png|Disambiguation]]''" - Disambiguation. ''1='' and ''msg='' are not used.
#* disambig - Dismbiguation ''If PAGENAME is not the page you were looking for please follow one of the disambiguation links below or [[Special:Search|search]] to find it. [[File:Icon-disambig-22x22.png|Disambiguation]]'' - 1= and msg= are not used
::;link:"'''''See Also:''' ''", "''[[File:Icon-externalarticle-22x22.png|See Also]]''" - See Also. ''1='' or ''msg='' is used if present, otherwise "''Please see the following links for more information.''" is used.
#* link - ''See Also [[File:Icon-externalarticle-22x22.png|See Also]]'' - 1= or msg= is used if present, otherwise 'Please see the following links for more information.' is used.
:::speculation:"'''''Speculation:''' This section contains fan speculation and should '''not''' be taken as representing official lore!''", "''[[File:Icon-question-22x22.png|Speculation]]''" - Speculation. ''1='' and ''msg='' are not used.
#* speculation - Speculation ''This section contains fan speculation and should not be taken as representing official lore! [[File:Icon-question-22x22.png|Speculation]]'' - 1= and msg= are not used
:;3=:''Expanded Flag'' for the inline note's icon where the value the icon's title excluding the "File:" namespace (overides the icon out from ''type='').
# Expanded Flag - for the inline note icon, where the value the icon title excluding the File: namespace. Overides the icon out from type=
:;4=:''Expanded Flag'' for the inline note's content section where the value is a output representing information related to the note (eg. list of links or further explanation of the note).
# Expanded Flag - for the inline note content section where the value is output representing information related to the note. A list of links or further explanation of the note
:;msg=:(See ''1=''.)
:msg - See 1=
:;type=:(See ''2=''.)
:type - See 2=
:;icon=:(See ''3=''.)
:icon - See 3=
:;content=:(See ''4=''.)
:content - See 4=
:;textcolor=:''Optional'' Changes text color (and line color).
:textcolor (optional) - Changes text color and line color


;Example
;Example