Help:Contents: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 61: Line 61:
==Formatting Text==
==Formatting Text==
See the [[Help:Cheatsheet|Cheatsheet]]. [[WikiIslam:Sandbox|Practice using the wiki software here]]
See the [[Help:Cheatsheet|Cheatsheet]]. [[WikiIslam:Sandbox|Practice using the wiki software here]]
==Referencing the Qur'an, Hadith and other Sources==
It is easy to make automatic linked references to the Qur'an and Hadith - no longer will you have to find the URL of the verse or hadith you're looking for. Refer to [[WikiIslam:Standardization]] for how to use this method. Also, below the edit box and on the editing toolbar, you'll find shortcuts to these Islamic markups.
==Making links==
===Links to other articles===
Links to other articles on the wiki are easy to make:
* <nowiki>[[</nowiki>Earth Made of Seven Layers]], produces: [[Earth Made of Seven Layers]]
We can also change the appearance of a link in the following way:
* The <nowiki>[[</nowiki>Earth Made of Seven Layers|article]] produces: [[Earth Made of Seven Layers|article]]
** Easy to remember which variable comes first: <nowiki>[[</nowiki>What it is|What it looks like]]
Sometimes a URL and the page title may look different. In that case use what is present in the URL to link to the page and change the visual text as needed.
===Citations and External links===
Links used in the Ref template can be made using the [[Template:Cite web|Cite web]] template.
Links in an "External links" section can be made using the [[Template:external link|External link]] template.
===Anchor links===
Anchor links are links within the same page usually used on length pages to jump from one section to another. A set of anchor links is automatically generated in the "Table of contents" section at the top. For manual links:
* Use <nowiki>{{</nowiki>anchor|foo}}, to create a hidden anchor which can be accessed on the page with [[#foo<nowiki>]]</nowiki>
* Top of page: Links to the top of a page are already included in the software and don't have to be defined. Just use <nowiki>{{</nowiki>pagetop}} to place a link to the top, or use <nowiki>[[</nowiki>#top]]
* See: [http://meta.wikimedia.org/wiki/Help:Link#Anchors mediawiki] help page
* Headings and subheadings (e.g. foo) automatically create anchors which can be used to link to those headings by using [[#foo<nowiki>]]</nowiki> as a link. For example [[#See Also]] (<nowiki>[[</nowiki>#See Also]]) will take you to that section below.
===Making interwiki links===
===Making interwiki links===


Line 72: Line 98:
#*To make an automatic link to an RU page, use this on the english page: <nowiki>[[ru:72_девственницы]]</nowiki>. This will make an automatic link in the left menu under the section "In other languages".
#*To make an automatic link to an RU page, use this on the english page: <nowiki>[[ru:72_девственницы]]</nowiki>. This will make an automatic link in the left menu under the section "In other languages".
#*To make a regular link to any RU page, use: <nowiki>[[:ru:72_девственницы|My link title]]</nowiki> (notice the extra colon at the beginning). This produces: [[:ru:72_девственницы|My link title]]
#*To make a regular link to any RU page, use: <nowiki>[[:ru:72_девственницы|My link title]]</nowiki> (notice the extra colon at the beginning). This produces: [[:ru:72_девственницы|My link title]]
==Referencing the Qur'an, Hadith and other Sources==
It is easy to make automatic linked references to the Qur'an and Hadith - no longer will you have to find the URL of the verse or hadith you're looking for. Refer to [[WikiIslam:Standardization]] for how to use this method. Also, below the edit box and on the editing toolbar, you'll find shortcuts to these Islamic markups.


==Uploading Images==
==Uploading Images==
Line 115: Line 138:
===Making HTML forms===
===Making HTML forms===
Using the [http://en.wikipedia.org/wiki/Help:Inputbox#Box_types InputBox] extension, you can make search boxes, enable page edits from a box and create userboxes. An example is the [[#How_do_I_create_a_new_page.3F|Create box]] at the top of this page.
Using the [http://en.wikipedia.org/wiki/Help:Inputbox#Box_types InputBox] extension, you can make search boxes, enable page edits from a box and create userboxes. An example is the [[#How_do_I_create_a_new_page.3F|Create box]] at the top of this page.
===Anchor links===
* Use <nowiki>{{</nowiki>anchor|foo}}, to create a hidden anchor which can be accessed on the page with [[#foo<nowiki>]]</nowiki>
* See: [http://meta.wikimedia.org/wiki/Help:Link#Anchors mediawiki] help page
* Headings and subheadings (e.g. foo) automatically create anchors which can be used to link to those headings by using [[#foo<nowiki>]]</nowiki> as a link.


===Templates===
===Templates===
Line 161: Line 179:
* Restoring text: If there's a submission error, you can now either press Back (usually works in Firefox but not IE) and get your text back, or if the browser does not restore the text for you, you can now press SHIFT-INSERT to paste the text. If by mistake you press CTRL-INSERT at this point, you will lose the copied text. So when you are pasting text, always make sure you are pressing doing a paste (Edit->Paste, or SHIFT-INSERT).
* Restoring text: If there's a submission error, you can now either press Back (usually works in Firefox but not IE) and get your text back, or if the browser does not restore the text for you, you can now press SHIFT-INSERT to paste the text. If by mistake you press CTRL-INSERT at this point, you will lose the copied text. So when you are pasting text, always make sure you are pressing doing a paste (Edit->Paste, or SHIFT-INSERT).


==Miscellaneous==
==Search engine text==
;Search engine text
About 70% of our traffic comes from search engines. Therefore the preview text for each result that is seen in a search is important (especially for pages that you ''want'' people to find). This preview text is meant to give a short summary of the page so the visitor knows what they will be looking at. The following code generates the preview text. For example for the [[72 virgins]] article, we have:
This puts in text that appears in the results for search engines. It can be used for popular pages. For example for the [[72 virgins]] article, we have:
:<nowiki><metadesc>What the Qur'an, hadith and Islamic scholars say about the 72 Virgins, and their physical, sexual and personality attributes.</metadesc></nowiki>
:<nowiki><metadesc>What the Qur'an, hadith and Islamic scholars say about the 72 Virgins, and their physical, sexual and personality attributes.</metadesc></nowiki>
When preview text is not defined, the search engine usually takes text from the page (usually whatever is found first) and this may or may not be helpful but is never as good as our own defined text.


==Dealing with Vandalism==
==Dealing with Vandalism==
Line 175: Line 193:
**Click "Edit"
**Click "Edit"
**Save page with comment "reverting vandalism"
**Save page with comment "reverting vandalism"


==See Also==
==See Also==