Difference between revisions of "Template:Tabari"

From WikiIslam, the online resource on Islam
Jump to: navigation, search
[checked revision][checked revision]
(usage help)
 
 
Line 42: Line 42:
 
     | #default=  
 
     | #default=  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 +
<templatedata>
 +
{
 +
"description": "This template is used for references to al-Tabari's ''History of the Prophets and Kings''. It will link to a summary of the specified volume in the article The History of al-Tabari.",
 +
"params": {
 +
"1": {
 +
"label": "Volume",
 +
"description": "The volume number in al-Tabari's History",
 +
"required": true,
 +
"type": "number",
 +
"default": "1",
 +
"example": "4"
 +
},
 +
"2": {
 +
"label": "Page(s)",
 +
"description": "The page number(s) within the volume",
 +
"required": true,
 +
"type": "string",
 +
"default": "p. 1",
 +
"example": "pp. 220-221"
 +
}
 +
}
 +
}
 +
</templatedata>
 +
  
 
'''Usage''':
 
'''Usage''':

Latest revision as of 22:51, 21 December 2018

This template is used for references to al-Tabari's ''History of the Prophets and Kings''. It will link to a summary of the specified volume in the article The History of al-Tabari.

Template parameters

ParameterDescriptionTypeStatus
Volume1

The volume number in al-Tabari's History

Default
1
Example
4
Auto value
empty
Numberrequired
Page(s)2

The page number(s) within the volume

Default
p. 1
Example
pp. 220-221
Auto value
empty
Stringrequired


Usage:

{{Tabari|4|pp. 220-221}}

produces:

Al-Tabari, Vol. 4, pp. 220-221
{{Tabari|4|p. 220}}

produces:

Al-Tabari, Vol. 4, p. 220