Help:Formatting/Fonts and typeface

From Homecoming Wiki
< Help:Formatting
Revision as of 19:43, 21 February 2010 by imported>Zombie Man (historical) (→‎Overview: fix link)
Jump to navigation Jump to search

Overview

These are the Wiki Markup Language, HTML tags, and Templates that affect the appearance of the font and type of text on Paragon Wiki pages.

See also: Wikipedia on text formatting | Category:Formatting Templates | Help:Formatting/Paragraphs | Help:Formatting/Page layout

Bold and Italics

Wiki markup language uses two enclosing apostrophes for italics, three for bold, and five for bold and italics.

Format: Plain SampleText. ''Italics SampleText''. '''Bold SampleText'''. '''''Bold and italics SampleText'''''.
Result: Plain SampleText. Italics SampleText. Bold SampleText. Bold and italics SampleText.

The WYSIWYG editor has highlight-and-click buttons for bold and italics.


Underline

The UL template formats text with an underline.

Format: {{UL|SampleText}}
Result: SampleText


Subscript and superscript

The HTML tags for sub- and superscript are <sub></sub> and <sup></sup>.

Format: Two of the most well known scientific expressions are: H<sub>2</sub>O and E=cm<sup>2</sup>.
Result: Two of the most well known scientific expressions are: H2O and E=mc2.


Strikethrough

Strikethrough originated from paper typewriters where one could go back and type a hyphen over text that was incorrect or flagged to be deleted on the next draft. The use of computer word processing would seem to deprecate the use of strikethrough since mistakes or deletions are simply replaced. However, it is still used for comic effect or to signal rapidly changing information or a change of long held beliefs. It should be used very sparingly in most informational articles on the Wiki.

Format...
I'm happy to be <s>anywhere but</s> here.
The collector's edition is <s>$299.99</s> <s>$129.99</s> <s>$69.99</s> now only $12.59!
Around our sun go the <s>nine</s> eight planets.
Result...
I'm happy to be anywhere but here.
The collector's edition is $299.99 $129.99 $69.99 now only $12.59!
Around our sun go the nine eight planets.


Text Colors

For the predefined template colors listed in the Navigation Box below (blue, green, mauve, etc...) use this template as follows:

Format: {{blue|SampleText}} · {{green|SampleText}} · {{mauve|SampleText}} · {{orange|SampleText}} · {{purple|SampleText}} · {{red|SampleText}} · {{teal|SampleText}}
Result: SampleText · SampleText · SampleText · SampleText · SampleText · SampleText · SampleText

For other colors that are standard HTML color names, or designated with a Hex code that corresponds to their Red, Green, and Blue components, use this template as follows:

Format: {{color|ColorName|SampleText}}
Example: {{color|OliveDrab|SampleText}} or {{color|#6B8E23|SampleText}}
Result: SampleText or SampleText

Template:Text Colors NavBox


Dot List Separator (Dot)

The template {{dot}} is replaced by three characters: non-breaking space, a dot, a regular space. This can be useful for lists where commas or semi-colons might not be clear enough delimiters of a list.

Example: 10:30{{dot}}06:53{{dot}}23,00{{dot}}0.40
Result: 10:30 · 06:53 · 23,00 · 0.40


Headings

Headings are automatically formatted by size, weight, and underlining by the Wiki parser using the equal tags. They normally shouldn't be further formatted by editors. See: Help:Formatting/Page layout#Headers.