Help:Cheatsheet
From WikiIslam
Here's a cheatsheet for wiki markup. Practice formatting in the sandbox.
[edit] Most frequent wiki markup explained
(copied from the Mediawiki website)
Here are some frequently used wiki markups. It is very easy to format text (bold, italics), create Headings, links and lists. The edit toolbar at the top has many shortcuts for common formatting. Here's how:
| What it looks like | What you type | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
You can italicize text by putting 2 apostrophes on each side. 3 apostrophes will bold the text. 5 apostrophes will bold and italicize the text. (4 apostrophes don't do anything special -- there's just 'one left over'.) | You can ''italicize text'' by putting 2 apostrophes on each side. 3 apostrophes will bold '''the text'''. 5 apostrophes will bold and italicize '''''the text'''''. (4 apostrophes don't do anything special -- there's just ''''one left over''''.) | |||||||||||
|
Section headings
Headings organize your writing into sections. The Wiki software can automatically generate a table of contents from them. Subsection
Using more equals signs creates a subsection. A smaller subsection
Don't skip levels, like from two to four equals signs. Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. | == Section headings == ''Headings'' organize your writing into sections. The Wiki software can automatically generate a table of contents from them. === Subsection === Using more equals signs creates a subsection. ==== A smaller subsection ==== Don't skip levels, like from two to four equals signs. Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. | |||||||||||
marks the end of the list.
| * ''Unordered lists'' are easy to do: ** Start every line with a star. *** More stars indicate a deeper level. *: Previous item continues. ** A new line * in a list marks the end of the list. * Of course you can start again. | |||||||||||
A new line marks the end of the list.
| # ''Numbered lists'' are: ## Very organized ## Easy to follow A new line marks the end of the list. # New numbering starts with 1. | |||||||||||
|
Here's a link to a page named Official position. You can even say official positions and the link will show up correctly. This is how to make go a certain page but have a different text: This is the link | Here's a link to a page named [[Official position]]. You can even say [[official position]]s and the link will show up correctly. This is how to make go a certain page but have a different text: [[Main Page|This is the link]] | |||||||||||
|
The weather in Moscow is a page that doesn't exist yet. You could create it by clicking on the link. | [[The weather in Moscow]] is a page that doesn't exist yet. You could create it by clicking on the link. | |||||||||||
|
You can link to a page section by its title: If multiple sections have the same title, add a number. #Example section 3 goes to the third section named "Example section". | You can link to a page section by its title: *[[List of cities by country#Morocco]]. If multiple sections have the same title, add a number. [[#Example section 3]] goes to the third section named "Example section". | |||||||||||
|
Quote boxes are useful for quoting Quran, hadith, news, people and other sources: This is the text of what is quoted
This is the source of the quotation (who said it) Links can also be used as with regular wiki text |
Quote boxes are useful for quoting Quran, hadith,
news, people and other sources: <br>
{{Quote|This is the source of the quotation (who
said it) Links can also be used as with regular
wiki text|This is the text of what is quoted|}}
| |||||||||||
|
Quran and hadith can be linked in the following way:
These are the only sources we have templates for. For other sources like Tabari, Ishaq etc, use simple wiki text formatting as you would for any other sources. When quoting Islamic sources, the following methods can be used to combine the Quote template and the Islamic source templates: | ||||||||||||
| {{Quote|{{Quran|2|104}}|For disbelievers is a painful doom.}} | For disbelievers is a painful doom.
| |||||||||||
| {{Quote|{{Quran|2|104}}|For disbelievers is a painful doom.|See Also {{Quran|2|174}}}} | For disbelievers is a painful doom.
Qur'an 2:104, See Also Qur'an 2:174 | |||||||||||
| {{Quote|{{Bukhari|7|62|33}}|Narrated Usama bin Zaid: The Prophet said, "After me I have not left any affliction more harmful to men than women."}} | Narrated Usama bin Zaid: The Prophet said, "After me I have not left any affliction more harmful to men than women."
| |||||||||||
| {{Quote|{{Muslim|36|6597}}|...I looked into the Fire and there I found the majority constituted by women}} | ...I looked into the Fire and there I found the majority constituted by women
| |||||||||||
| Sometimes the arguement of a template contains an equal-to sign (=). In that situation use this way to correctly make the template work:
This is the quotation text
|
{{Quote|1=[http://tafsir.com/
default.asp?sid=4&tid=10803
Tafsir Ibn Kathir]|2=This is
the quotation text}}
| |||||||||||
I'm about to give a reference.[1]
[edit] References
| I'm about to give a reference.<ref>This is the Reference text at the bottom. [http://links.sourceforge.net/ Links can also made here.]</ref> ==References== <references/> | |||||||||||
| You should "sign" your comments on talk pages using the sign button in the edit tool. This will produce your user name plus date/time: Karl Wick 07:46, 27 November 2005 (UTC) | You should "sign" your comments on talk pages using the sign button in the edit tool. This will produce your user name plus date/time: [[User:Karl Wick|Karl Wick]] 07:46, 27 November 2005 (UTC) |