Template:Comment inline
Sample text.Your comment here. [ExampleUser ]
This template uses TemplateStyles: |
Usage[edit]
Comment inline is a template built to allow in-line commenting on draft articles. Use alias {{cil}}
for ease of use.
Syntax[edit]
This template allows use of one, two, or three anonymous arguments and one argument related to the inline CSS style of the highlighted text.
One Argument[edit]
One argument will highlight text.
{{cil|Text for markup.}}
Text for markup.Text for markup. [KaerbaqianRen ]
Two Arguments[edit]
Two arguments inserts a comment while hovering over the user.
{{cil|This is a sample comment.|Text for markup.}}
Text for markup.This is a sample comment. [KaerbaqianRen ]
Three Arguments[edit]
Three arguments inserts a comment while hovering over the user and allows styling of marked up text.
{{cil|strike|This is a sample comment.|Text for markup.}}
Text for markup.This is a sample comment. [KaerbaqianRen ]
The following formats are allowed:
highlight
ormark
underline
orline
strikethrough
orstrike
red
green
yellow
yellow
, which removes any highlighting/background-color.
Formatting can be combined as follows:
{{cil|strike underline green|This is a sample comment.|Text for markup.}}
Text for markup.This is a sample comment. [KaerbaqianRen ]
Style Argument[edit]
Additional inline CSS style may be included through the style
argument.
{{cil|style=color:purple;font-weight:bold;|This is a sample comment.|Text for markup.}}
Text for markup.This is a sample comment. [KaerbaqianRen ]
Sub Argument[edit]
Replacement text can be indicated with the sub
argument.
{{cil|This is a sample comment.|Text for markup.|sub=This is the replacement text.}}
Text for markup.This is the replacement text.This is a sample comment. [KaerbaqianRen ]