Difference between revisions of "Template:Infobox surah/sandbox"
Jump to navigation
Jump to search
imported>Primefac (add easier params) |
imported>Gonnym |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Infobox |
| − | + | ||
| − | | title = | + | | 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%; background:#00FF57; border-radius:15px 15px 0px 0px; border:1px; margin-bottom:15px; box-shadow:0 3px 10px rgba(32, 33, 36, 0.28); |
| − | [http://tanzil.net/#{{{number|{{{Sura_number|}}}}}} Arabic text] | + | | 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% |
| − | + | ||
| + | | subheaderstyle = border-top:1px #aaa solid; border-bottom:1px #aaa solid; | ||
| + | | subheader = {{hlist | ||
| + | | 1 = [http://tanzil.net/#{{{number|{{{Sura_number|}}}}}} Arabic text] | ||
| + | | 2 = {{#if:{{{audio|{{{sound|}}}}}}|{{Audio|{{{audio|{{{sound |}}}}}}|Audio file|help=no}}}} | ||
| + | | 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 16: | Line 22: | ||
| label3 = Other names | | label3 = Other names | ||
| data3 = {{{othernames|{{{Other_names|}}}}}} | | data3 = {{{othernames|{{{Other_names|}}}}}} | ||
| − | | label4 | + | | label4 = Time of revelation |
| − | | data4 | + | | data4 = {{{Time_of_revelation|{{{time|}}}}}} |
| label5 = Position | | label5 = Position | ||
| data5 = {{#if:{{{juz|{{{Juz'_number|}}}}}}|[[Juz'|Juzʼ]] {{{juz|{{{Juz'_number}}}}}}|}} | | data5 = {{#if:{{{juz|{{{Juz'_number|}}}}}}|[[Juz'|Juzʼ]] {{{juz|{{{Juz'_number}}}}}}|}} | ||
| − | | label6 = Hizb number | + | | label6 = Hizb {{abbr|no.|number}} |
| data6 = {{{Hizb_number|{{{hizb|}}}}}} | | data6 = {{{Hizb_number|{{{hizb|}}}}}} | ||
| − | | label7 = Number of [[Ruku|Rukus]] | + | | label7 = {{abbr|No.|Number}} of [[Ruku|Rukus]] |
| data7 = {{{Number_of_Rukus|{{{rukus|}}}}}} | | data7 = {{{Number_of_Rukus|{{{rukus|}}}}}} | ||
| − | | label8 = Number of [[Ayah|verses]] | + | | label8 = {{abbr|No.|Number}} of [[Ayah|verses]] |
| data8 = {{{Number_of_verses|{{{verses|}}}}}} | | data8 = {{{Number_of_verses|{{{verses|}}}}}} | ||
| − | | label9 = Number of [[Sujud#Sajdah of recitation|Sajdah]]s | + | | label9 = {{abbr|No.|Number}} of [[Sujud#Sajdah of recitation|Sajdah]]s |
| data9 = {{{Number_of_sajdahs|{{{sajdahs|}}}}}} | | data9 = {{{Number_of_sajdahs|{{{sajdahs|}}}}}} | ||
| − | | label10 = Number of words | + | | label10 = {{abbr|No.|Number}} of words |
| data10 = {{{Number_of_words|{{{words|}}}}}} | | data10 = {{{Number_of_words|{{{words|}}}}}} | ||
| − | | label11 = Number of letters | + | | label11 = {{abbr|No.|Number}} of letters |
| data11 = {{{Number_of_letters|{{{letters|}}}}}} | | data11 = {{{Number_of_letters|{{{letters|}}}}}} | ||
| label12 = Opening [[muqatta'at|muqaṭṭaʻāt]] | | label12 = Opening [[muqatta'at|muqaṭṭaʻāt]] | ||
| data12 = {{#if:{{{muqattaat|{{{Harf-e-Mukatta'at|}}}}}}|''{{{muqattaat|{{{Harf-e-Mukatta'at|}}}}}}''|}} | | data12 = {{#if:{{{muqattaat|{{{Harf-e-Mukatta'at|}}}}}}|''{{{muqattaat|{{{Harf-e-Mukatta'at|}}}}}}''|}} | ||
| − | | label13 = Number of Ayats on particular subjects | + | | label13 = {{abbr|No.|Number}} of Ayats on particular subjects |
| − | | data13 | + | | data13 = {{{Subjectwise_ayat|{{{subject_ayat|}}}}}} |
| + | | belowstyle = border-top:#aaa 1px solid | ||
| + | | belowclass = noprint | ||
| + | | below = {{succession links | ||
| + | |left = {{#if:{{{prev_sura|{{{Previous_Sura|}}}}}}|[[{{delink|{{{prev_sura|{{{Previous_Sura}}}}}}}}]]}} | ||
| + | |right = {{#if:{{{next_sura|{{{Next_Sura|}}}}}}|[[{{delink|{{{next_sura|{{{Next_Sura}}}}}}}}]]}} | ||
| + | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Latest revision as of 11:10, 1 November 2020
| Template:PAGENAMEBASE | |
|---|---|
| Classification | Meccan |
| This is the template sandbox page for Template:Infobox surah (diff). |
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 -->
}}
| The above documentation is transcluded from Template:Infobox surah/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |