Template:Comment inline/doc

From MOASSpedia
Jump to navigation Jump to search

Usage

Comment inline is a template built to allow in-line commenting on draft articles. Use alias {{cil}} for ease of use.

Syntax

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

One argument will highlight text.

{{cil|Text for markup.}}

Text for markup.Text for markup. [[[User:Wikipedia>Pppery|Wikipedia>Pppery]] ]

Two Arguments

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

Three Arguments

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

Style Argument

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

Sub Argument

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