模板:Format footnotes/doc

< 模板:Format footnotes
Ph9讨论 | 贡献2020年12月27日 (日) 14:45的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

When to use

This template indicates that the article uses many improperly formatted or non-formatted inline citations that require large-scale conversion to an accepted form of inline citation.

How to use

To add this template to an article, copy and paste:

or

Both options result in the same output.

Examples

A standard, correct way of formatting the following citations (with some acceptable variations as described at Wikipedia:Citing sources) would be:

Correct: {{#ifeq:模板||模板:FormattingError|Australia has a government.[1]}}

References

1 }}

| -moz-column-width: ; -webkit-column-width: ; column-width: ; | {{#switch:|1=|2=-moz-column-width: 30em; -webkit-column-width: 30em; column-width: 30em;|#default=-moz-column-width: 25em; -webkit-column-width: 25em; column-width: 25em;}} }} | {{#if: | -moz-column-width: {{{colwidth}}}; -webkit-column-width: {{{colwidth}}}; column-width: {{{colwidth}}}; }} }} list-style-type: {{#switch: | upper-alpha | upper-roman | lower-alpha | lower-greek | lower-roman = | #default = decimal}};">

  1. Australian Government Press Agency (25 November 2009). "Australian Government". Retrieved 25 November 2009.

The following are examples of improperly formatted or non-formatted inline citations. This template is appropriate for articles that contain many such citations, therefore requiring large-scale conversion.

Embedded link

Incorrect: {{#ifeq:模板||模板:FormattingError|Australia has a government Australian Government.}}

or:

Incorrect: {{#ifeq:模板||模板:FormattingError|Australia has a government.[1]}}

Manual number

Incorrect: {{#ifeq:模板||模板:FormattingError|Australia has a governmentsee footnote 1}}

Parenthetical reference

Inline parenthetical referencing was a previously accepted citation system that is now deprecated per WP:PARREF. The recommendation is to convert inline parenthetical references to shortened footnotes (as depicted below) or regular footnotes (as depicted in the first example above) or footnotes with list-defined references.

Incorrect: {{#ifeq:模板||模板:FormattingError|Australia has a government (Australian Government Press Agency, 2009).}}

Correct: {{#ifeq:模板||模板:FormattingError|Australia has a government.[1]}}

References

1 }}

| -moz-column-width: ; -webkit-column-width: ; column-width: ; | {{#switch:|1=|2=-moz-column-width: 30em; -webkit-column-width: 30em; column-width: 30em;|#default=-moz-column-width: 25em; -webkit-column-width: 25em; column-width: 25em;}} }} | {{#if: | -moz-column-width: {{{colwidth}}}; -webkit-column-width: {{{colwidth}}}; column-width: {{{colwidth}}}; }} }} list-style-type: {{#switch: | upper-alpha | upper-roman | lower-alpha | lower-greek | lower-roman = | #default = decimal}};">

Sources

See also