Difference between revisions of "Template:Empty section/doc"

From Nordic Larp Wiki
Jump to navigation Jump to search
m (1 revision imported)
(→‎Usage: Fixed json formatting.)
 
Line 10: Line 10:
 
"small": {
 
"small": {
 
"label": "Make small",
 
"label": "Make small",
"description": "'''Anything except <code>left</code>''': Uses an in-line default-sized message box.<br/>
+
"description": "'''Anything except <code>left</code>''': Uses an in-line default-sized message box.<br/>'''<code>left</code>'''(default): Uses smaller left - aligned message box designed for the head of sections. (See[[Template: Ambox / doc# The small parameters]].)",
'''<code>left</code>''' (default): Uses smaller left-aligned message box designed for the head of sections. (See [[Template:Ambox/doc#The small parameters]].)",
 
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"section": {
 
"section": {
 
"label": "Section number",
 
"label": "Section number",
"description": "The section number to be edited (or whatever the <code>&section=</code> parameter accepts).",
+
"description": "The section number to be edited (or whatever the <code>&section=</code> parameter accepts).",
 
"type": "string"
 
"type": "string"
 
},
 
},
Line 23: Line 22:
 
"description": "If a date parameter is provided, in the form {{CURRENTMONTHNAME}} {{CURRENTYEAR}}, then the page is put into a by-month subcategory instead. If the date is left out, a [[Wikipedia:Bot|bot]] will add it later.",
 
"description": "If a date parameter is provided, in the form {{CURRENTMONTHNAME}} {{CURRENTYEAR}}, then the page is put into a by-month subcategory instead. If the date is left out, a [[Wikipedia:Bot|bot]] will add it later.",
 
"autovalue": "{{CURRENTMONTHNAME}} {{CURRENTYEAR}}",
 
"autovalue": "{{CURRENTMONTHNAME}} {{CURRENTYEAR}}",
            "type": "string"
+
"type": "string"
 
}
 
}
 
},
 
},
"description": "To be placed in sections that are empty, containing neither text nor sub-sections. Before tagging an empty section, consider removing the section heading instead – for example, an empty \"Gallery\" or \"External links\" section can safely be deleted.<br> {{tnull|Empty section}} puts articles into Category:Articles with empty sections and Category:Articles to be expanded.<noexport>
+
"description": "To be placed in sections that are empty, containing neither text nor sub-sections. Before tagging an empty section, consider removing the section heading instead – for example, an empty \"Gallery\" or \"External links\" section can safely be deleted.<br> {{tnull|Empty section}} puts articles into Category:Articles with empty sections and Category:Articles to be expanded.<noexport> <h3 > Common form < /h3> <code > & #123;&# 123;Empty section & #124;date{{=}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} & #124;section{{=}} & #125;&# 125; < /code></noexport > ",
<h3>Common form</h3>
 
<code>&#123;&#123;Empty section&#124;date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}&#124;section{{=}} &#125;&#125;</code></noexport>",
 
 
"format": "inline"
 
"format": "inline"
 
}
 
}

Latest revision as of 15:50, 29 December 2018

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Empty section

To be placed in sections that are empty, containing neither text nor sub-sections. Before tagging an empty section, consider removing the section heading instead – for example, an empty "Gallery" or "External links" section can safely be deleted.
{{Empty section}} puts articles into Category:Articles with empty sections and Category:Articles to be expanded.

Common form < /h3> & #123;&# 123;Empty section & #124;date= November 2024 & #124;section= & #125;&# 125; < /code></noexport >

ParameterDescriptionTypeStatus
Make smallsmall
Anything except left: Uses an in-line default-sized message box.
left(default): Uses smaller left - aligned message box designed for the head of sections. (SeeTemplate: Ambox / doc# The small parameters.)
Stringoptional
Section numbersection
The section number to be edited (or whatever the &section= parameter accepts).
Stringoptional
Date taggeddate
If a date parameter is provided, in the form November 2024, then the page is put into a by-month subcategory instead. If the date is left out, a bot will add it later.
Auto value
November 2024
Stringoptional

Format: inline

missing </noexport>

Tracking categories

Redirects

See also