模板:Format footnotes/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Format footnotes. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#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:
{{Format footnotes/doc|{{subst:DATE}}}}
- or
{{Format footnotes/doc|date=11月 2024}}
Both options result in the same output.
- This template will add the page to Category:Articles needing footnote reformatting and Category:Articles covered by WikiProject Wikify.
- A bot will add the date for you at a later time if you forgot.
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}};">
- ↑ 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}};">
- ↑ Davidson & Court 2011, p. 1.
- Sources
- Davidson, Hazel; Court, Dorothy (2011). Australian Government. Chapel Hill, Qld: Sugarbag on Damper. ISBN 9780975759387. OCLC 697121237.
See also编辑
- Help:Footnotes
- Help:List-defined references
- Help:Shortened footnotes
- Wikipedia:Citing sources
- Wikipedia:Citing sources/Example edits for different methods
- Wikipedia:Citation templates
- Wikipedia:Template index/Cleanup