Template:Dictionary of Indian Biography/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

Adapted form of {{header}} to allow for ready presentation of Dictionary of Indian Biography

{{Dictionary of Indian Biography
 | previous = 
 | next     = 
 | from     = 
 | to       = 
 | notes    = 
}}

Notes[edit]

This template makes use of the magic word {{SUBPAGENAME}}, the only issue is that {{SUBPAGENAME}} and apostrophes are not good playmates. Editors will need to force this when creating biography articles adding the onlysection with the article name.

onlysection = <add subpagename>

See also[edit]


TemplateData[edit]

Adapted form of {{header}} to present the work '"Dictionary of Indian Biography"

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
previousprevious 1

previous article in work (subpage name)

Page namesuggested
nextnext 2

next article in work (subpage name)

Page namesuggested
fromfrom 3

FROM page per use in <pages>

Numberrequired
toto 4

TO page per use in <pages>

Numberrequired
notesnotes

notes field per {{header}}

Stringoptional
portalportal

portal {{per header}}

Page nameoptional
related_authorrelated_author related author

related_author per {{header}}

Page nameoptional
sectionsection

section per {{header}} when needed to override default

Auto value
{{SUBPAGENAME}}
Stringoptional
onlysectiononlysection

onlysection per use in <pages>, when needing to override default, for example where article name contains an apostrophe

Auto value
{{SUBPAGENAME}}
Stringoptional