wikilife>BrightR (Undid revision 874961371 by 178.115.130.74 (talk) - this is an inclusive or) |
(没有差异)
|
2018年12月23日 (日) 20:04的版本
This {{#if:|{{{1}}}|article}} gives self-sourcing popular culture examples without describing their significance in the context of the article. (11月 2024) (Learn how and when to remove this template message) |
{{#ifeq:{{#if:|left}}|left|}}
{{#ifeq:refexample |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:Refexample. 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:模板:Refexample | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Example template usage for copy-pasting:
{{Refexample|section|date=11月 2024}}
{{refex|section|small=y|date=11月 2024}}
{{refex|date=11月 2024}}
{{Refimprove example|date=11月 2024|talk=Talk page section}}
Self-sourcing examples
Examples should be meaningful in the context of the article, explained in the prose and cited to reliable sources
A self-sourcing example in popular culture, according to current consensus by discussion on WT:V, is an example that is cited to primary sources, or an example with citations that only establish the verifiability of the example. An example in popular culture should have sources that not only establish its verifiability, but also discuss its significance in the context of the article.
Examples of self-sourcing examples
A self-sourcing example might look like the following: {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板| | main | other }} }}
| main = | other
| #default =}} The provided sources establish the verifiability of the example. They might even establish its notability. However, they do not discuss the example in the context it's given in the article. Such an example may be challenged or removed.
A source that does discuss the significance of an example in the context of the article might look like the following: {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板| | main | other }} }}
| main = | other
| #default =}} The source discusses the example, in the context of the article, at relative depth, while explaining the example's significance in that context.
A source that discusses an example as significant in one context does not necessarily show its significance in another context: {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板| | main | other }} }}
| main = | other
| #default =}} The source discusses the example in a different context than the one provided.
Some examples may be of questionable importance. {{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:模板| | main | other }} }}
| main = | other
| #default =}}
Usage
When to use
This template indicates that the article or section needs additional inline citations that do not fall under self-sourcing examples. This template should be used only for articles where there are insufficient inline citations to support the material currently in the article.
Inline alternatives
Please consider marking individual poorly-referenced statements with {{Better source needed example}}
or {{importance example}}
instead of placing this template.
How to use
According to MOS:LAYOUT, maintenance templates such as this one ought be placed after hatnotes, at the start of the article. That placement is supported by consensus obtained in an RfC at Template talk:More citations needed § RfC: Location of Tag.
The optional |{{SAFESUBST:#if:talk|talk=}}
parameter is allowed; setting this to any non-empty value will result in the message "See talk page for details." being included in the tag. If the value is a valid anchor on the talk page (e.g., the title of a section or subsection heading), then the talk page link will go directly to that anchor; if not, to the top of the page.
The optional |{{SAFESUBST:#if:small|small=}}
parameter is allowed; setting this to any non-empty value will result in a smaller, left-aligned message box.
The optional |{{SAFESUBST:#if:date|date=}}
parameter is allowed; it requires using a non-abbreviated month name and four-digit year. Adding this parameter sorts the article into subcategories of Category:Articles needing additional references and out of the parent category, allowing the oldest problems to be identified and dealt with first. A bot will add this parameter if it is omitted. This parameter adds the article to Category:Articles needing additional references from 11月 2024, and Category:All articles needing additional references, both hidden categories. The simplest way to use this parameter manually is to copy the following example:
{{Refexample|date=11月 2024}}
A user warning template, {{Uw-refexample}}, is available to notify contributors that an article they created needs its referencing improved.
Template data
|={{#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:Refexample}}. |#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:Refexample}}. |#default=[2]
}}}}
TemplateData for Refexample
{{#if: | {{{demospace}}} | {{#ifeq:模板|模板 | template | other }} }}
| template = {{#if:{{#ifeq:Refexam|sandbox|1}}{{#ifeq:Refexample|doc|1}}||
}} | other | #default = }} <templatedata> { "description": "This template generates a tag to indicate that the article needs additional inline citations that do not fall under \"self-sourcing examples\".", "params": { "1": { "label": "Type (typically section)", "description": "Something to replace \"article\" in the template, typically \"section\"", "type": "string", "required": false }, "date": { "label": "Date", "description": "The month and year that the need for citations is identified, such as 'June 2013'; may use '{{subst:DATE}}' template instead", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "talk": { "label": "Talk", "description": "Any value (such as 'y') will result in the addition of 'See talk page for details.' to the tag", "type": "string", "required": false }, "small": { "label": "small", "description": "Any value (such as 'y') will result in a smaller message box", "type": "string", "required": false } }, "format": "block" } </templatedata>
See also
- WP:INDISCRIMINATE
- Discussion and consensus about the verifiability of examples
- Template:Citation needed/doc#Inline templates
- {{Importance example}} — an inline variation of this template
- {{Better source}}
- {{Refimprove inline}}
- {{Example farm}}
- Wikipedia:Template messages/Cleanup/Verifiability and sources
{{#if:{{#ifeq:Refexam|sandbox|1}}{{#ifeq:Refexample|doc|1}}|| }}