islamWiki:Tutorial/Formatting

From islamWiki...
Jump to: navigation, search
Introduction How to
edit
 Formatting Links Citing
sources
 Talk
pages
 Keep
in mind
 Registration Wrap-up  
This Project page is based on an external Wikipedia:Project:Tutorial/Formatting page, in accordance with Wikipedia's copyright and reuse policies.
Note: Any links below, which lead to the original website(s) are meant only for reference and tutorial purposes and islamWiki maintains no formal affiliation with them.


Formatting a Wiki article is different from writing in a standard word processor or in the Wiki's opt-in, alternative editing environment, VisualEditor. Instead of a strict WYSIWYG approach ("What You See Is What You Get"), MediaWiki Wikis use text codes called wiki tags to create particular elements of the page (e.g. headings). This markup language is known as wikitext (or wiki-markup) and is designed for ease of editing. See the cheatsheet for a quick reference list of wikitext codes. Complicated articles may be best modeled on the layout of an existing article of appropriate structure and topic.

Bold and italics

The most commonly used wiki tags are bold and italics. Bolding and italicizing are done by surrounding a word or phrase with multiple apostrophes ('):

Wiki markup quick reference (PDF download)
You type You get
''italic'' italic

'''bold'''

bold

'''''bold italic'''''

bold italic

On Wikipedia, the names of an article's subject are written in bold when they are first mentioned in the article. It appears to be a nice enough convention to follow on this Wiki too. Italics may be used for the names of books, movies, research papers etc. If the first mention of the subject of an article is also a book or movie title, then bold italic may be used.

Headings and subheadings

Headings and subheadings are a way to organize an article. If an article discusses several topics and dedicates more than a couple of paragraphs to each, you can make the article more readable by inserting a heading for each topic — that is, creating a section for each topic.

You can also create sections within sections (i.e., subsections) by using subheadings:

This is a subheading

You create headings surrounding the heading text with several '=' wiki tags. The more '=' symbols in the wiki tag, the more nested the heading is:

You type You get

== Some heading ==

Some heading

=== Some Sub-heading 1 ===

Some Sub-heading 1

For more information, see Help:Wiki markup

Subscript and superscript

To use the subscript format you type an opening <sub> tag before the text and a closing </sub> tag after it. The tags for superscript are <sup> and </sup>. Example:

The code H<sub>2</sub>SO<sub>4</sub> &amp;rarr; 2 H<sup>+</sup> + SO<sub>4</sub><sup>2&amp;minus;</sup>

displays: H2SO4 → 2 H+ + SO42−

For more information, see Help:Wiki markup

HTML

Wikitext's formatting capabilities are limited. If you want to have more control of the formatting, such as using colors, text and paragraph styles, and page layout you can use HTML. HTML is the language used to format web pages in the Internet. It is more powerful than wikitext, but it's also more complex and harder to use.

For more information, see Help:HTML in wikitext

Editor toolbars

The Wikipedia editor has two toolbars with buttons that help with the use of wiki tags. For instance, if you want to type a text in bold, instead of manually typing the ''' tags, you can just press the Bold button and then type the text in bold directly.

Enhanced toolbar: main selections
Icon Function What it shows when editing What it shows on the page
Enhanced editing toolbar
Bold text Bold '''Bold text''' Bold text
Italic text Italic ''Italic text'' Italic text
External link External link [http://www.example.com link title] link title
Internal link Internal link [[Link title]] Link title
Embedded file Insert image [[File:Example.jpg|thumbnail]]
Example.jpg
Vector toolbar insert reference button.png Insert Footnotes <ref>Insert footnote text here</ref> [1]
Your signature with timestamp Sign talk comments
(with time stamp)
--~~~~ Username (talk) 08:15, 2 July 2020 (UTC)
For more information, see Help:Edit toolbar
Continue the tutorial with Links
  1. Insert footnote text here