Template:External link/doc: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
(this template has some problems)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
This template should be used whenever linking external web content in "External Links" sections. See [[WikiIslam:Formatting]] for more information. Uses [[Template:External link/core]]
This template should be used whenever linking external web content in "External Links" sections. See [[WikiIslam:Formatting]] for more information. Uses [[Template:External link/core]]


::'''Note''': This template currently has issues. It will display an extra comma for example if this is used:
::'''Note''': If the "author" field is used, please also use the field's for publisher and publication date.  
:::*{{external link|url= http://www.danielpipes.org/blog/2010/09/defecation-torah-new-testament|title= Istinja' with the Torah and New Testament|publisher= |author= Daniel Pipes|date= Sep 21, 2010|archiveurl= http://www.webcitation.org/query?url=http%3A%2F%2Fwww.danielpipes.org%2Fblog%2F2010%2F09%2Fdefecation-torah-new-testament&date=2015-03-14|deadurl=no}}
::If date is left out, the extra comma is still there.


Usage:
Usage:

Latest revision as of 15:02, 15 March 2015

This template should be used whenever linking external web content in "External Links" sections. See WikiIslam:Formatting for more information. Uses Template:External link/core

Note: If the "author" field is used, please also use the field's for publisher and publication date.

Usage:

{{external link| url = | title = | linksummary = | publisher = | author = | date = | archiveurl = | deadurl = no}}
  • url= URL of an online location where the text of the publication can be found.
  • title= Title of web page.
  • linksummary= Summary of the link. Not yet fixed but can accept parameter.
  • publisher= Organization or website's name. A website's URL should be used only when there is no proper name available. So, for example, Islam Q&A is located at islamqa.info, but Islam Q&A is the title that should be cited as the publisher.
  • author= Name of author or authors if available.
  • date= Full date of source being referenced in the month/day/year format (e.g. February 21, 2014). This is the date mentioned on the website (if any).
  • archiveurl= The URL of an archived copy of a web page, if or in case the url becomes unavailable. Typically used to refer to services like WebCite.
  • deadurl= When the URL is still live, but preemptively archived, then set |deadurl=no. This changes the display order with the title retaining the original link and the archive linked at the end.

Examples

{{external link| url = http://www.jordantimes.com/?news=19888| title = Productivity suffers during holy month| linksummary = Summary of the link (not fixed yet but can accept parameter)| publisher = The Jordan Times| author = Mohammad Ghazal| date = September 10, 2009| archiveurl = http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888| deadurl = no}}

Click Edit to see the code:

  1. Productivity suffers during holy month - Mohammad Ghazal, The Jordan Times, September 10, 2009 (archived), http://www.jordantimes.com/?news=19888 
  2. Productivity suffers during holy month - Mohammad Ghazal, The Jordan Times, pp. 127-147, September 10, 2009 (archived), http://www.jordantimes.com/?news=19888 
  3. Productivity suffers during holy month - Mohammad Ghazal, The Jordan Times, September 10, 2009 (archived from the original), http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888 
  4. Productivity suffers during holy month - (archived), http://www.jordantimes.com/?news=19888 
  5. Productivity suffers during holy month - Description of the Link (archived), http://www.jordantimes.com/?news=19888 
  6. Productivity suffers during holy month - (archived from the original), http://www.webcitation.org/query?url=http://www.jordantimes.com/?news=19888