Template:Refbegin/TemplateData: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Salix alba
split from doc page add the missing params
 
Ookami (talk | contribs)
m 7 revisions imported
 
(6 intermediate revisions by 6 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
},
},
"normalfont": {
"colwidth": {
"label": "Normal font size",
"label": "colwidth",
"description": "Width of columns eg '25em' the default is '30em'.",
"type": "string",
"type": "string",
"description": "Set to \"yes\" to make list display in normal font size, not 90% (the default)"
"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."
},
},
        "colwidth": {
"indentsize": {
            "label": "colwidth",
"label": "indentsize",
            "description": "Width of columns eg '25em' the default is '30em'.",
"description": "Amount of indent in em units. Default is '3.2'",
            "type": "string",
"type": "number",
            "required": false
"required": false,
        },
"deprecated": true
        "indentsize": {
}
            "label": "indentsize",
},
            "description": "Amount of indent in em units. Default is '3.2'",
"format": "inline"
            "type": "number",
            "required": false
        }
    }
}
}
</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