“模板:Very long”的版本间的差异

wikilife>Hddty
(remove whitespace)
(没有差异)

2019年5月7日 (二) 23:33的版本

{{#ifeq:|left|}}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:very long |doc

    | 

{{#ifeq:show |show

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

See Wikipedia:Article size for more information on this topic.

Usage

Add {{Very long|date=11月 2024}} to the top of the article, below any hatnotes.

small parameter
{{Very long|small=left|date=11月 2024}} generates the following smaller-sized template, a left-size box instead of a banner (which is usually only of use with |{{SAFESUBST:#if:section|section=}}, below): {{#ifeq:left|left|}}
Section-specific use

If just a particular section of an article is getting long, it can be tagged by adding the |{{SAFESUBST:#if:section|section=}} parameter, or using the {{Very long section}} template variant:

{{Very long section}} and {{Very long|section|small=left|date=11月 2024}} both render: {{#ifeq:|left|}}
Readable prose size
The readable prose size in kilobytes, calculated with the help of tools like Prosesize or Shubinator's DYK tool, can be added manually to the template: {{Very long|rps=75}} generates the following template: {{#ifeq:|left|}}
nosplit parameter

Adding |{{SAFESUBST:#if:nosplit|nosplit=}}yes (or any other value for that parameter, such as y or true) will suppress mention of splitting the material to new sub-articles, since not all content is suitable for splitting (usually because it would fail WP:Notability as a stand-alone article).

Categorization

This template adds tagged articles to Category:Articles that may be too long, or one of its dated subcategories.

{{Wikipedia:Template messages/Splitting/List|noheading=yes}}{{Wikipedia:Template messages/Merging/List|noheading=yes}}

See also

{{#if:{{#ifeq:Very lo|sandbox|1}}{{#ifeq:Very long|doc|1}}||

}}