Template:Refbegin/TemplateData: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Primefac
TFD closed as keep (XFDcloser)
meta>TheDJ
update
Line 6: Line 6:
"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 14: Line 17:
"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 25: Line 32:
"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>

Revision as of 11:11, 12 May 2017

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