Jump to content

User:Fix Bayonets!//Help/Editing template

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fix Bayonets! (talk | contribs) at 13:57, 20 October 2006 (code preview). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


USEFUL CODE

TOC


You can force a table of contents to appear by inserting:

__FORCETOC__

somewhere in the article.

Similarly, by inserting:

__NOTOC__

somewhere in the article, you will disable the TOC. It can also be disabled on a per-user basis through the preferences.

Quotations


type:

{{Quotation|"Place the exact quotation here."|John Q. Public|Letter to his wife}}

Produces:

"Place the exact quotation here."

— John Q. Public, Letter to his wife

Breaks


To force a new line without creating a blank line, type:

<br />

References


For an initial (first) reference to a book, type:

<ref name=LastNameTitleAbbrev>Last Name, First Name, M., ''Title,'' City: Publishing Company, 200__, ISBN 0-123-45678-9, pp. 44-45.</ref>

For subsequent reference to same book, type:

<ref name=LastNameTitleAbbrev/>

For an initial (first) reference to a website, type:

<ref name=Website>[http://website.com/subsection/200605/05092006.html|Treatise on Widgets]</ref>

For subsequent reference to same website, type:

<ref name=Website/>

To ENABLE the above references, type:

==References==
<references/>

To leave a note linking to another post on another page, type:

I thought you might be interested in this: [http://website_address/html Nature or Subject of website]

Text

Font size, style, and color

To write larger font, in different color and style, such as this:

Example text inserted here.

type:

<font [font color=#GGBBRR,] [font size=22.0,] [font face=Times New Roman]>Example text inserted here.</font>

Font: strike-through or underline

To strike-through or underline text, such as this:

Strike out or underline text

type:

<strike>Strike out</strike> or <u>underline</u> text ====Font: small capital letters==== To write in small caps, such as this:<br /><br /> write it <span style= "font-variant:small-caps"> in small caps</span>. type:<br /><br /> ::<tt><nowiki> write it <span style= "font-variant:small-caps"> in small caps</span>

Font: super or sub-script

To make text super or sub-script like this:

X2, H2O

type:

X<sup>2</sup>, H<sub>2</sub>O

Previewing code


To force code to apppear on a page without running the code itself, type:

::<tt><nowiki>INSERT CODE
</nowiki>

To preview code results,type:

<pre>INSERT CODE</pre>

Tags


{{Disputed-section}}

{{noncompliant}}

To say “[citations needed]”, type:

{{fact}}

Search a User's contribution list


To search a User's contribution list, type:

[http://en.wikipedia.org/w/index.php?title=Special:Contributions&target=INSERT USER NAME HERE]

See also