{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:模板:Empty section
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#if:||{{#ifeq:Empty section/doc|Empty section|}}}}

Usage编辑

{{#ifeq:{{safesubst:#switch: {{{header}}}

|no
|n
|f
|false
|off
|0        = no
|         = yes
|¬        = yes
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}}|yes|

{{#if:|{{#switch:
|={{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Empty section}}.
|#default=[1]

}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:

|={{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Empty section}}.
|#default=[2]

}}}}

TemplateData for Empty section

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:模板|模板
   | template
   | other
   }}
 }}

| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||

}} | other | #default = }}

}}

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", "See also" 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


{{Empty section|date=6月 2024|section= }}
⧼templatedata-doc-param-name⧽⧼templatedata-doc-param-desc⧽⧼templatedata-doc-param-type⧽⧼templatedata-doc-param-status⧽
Month and yeardate
The month and year that the template was placed (in full).
⧼templatedata-doc-param-example⧽
February 2020
⧼templatedata-doc-param-autovalue⧽
6月 2024
⧼templatedata-doc-param-type-line⧽⧼templatedata-doc-param-status-suggested⧽
Section numbersection
The section number to be edited (or whatever the &section= parameter accepts).
⧼templatedata-doc-param-type-string⧽⧼templatedata-doc-param-status-optional⧽
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. (See Template:Ambox/doc#The small parameters.)
⧼templatedata-doc-param-type-string⧽⧼templatedata-doc-param-status-optional⧽

Format: inline

Tracking categories编辑

  • [[:Category:{{#ifeq:All artic|Category:|模板:Str right|All articles to be expanded}}|{{#if:|{{{name}}}|Category:{{#ifeq:All artic|Category:|模板:Str right|All articles to be expanded}}}}]] (0)
  • [[:Category:{{#ifeq:All artic|Category:|模板:Str right|All articles with empty sections}}|{{#if:|{{{name}}}|Category:{{#ifeq:All artic|Category:|模板:Str right|All articles with empty sections}}}}]] (0)

Redirects编辑

See also编辑