FANDOM


Description
Generates an inline section note. For an explanation of what certain keywords mean, a key is provided here.
Syntax
{{Template:I-note| <string> | <switch ("custom"/"note"/"info"/"warning"/"tip"/"link"/"disambig"/"speculation")> | <title - namespace> | <any> | msg=<string> | type=<switch ("custom"/"note"/"info"/"warning"/"tip"/"link"/"disambig"/"speculation")> | icon=<title - namespace> | content=<any> | icon=<filename> | textcolor=<CSS color> }}
Parameters
1=
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).
custom
"", "Icon-information-22x22" - Custom. 1= or msg= is used if present.
note
"'Note:", "Icon-information-22x22" - General. 1= or msg= is used if present.
info
"Info: ", "Icon-information-22x22" - Information. 1= or msg= is used if present.
warning
"Warning: ", "Icon-warning-22x22" - Warning. 1= or msg= is used if present.
tip
"Tip:" + "[More]", "Icon-help-22x22" - Tips. See Also. 1= or msg= is used if present, otherwise "Unknown." is used.
disambig
"Dismbiguation: If {{PAGENAME}} is not the page you were looking for please follow one of the disambiguation links below or search to find it.", "Icon-disambig-22x22" - Disambiguation. 1= and msg= are not used.
link
"See Also: ", "Icon-externalarticle-22x22" - 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!", "Icon-question-22x22" - 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=).
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).
msg=
(See 1=.)
type=
(See 2=.)
icon=
(See 3=.)
content=
(See 4=.)
textcolor=
Optional Changes text color (and line color).
Example
Code
{{I-note
|This template is very versatile and can be used for practically any form of section notice.
|Info
}}
{{I-note
|msg=This exmaple shows off all the parameters and how they could be used.
|type=custom
|icon=Icon-policy-22x22.png
|content=
<code>#It must be good.
#It must be really good.
}}
Result
Icon-information-22x22
Note: This template is very versatile and can be used for practically any form of section notice.
Icon-policy-22x22
Policy: This section has the following policies rules explcitly applied to it.
  1. It must be good.
  2. It must be really good.
Community content is available under CC-BY-SA unless otherwise noted.