WikiIslam:Source Editing: Difference between revisions

Jump to navigation Jump to search
In-Line Citations
No edit summary
(In-Line Citations)
Line 2: Line 2:
Formatting a [[WikiIslam]] article differs from when writing on a standard word processor. Wikis use text codes 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.
Formatting a [[WikiIslam]] article differs from when writing on a standard word processor. Wikis use text codes 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.


== Font ==
==Font==
'''Bolding''' and ''italicizing'' are done by surrounding a word or phrase with multiple apostrophes (<tt>'</tt>):
'''Bolding''' and ''italicizing'' are done by surrounding a word or phrase with multiple apostrophes (<tt>'</tt>):


Line 101: Line 101:
! width="50%" |Input!! width="50%" |Output
! width="50%" |Input!! width="50%" |Output
|-
|-
| <tt>{&#123;Quote   |{&#123;<nowiki>Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki>
| <tt>{&#123;Quote   |{&#123;<nowiki>Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki>
|{{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}
|{{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}
|}
|}
Line 112: Line 112:
|<tt><nowiki>{{Quote|{{cite web quotebox|url= http://www.jordantimes.com/?news=19888|title= Productivity suffers during holy month|publisher= The Jordan Times|author= Mohammad Ghazal|date= September 10, 2009|archiveurl= http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888&date=2011-04-04|deadurl=no}}|The holy month at the time of the Prophet Mohammad and his companions was a time of great achievements and crucial battles won by the Muslims, Sharia (Islamic law) scholar Hamdi Murad said Wednesday.}}</nowiki></tt>
|<tt><nowiki>{{Quote|{{cite web quotebox|url= http://www.jordantimes.com/?news=19888|title= Productivity suffers during holy month|publisher= The Jordan Times|author= Mohammad Ghazal|date= September 10, 2009|archiveurl= http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888&date=2011-04-04|deadurl=no}}|The holy month at the time of the Prophet Mohammad and his companions was a time of great achievements and crucial battles won by the Muslims, Sharia (Islamic law) scholar Hamdi Murad said Wednesday.}}</nowiki></tt>
|{{Quote|{{cite web quotebox|url= http://www.jordantimes.com/?news=19888|title= Productivity suffers during holy month|publisher= The Jordan Times|author= Mohammad Ghazal|date= September 10, 2009|archiveurl= http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888&date=2011-04-04|deadurl=no}}|The holy month at the time of the Prophet Mohammad and his companions was a time of great achievements and crucial battles won by the Muslims, Sharia (Islamic law) scholar Hamdi Murad said Wednesday.}}
|{{Quote|{{cite web quotebox|url= http://www.jordantimes.com/?news=19888|title= Productivity suffers during holy month|publisher= The Jordan Times|author= Mohammad Ghazal|date= September 10, 2009|archiveurl= http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888&date=2011-04-04|deadurl=no}}|The holy month at the time of the Prophet Mohammad and his companions was a time of great achievements and crucial battles won by the Muslims, Sharia (Islamic law) scholar Hamdi Murad said Wednesday.}}
|}
|}<br />
 
== In-line Citations ==
 
===Single Citation===
An example of a reference being made on a page:
{| border="1" cellpadding="20" cellspacing="0"
|This is how to provide inline citations.<ref>This is the reference text. [http://example.com/ Links can also be provided]</ref>''(article text)''
 
''(more article text)''
 
<big>'''References'''</big>
----
<references group=""></references>
|}Here is what has to be typed:
 
::<code>This is how to provide inline citations.<nowiki><ref>This is the reference text. [http://example.com/ Links can also be provided]</ref></nowiki></code>
 
At the end of an article, there should be a "References" heading and below that:
 
::<code><nowiki>{{reflist}}</nowiki></code>
 
The wiki will then automatically do everything else to produce the reference. To edit the reference section produced at the bottom, edit the <nowiki><ref></nowiki> tags.
===Multiple Citations===
For multiple citations of the same reference or footnote:
 
::<code><nowiki><ref name="name here">details of the citation</ref></nowiki></code>
 
Thereafter, the same footnote may be used multiple times by adding:
 
::<code><nowiki><ref name="name here"></ref></nowiki></code>


===Multi-Columned References===
For ease of reading, when a page includes many citations, the standard <code><nowiki>{{reflist}}</nowiki></code> template should be replaced by <code><nowiki>{{Reflist|30em}}</nowiki></code>  (for 10+ citations).
==Links==
==Links==


recentchangescleanup, Reviewers, Administrators
148

edits

Navigation menu