Template:Cite Quran: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough
m Rich Farmbrough moved page Template:Cite quran to Template:Cite Quran: Per https://en.wikipedia.org/wiki/Wikipedia_talk:Manual_of_Style/Islam-related_articles/Citing_Quran
meta>MSGJ
use quran.com per discussion; some whitespace tweaks in code
Line 1: Line 1:
<includeonly>{{
{{#ifeq:{{lc:{{{style|{{{s|sup}}}}}} }}
#ifeq:{{lc:{{{style|{{{s|sup}}}}}} }}
   | sup
   | sup
   |{{#if:{{{quote|{{{q|}}}}}} | "{{{quote|{{{q|}}}}}}" }}<sup><nowiki>[</nowiki>
   |{{#if:{{{quote|{{{q|}}}}}} | "{{{quote|{{{q|}}}}}}" }}<sup><nowiki>[</nowiki>
}}{{
}}{{#switch:{{lc:{{{expand|{{{begin|{{{b|yes}}}}}}}}} }}
#switch:{{lc:{{{expand|{{{begin|{{{b|yes}}}}}}}}} }}
   | y
   | y
   | yes=[[Quran]]&nbsp;
   | yes=[[Quran]]&nbsp;
   | no=
   | no=
   | n=
   | n=
   | #default={{
   | #default={{#switch:{{lc:{{{style|{{{s|sup}}}}}} }}
#switch:{{lc:{{{style|{{{s|sup}}}}}} }}
     | ref
     | ref
     | r=[[Quran]]&nbsp;
     | r=[[Quran]]&nbsp;
     }}
     }}
}}[{{
}}[{{#if:{{{2|}}}
#if:{{{2|}}}
   |https://quran.com/{{{1}}}:{{{2}}} {{{1}}}:{{{2|ERROR}}}
   |http://www.usc.edu/org/cmje/religious-texts/quran/verses/{{padleft:{{{1}}}|3|0}}-qmt.php#{{padleft:{{{1}}}|3|0}}.{{padleft:{{{2|ERROR}}}|3|0}} {{{1}}}:{{{2|ERROR}}}
}}{{#if:{{{end|{{{e|}}}}}}
}}{{
#if:{{{end|{{{e|}}}}}}
   | –{{{end|{{{e|}}}}}}
   | –{{{end|{{{e|}}}}}}
}}]{{
}}]{{#switch:{{lc:{{{style|{{{s|sup}}}}}} }}
#switch:{{lc:{{{style|{{{s|sup}}}}}} }}
   | nosup
   | nosup
   | ns
   | ns
   | r
   | r
   | ref={{
   | ref={{#if:{{{translator|{{{t|}}}}}}
#if:{{{translator|{{{t|}}}}}}
     |{{#if:{{{tn|}}}|&nbsp;<sup>( |&nbsp;<sup>([[Quran translations|Translated]] by&nbsp; }}
     |{{#if:{{{tn|}}}|&nbsp;<sup>( |&nbsp;<sup>([[Quran translations|Translated]] by&nbsp; }}
     |{{#if:{{{tn|}}}|&nbsp;<sup>( }}
     |{{#if:{{{tn|}}}|&nbsp;<sup>( }}
         }}
         }}
   | #default={{#if:{{{translator|{{{t|}}}}}} | &nbsp;([[Quran translations|Translated]] by&nbsp; | {{#if:{{{tn|}}}|&nbsp;( }} }}
   | #default={{#if:{{{translator|{{{t|}}}}}} | &nbsp;([[Quran translations|Translated]] by&nbsp; | {{#if:{{{tn|}}}|&nbsp;( }} }}
}}{{
}}{{#if:{{{translator|{{{t|}}}}}}
#if:{{{translator|{{{t|}}}}}}
   |{{#switch:{{lc:{{{translator|{{{t|}}}}}} }}
   |{{#switch:{{lc:{{{translator|{{{t|}}}}}} }}
     | y=[[Abdullah Yusuf Ali|Yusuf Ali]]
     | y=[[Abdullah Yusuf Ali|Yusuf Ali]]
Line 40: Line 32:
     | #default={{{translator|{{{t|}}}}}}
     | #default={{{translator|{{{t|}}}}}}
   }}
   }}
   |{{
   |{{#if:{{{tn|}}}
#if:{{{tn|}}}
     |{{#switch:{{lc:{{{tn|}}} }}
     |{{#switch:{{lc:{{{tn|}}} }}
       | y=[[Abdullah Yusuf Ali|Yusuf Ali]]
       | y=[[Abdullah Yusuf Ali|Yusuf Ali]]
Line 50: Line 41:
     }}
     }}
   }}
   }}
}}{{
}}{{#if:{{{translator|{{{t|}}}}}}
#if:{{{translator|{{{t|}}}}}}
   | )
   | )
   | {{
   | {{#if:{{{tn|}}}
#if:{{{tn|}}}
     | )
     | )
     }}
     }}
}}{{
}}{{#switch:{{lc:{{{style|{{{s|sup}}}}}} }}  
#switch:{{lc:{{{style|{{{s|sup}}}}}} }}  
   | nosup
   | nosup
   | ns
   | ns
   | r
   | r
   | ref={{#if:{{{translator|{{{t|}}}}}} | </sup> | {{#if:{{{tn|}}}|</sup> }} }}
   | ref={{#if:{{{translator|{{{t|}}}}}} | </sup> | {{#if:{{{tn|}}}|</sup> }} }}
}}{{
}}{{#ifeq:{{lc:{{{style|{{{s|sup}}}}}} }}
#ifeq:{{lc:{{{style|{{{s|sup}}}}}} }}
   | sup
   | sup
   | <nowiki>]</nowiki></sup>
   | <nowiki>]</nowiki></sup>
   | {{#if:{{{quote|{{{q|}}}}}} | .&nbsp;"{{{quote|{{{q|ERROR: Quote Missing}}}}}}" }}
   | {{#if:{{{quote|{{{q|}}}}}} | .&nbsp;"{{{quote|{{{q|ERROR: Quote Missing}}}}}}" }}
}}</includeonly><noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 08:56, 11 January 2017

[Quran []]