3,454
edits
Lightyears (talk | contribs) |
|||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 37: | Line 37: | ||
===Templates=== | ===Templates=== | ||
In order to format and organize data, templates are used on WikiIslam. These are markup language commands which tell the wiki to format data in specific ways and links to outside websites. Commonly used templates on WikiIslam include the quote template, the Quran template, the Quran | In order to format and organize data, templates are used on WikiIslam. These are markup language commands which tell the wiki to format data in specific ways and links to outside websites. Commonly used templates on WikiIslam include the quote template, the Quran template, the Quran-range template, and the various hadith templates. Quote can be used in the following manner: <code><nowiki>{{Quote||}}</nowiki></code>. This will produce a box with two fields, one for a source and another for the text being quoted. The source is introduced by a pipe | after the word "Quote" and the text after the second pipe. See the example below: | ||
{{Quote|Sample Source| Sample Text}} | {{Quote|Sample Source| Sample Text}} | ||
These quote boxes can be used for any quoted source. Templates can also be used to link to sources outside WikiIslam, particularly the Qur'an and the hadith. WikiIslam uses www.quranx.com for this purpose. The template <code><nowiki>{{Quran|surah number|ayah number}}</nowiki></code> will produce a link to the specified surah (chapter) and ayah (verse). For example, to | These quote boxes can be used for any quoted source. Templates can also be used to link to sources outside WikiIslam, particularly the Qur'an and the hadith. WikiIslam uses www.quranx.com for this purpose. The template <code><nowiki>{{Quran|surah number|ayah number}}</nowiki></code> will produce a link to the specified surah (chapter) and ayah (verse). For example, to link to surat-al-baqarah (surah number 2), ayah 36, the template format would be <code><nowiki>{{Quran|2|36}}</nowiki></code>. For a series of ayats the following template can be used: <code><nowiki>{{Quran-range|surah number|first ayah in series|last ayah in series}}</nowiki></code>. For example for surat-al-baqarah verse 20-23 the format would be <nowiki>{{Quran-range|2|20|23}}</nowiki>. All of the "Sahih Six" or authoritative Sunni collections of hadith also have templates which link to QuranX. Below you can see examples of all of their uses: | ||
{| border="1" cellpadding="5" cellspacing="0" style="width:700px; height:200px" | {| border="1" cellpadding="5" cellspacing="0" style="width:700px; height:200px" | ||
!Input!!Output | !Input!!Output | ||
|- | |- | ||
| |{{<nowiki>Bukhari| | | |{{<nowiki>Bukhari|||6|darussalam}}</nowiki>||{{Bukhari|||6|darussalam}} | ||
|- | |- | ||
| |{{<nowiki>Muslim| | | |{{<nowiki>Muslim||9|reference}}</nowiki>||{{Muslim||9|reference}} | ||
|- | |- | ||
| |{{<nowiki>Abudawud| | | |{{<nowiki>Abudawud||7|darussalam}}</nowiki>||{{Abudawud||7|darussalam}} | ||
|- | |- | ||
| |{{<nowiki>Muwatta|1|1|5|}}</nowiki> | | |{{<nowiki>Muwatta|1|1|5|}}</nowiki> | ||
| Line 70: | Line 70: | ||
==Article creation== | ==Article creation== | ||
Before starting a new article, please understand [[WikiIslam:Scope and Article Relevance|WikiIslam's scope and relevance requirements]]. In short, the article should be directly related to the beliefs and/or practices of Muslims. | |||
Before | Before creating an article, please search WikiIslam first to make sure that an article does not already exist on the subject, and please also review [[WikiIslam:Article Naming]] for guidance on how to name the article. If you want to draft an article in collaboration with others or if you want to draft an article for which you will be the only initial editor, please see [[WikiIslam:Sandbox]] for instructions. | ||
When you are ready to create the screenshot (and assuming that you have been given the rights to do so) you can click on the "create page" button under the "Contribute" panel on the right side. | |||
[[File:Creat_Page_Screenshot.JPG|center|thumb|500px|]] | |||
==Talk pages== | ==Talk pages== | ||