Difference between revisions of "Template:Infobox surah"

From blackwiki
Jump to navigation Jump to search
imported>Hadysylmy
m
imported>HyperGaruda
(restored a more wikipedian and less eyesore infobox style)
Line 2: Line 2:
  
 
| title      = [[Sura]] {{{number|{{{Sura_number|}}}}}} of the [[Quran]]
 
| title      = [[Sura]] {{{number|{{{Sura_number|}}}}}} of the [[Quran]]
|bodystyle = border-radius:15px; border:1px; margin-bottom:15px;box-shadow:1px 3px 25px rgba(32, 33, 36, 0.28);
+
| titlestyle  = font-size:110%;
| titlestyle  = font-size:110%; background:#00FF57; border-radius:15px 15px 0px 0px; border:1px; margin-bottom:15px; box-shadow:0 3px 10px rgba(32, 33, 36, 0.28);
 
 
| above      = {{#if: {{{name-ar|}}} {{{Arabic_name|}}} | {{lang|ar|{{{name-ar|{{{Arabic_name|}}}}}}}} <br />}}<big>{{{name|{{{Name_of_Surah|{{PAGENAMEBASE}}}}}}}}</big><br /><small>{{{name-en|{{{Meaning_of_the_name|}}}}}}</small>
 
| above      = {{#if: {{{name-ar|}}} {{{Arabic_name|}}} | {{lang|ar|{{{name-ar|{{{Arabic_name|}}}}}}}} <br />}}<big>{{{name|{{{Name_of_Surah|{{PAGENAMEBASE}}}}}}}}</big><br /><small>{{{name-en|{{{Meaning_of_the_name|}}}}}}</small>
 
| labelstyle  = max-width:50%
 
| labelstyle  = max-width:50%
Line 11: Line 10:
 
  | 1 = [http://tanzil.net/#{{{number|{{{Sura_number|}}}}}} Arabic text]  
 
  | 1 = [http://tanzil.net/#{{{number|{{{Sura_number|}}}}}} Arabic text]  
 
  | 2 = {{#if:{{{audio|{{{sound|}}}}}}|{{Audio|{{{audio|{{{sound |}}}}}}|Audio file|help=no}}}}
 
  | 2 = {{#if:{{{audio|{{{sound|}}}}}}|{{Audio|{{{audio|{{{sound |}}}}}}|Audio file|help=no}}}}
  | 3 = [https://en.quranacademy.org/quran/sura/{{{number|{{{Sura_number|}}}}}} English translation] <br>'''([https://docs.google.com/uc?id=11O65RPo92a4ZG_Z7BaleSiBP3uyCHd61&export=download Arabic Holy Quran.pdf 14 mb])'''
+
  | 3 = [https://en.quranacademy.org/quran/sura/{{{number|{{{Sura_number|}}}}}} English translation]
 
}}
 
}}
 
 
| label1      = Classification
 
| label1      = Classification
 
| data1      = {{#switch: {{first word|{{delink|{{{Classification|{{{classification|}}}}}} }} }}
 
| data1      = {{#switch: {{first word|{{delink|{{{Classification|{{{classification|}}}}}} }} }}
Line 44: Line 42:
 
| data13      = {{{Subjectwise_ayat|{{{subject_ayat|}}}}}}
 
| data13      = {{{Subjectwise_ayat|{{{subject_ayat|}}}}}}
  
| belowstyle  = background:#00FF57; border-top:#aaa 1px solid
+
| belowstyle  = border-top:#aaa 1px solid
 
| belowclass  = noprint
 
| belowclass  = noprint
 
| below = {{succession links
 
| below = {{succession links

Revision as of 21:51, 17 December 2020

Sura of the Quran
Template:PAGENAMEBASE
ClassificationMeccan
Template:Succession links

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

For a sura (also spelled surah, surat; Arabic: سورة sūrah) (pl. Arabic: سور sura), a division or chapter, of the Quran.

Usage

Template:Parameter names example

{{infobox surah
| number         = 
| name           = <!-- if left blank, will use page name -->
| name-ar        = 
| name-en        = <!-- name in Yusuf Ali translation -->
| prev_sura      = 
| next_sura      = 
| classification = <!-- Meccan or Medinan -->
| othernames-ar  = <!-- alternate Arabic names -->
| othernames     = <!-- alternate English names in Pickthall, Arberry, and Asad translations  -->
| time           = 
| juz            = 
| hizb           = 
| rukus          = <!-- if only one ruku, skip this field -->
| verses         = 
| words          = <!-- optional, uncommon -->
| letters        = <!-- optional, uncommon -->
| muqattaat      = <!-- only if applicable -->
| sajdahs        = <!-- only if applicable -->
| subject_ayat   = 
| audio          = <!-- optional, if exists -->
}}