User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
deep_links [2016/06/04 07:33] – created 0.0.0.0deep_links [2016/06/05 14:57] – [Search] Hamid Zarrabi-Zadeh
Line 1: Line 1:
-====== Deep_Links ======+====== Deep Links ======
  
 You can use **deep links** to directly link to a specific page or tab in Tanzil Quran Navigator. The link structures are described below. You can use **deep links** to directly link to a specific page or tab in Tanzil Quran Navigator. The link structures are described below.
  
 ===== Quran ===== ===== Quran =====
 +
 The following deep link can be used to point to a specific location in the Quran: The following deep link can be used to point to a specific location in the Quran:
  
- <code><nowiki>http://tanzil.net/#<address></nowiki></code>+  http://tanzil.net/#<address> 
  
-where <code>address</code> can have any of the following formats:+where ''address'' can have any of the following formats:
  
-{|class="wikitable" +Format Example Link ^ 
-!Format +|''<SuraNum>'' | 21 | http://tanzil.net/#21 | 
-!Example +|''<SuraNum>:<AyaNum>'' | 21:4 | http://tanzil.net/#21:4 | 
-!Link +|juz''-<JuzNum>'' | juz-8 | http://tanzil.net/#juz-8 | 
-|+|page''-<PageNum>'' | page-20 | http://tanzil.net/#page-20 |
-|<code>[[SuraNum]]</code> +
-| 21 +
-| http://tanzil.net/#21 +
-|- +
-|<code>[[SuraNum]]:[AyaNum]</code> +
-| 21:4 +
-| http://tanzil.net/#21:4 +
-|- +
-|juz<code>-[[JuzNum]]</code> +
-| juz-8 +
-|http://tanzil.net/#juz-8  +
-|- +
-|page<code>-[[PageNum]]</code> +
-| page-20 +
-|http://tanzil.net/#page-20  +
-|}+
  
 ===== Translation ===== ===== Translation =====
 +
 The following deep link can be used to point to a specific location in the Translation tab: The following deep link can be used to point to a specific location in the Translation tab:
  
- <code><nowiki>http://tanzil.net/#trans/<transID>/<address></nowiki></code>+  http://tanzil.net/#trans/<transID>/<address>
  
-where <code>transID</code> is the translation id obtainable form Tanzil's [[http://tanzil.net/trans/|Translations Repository]], and <code>address</code> is any of the address formats described in the above table.+where ''transID'' is the translation id obtainable form Tanzil's [[http://tanzil.net/trans/|Translations Repository]], and ''address'' is any of the address formats described in the above table.
  
 As an example, http://tanzil.net/#trans/en.shakir/21:4 points to aya 21:4 in the English translation of Shakir. As an example, http://tanzil.net/#trans/en.shakir/21:4 points to aya 21:4 in the English translation of Shakir.
  
-<blockquote>+<div center round box 95%>
 **Note:** You can replace "trans" by "quran" in the above link to point to a specific location in the "Quran" tab, and at the same time, specify a translation. For example, http://tanzil.net/#quran/en.shakir/21:4 points to aya 21:4 in the Quran tab, while sets the translation to Shakir. **Note:** You can replace "trans" by "quran" in the above link to point to a specific location in the "Quran" tab, and at the same time, specify a translation. For example, http://tanzil.net/#quran/en.shakir/21:4 points to aya 21:4 in the Quran tab, while sets the translation to Shakir.
-</blockquote>+</div> 
  
 ===== Search ===== ===== Search =====
 +
 The following deep link can be used to point to search results: The following deep link can be used to point to search results:
  
- <code><nowiki>http://tanzil.net/#search/<domain>/<query>[[/<page>]]</nowiki></code>+  http://tanzil.net/#search/<domain>/<query>[/<page>
  
-where <code>domain</code> is either "quran" or "root", <code>query</code> is the query string, and <code>page</code> is the page number in the search results (if page number is not provided, it is assumed to be 1).+where ''domain'' is either "quran" or "root", ''query'' is the query string, and ''page'' is the page number in the search results (if page number is not provided, it is assumed to be 1).
  
 **Examples**: **Examples**:
 +
   * http://tanzil.net/#search/quran/كتاب links to the search results for the query word "كتاب" in the Quran   * http://tanzil.net/#search/quran/كتاب links to the search results for the query word "كتاب" in the Quran
   * http://tanzil.net/#search/root/مدد/p2 links to the second page of search results for the root "مدد".   * http://tanzil.net/#search/root/مدد/p2 links to the second page of search results for the root "مدد".
  
- 
-[[Category:Quran Navigator]] 
-[[Category:Help]] 
Tanzil © 2007–2024