Template:Empty section/doc: Difference between revisions
Copied from w:c:templates:Template:Empty section/doc with some edits |
m 3 revisions imported: Imported from Neptunia Wiki on Fandom |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
:To specify date, insert a vertical bar (<code>|</code>) after "Empty section" and type "<code>date=</code>''INSERT DATE HERE''". Typically ''INSERT DATE HERE'' is in the form of month name and 4-digit year (i.e. <code>date={{#time:F-Y}}</code> or <code>date={{#time:M Y}}</code>). To specify the section, insert another vertical bar (<code>|</code>) and type "<code>section=</code>''INSERT SECTION NUMBER HERE''". Typically ''INSERT SECTION NUMBER HERE'' is in the form of an integer (i.e. <code>section=1</code>). The section number can be found in the at the end of the URL (<code>&action=edit§ion=#</code>) when you try to edit a section via the "[edit]" link to the right of the section header. | :To specify date, insert a vertical bar (<code>|</code>) after "Empty section" and type "<code>date=</code>''INSERT DATE HERE''". Typically ''INSERT DATE HERE'' is in the form of month name and 4-digit year (i.e. <code>date={{#time:F-Y}}</code> or <code>date={{#time:M Y}}</code>). To specify the section, insert another vertical bar (<code>|</code>) and type "<code>section=</code>''INSERT SECTION NUMBER HERE''". Typically ''INSERT SECTION NUMBER HERE'' is in the form of an integer (i.e. <code>section=1</code>). The section number can be found in the at the end of the URL (<code>&action=edit§ion=#</code>) when you try to edit a section via the "[edit]" link to the right of the section header. | ||
;Tracking Categories | |||
*[[:Category:Articles needing expansion]] | |||
*[[:Category:Articles with empty sections]] | |||
;TemplateData | |||
<templatedata> | |||
{ | |||
"params": { | |||
"date": { | |||
"label": "Date", | |||
"description": "The date of when this template was placed.", | |||
"example": "August 2010", | |||
"type": "line", | |||
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", | |||
"suggested": true | |||
}, | |||
"section": { | |||
"label": "Section number", | |||
"description": "The ordinal number of the section to be edited.", | |||
"example": "2", | |||
"type": "number" | |||
} | |||
}, | |||
"description": "Maintenance template 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\", \"Trivia\", \"See also\", or \"External links\" section can safely be deleted. Puts articles into [[Category:Articles with empty sections]] and [[Category:Articles needing expansion]].", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
;See also | |||
*{{t|Expand section}} | |||
*''[[wikipedia:Template:Empty section|Template:Empty section]]'' on Wikipedia. | |||
<includeonly> | <includeonly> | ||
[[Category:Article management templates|{{PAGENAME}}]]</includeonly><noinclude> | [[Category:Article management templates|{{PAGENAME}}]]</includeonly><noinclude> | ||
[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | [[Category:Template documentation|{{PAGENAME}}]]</noinclude> |