Template:Refbegin/TemplateData: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edokter
Deprecated
Ookami (talk | contribs)
m 7 revisions imported
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{TemplateDataHeader}}
{{TemplateData header}}
<templatedata>
<templatedata>
{
{
Line 5: Line 5:
"params": {
"params": {
"1": {
"1": {
"label": "Columns",
"label": "Column width/Columns",
"type": "number",
"type": "string",
"description": "Specify number or width of columns."
"description": "First mode: typographic unit of measurement such as 'em', specifying the width for the reference list columns, e.g. '33em'; spaced '33 em' will not be recognized. Second mode (deprecated): integer number of fixed columns into which the reference list is to be rendered.",
"example": "30em",
"default": "1",
"suggested": true
},
},
"colwidth": {
"colwidth": {
Line 13: Line 16:
"description": "Width of columns eg '25em' the default is '30em'.",
"description": "Width of columns eg '25em' the default is '30em'.",
"type": "string",
"type": "string",
"required": false
"required": false,
"aliases": [
"Column width"
],
"default": "30em"
},
},
"indent": {
"indent": {
"label": "Hanging indent",
"label": "Hanging indentation",
"type": "string",
"type": "string",
"description": "Set to \"yes\" to use hanging indent if an individual reference wraps over more than one line in the browser's display window."
"description": "Set to \"yes\" to use hanging indent if an individual reference wraps over more than one line in the browser's display window."
Line 24: Line 31:
"description": "Amount of indent in em units. Default is '3.2'",
"description": "Amount of indent in em units. Default is '3.2'",
"type": "number",
"type": "number",
"required": false
"required": false,
"deprecated": true
}
}
}
},
"format": "inline"
}
}
</templatedata>
</templatedata>

Latest revision as of 04:59, 3 September 2020

This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.
TemplateData for Refbegin

This template is used to start formatting for a reference list or bibliography.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Column width/Columns1

First mode: typographic unit of measurement such as 'em', specifying the width for the reference list columns, e.g. '33em'; spaced '33 em' will not be recognized. Second mode (deprecated): integer number of fixed columns into which the reference list is to be rendered.

Default
1
Example
30em
Stringsuggested
colwidthcolwidth Column width

Width of columns eg '25em' the default is '30em'.

Default
30em
Stringoptional
Hanging indentationindent

Set to "yes" to use hanging indent if an individual reference wraps over more than one line in the browser's display window.

Stringoptional
indentsizeindentsize

Amount of indent in em units. Default is '3.2'

Numberdeprecated