Template:Comment inline/doc

From Wikipedia, the free encyclopedia

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. [Pppery ]

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. [Pppery ]

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. [Pppery ]

The following formats are allowed:

  • highlight or mark
  • underline or line
  • strikethrough or strike
  • 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. [Pppery ]

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. [Pppery ]

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. [Pppery ]