49
edits
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
# Expanded Flag - for the inline note icon, where the value the icon 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= | ||
# 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 | # 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 | ||
* <nowiki>{{{{PAGENAME}}|This template is very versatile and can be used for practically any form of section notice.|Info}}</nowiki> | |||
*: {{{{PAGENAME}}|This template is very versatile and can be used for practically any form of section notice.|Info}} | |||
* <nowiki>{{{{PAGENAME}}|msg=This exmaple shows off all the parameters and how they could be used.|type=custom|icon=Icon-policy-22x22.png|content=</nowiki> | |||
<nowiki>#It must be good.</nowiki> | |||
: | <nowiki>#It must be really good.}}</nowiki> | ||
*: {{{{PAGENAME}}|msg='''Policy:''' This section has the following policies rules explicitly applied to it.|type=custom|icon=Icon-policy-22x22.png|content= | |||
: | |||
{{{{PAGENAME}} | |||
|msg='''Policy:''' This section has the following policies rules explicitly applied to it. | |||
|type=custom | |||
|icon=Icon-policy-22x22.png | |||
|content= | |||
#It must be good. | #It must be good. | ||
#It must be really good. | #It must be really good.}} | ||
}} | |||
[[Category:Templates|Note, Inline]][[Category:Inline templates|Note, Inline]] | |||
---- | |||
<onlyinclude><includeonly><div class="inote"><div><div style="position: relative; display: inline; z-index: 2;">{{#if:{{{3|{{{icon|}}}}}} | <onlyinclude><includeonly><div class="inote"><div><div style="position: relative; display: inline; z-index: 2;">{{#if:{{{3|{{{icon|}}}}}} | ||
|[[File:{{{3|{{{icon|}}}}}}]] | |[[File:{{{3|{{{icon|}}}}}}]] | ||
| Line 75: | Line 57: | ||
</div>}} | </div>}} | ||
</div></includeonly></onlyinclude> | </div></includeonly></onlyinclude> | ||