Comment éditer sur WikiIslam: Difference between revisions

[checked revision][checked revision]
Line 7: Line 7:
===Edit screen(s)===
===Edit screen(s)===
[[File:Advanced_Settings_Screenshot.PNG|centeer|thumb|500px|Advanced settings in the visual editor]]Editing most WikiIslam pages is simple. WikiIslam uses two interface methods: classic editing through [[WikiIslam:Source Editing|source editor]] (using the wiki markup language), and a new VisualEditor (VE). The source editor is chosen by clicking the <kbd>Edit</kbd> tab at the top of a WikiIslam page. This will take you to a new page containing the editable contents of the current page. The source editor is used extensively throughout WikiIslam for such things as [[WikiIslam:Citing, Linking, and Quoting|hyperlinking, quoting, and citations]], tables and columns, special characters, and so on.
[[File:Advanced_Settings_Screenshot.PNG|centeer|thumb|500px|Advanced settings in the visual editor]]Editing most WikiIslam pages is simple. WikiIslam uses two interface methods: classic editing through [[WikiIslam:Source Editing|source editor]] (using the wiki markup language), and a new VisualEditor (VE). The source editor is chosen by clicking the <kbd>Edit</kbd> tab at the top of a WikiIslam page. This will take you to a new page containing the editable contents of the current page. The source editor is used extensively throughout WikiIslam for such things as [[WikiIslam:Citing, Linking, and Quoting|hyperlinking, quoting, and citations]], tables and columns, special characters, and so on.
The VisualEditor option is intended as a user-friendly, "What You See Is What You Get"  editing aid, allowing one to edit pages without the need to learn wiki markup language. See the [[WikiIslam:VisualEditor/User guide|VisualEditor user guide]] for more information.<gallery mode="packed" class="center" heights="233" style="font-size:95%" caption="Two editing environments: Source editor and VisualEditor">
The VisualEditor option is intended as a user-friendly, "What You See Is What You Get"  editing aid, allowing one to edit pages without the need to learn wiki markup language. See the [[WikiIslam:VisualEditor/User guide|VisualEditor user guide]] for more information.<gallery mode="packed" class="center" heights="233" style="font-size:95%" caption="Two editing environments: Source editor and VisualEditor">
File:Source Editor Screenshot.PNG|alt=Text in a large rectangle below two toolbars and next to a scrollbar.|Edit box showing the [[WikiIslam:Source Editing|source editor]]. You can change the formatting and contents of the page by changing what is written in this box.
File:Source Editor Screenshot.PNG|alt=Text in a large rectangle below two toolbars and next to a scrollbar.|Edit box showing the [[WikiIslam:Source Editing|source editor]]. You can change the formatting and contents of the page by changing what is written in this box.
Line 23: Line 22:
A file that is already hosted on WikiIslam can be inserted with the basic code <code><nowiki>[[File:FILENAME|thumb|DESCRIPTION]]</nowiki></code>. (<code>Image:</code> can be substituted for <code>File:</code> with no change in effect; the choice between the two is purely a matter of editorial preference.) Using <code>thumb</code> generates a thumbnail of an image (the most common placement option), which is typically sized differently from the original image. Files can be submitted through the upload file link on the right. If you do not have permission to do this, please contact administrator [[User:Asmith]].
A file that is already hosted on WikiIslam can be inserted with the basic code <code><nowiki>[[File:FILENAME|thumb|DESCRIPTION]]</nowiki></code>. (<code>Image:</code> can be substituted for <code>File:</code> with no change in effect; the choice between the two is purely a matter of editorial preference.) Using <code>thumb</code> generates a thumbnail of an image (the most common placement option), which is typically sized differently from the original image. Files can be submitted through the upload file link on the right. If you do not have permission to do this, please contact administrator [[User:Asmith]].
===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 series template, and the various hadith templates. Quote can be used in the following manner: <code><nowiki>{{Quote</nowiki></code> ... <code><nowiki>}}</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." See the example below:{{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 temple <code><nowiki>{{Quran|surah number|ayah number}}</nowiki></code> will produce a link to the specified surah (chapter) and ayah (verse). For example, to like 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 ayahs the following template cane be used: <code><nowiki>{{Quran|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|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:
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 series template, and the various hadith templates. Quote can be used in the following manner: <code><nowiki>{{Quote</nowiki></code> ... <code><nowiki>}}</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." See the example below:{{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 like 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 ayahs the following template cane be used: <code><nowiki>{{Quran|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|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
Editors, recentchangescleanup, Reviewers
4,682

edits