Modèle:Refexample
This {{#if:|{{{1}}}|article}} gives self-sourcing examples without describing their significance in the context of the article. (mai 2024) |
{{#ifeq:refexample |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Refexample. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Refexample | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Example template usage for copy-pasting:
{{{{#if:Refexample|Refexample| tlc|...}}{{#ifeq:section|section| |section | }}{{#ifeq:date=mai 2024|date=mai 2024| |date=mai 2024 | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
{{{{#if:refex|refex| tlc|...}}{{#ifeq:section|section| |section | }}{{#ifeq:small=y|small=y| |small=y | }}{{#ifeq:date=mai 2024|date=mai 2024| |date=mai 2024 | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
{{{{#if:refex|refex| tlc|...}}{{#ifeq:date=mai 2024|date=mai 2024| |date=mai 2024 | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
{{{{#if:Refimprove example|Refimprove example| tlc|...}}{{#ifeq:date=mai 2024|date=mai 2024| |date=mai 2024 | }}{{#ifeq:talk=Talk page section|talk=Talk page section| |talk=Talk page section | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
Sommaire
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:Modèle| | 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:Modèle| | 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:Modèle| | 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:Modèle| | 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 some, but insufficient, inline citations to support the material currently in the article.
Inline alternatives
Please consider marking individual poorly-referenced statements with {{{{#if: |subst:}}Better source example{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
or {{{{#if: |subst:}}importance example{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
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:Refimprove § RfC: Location of Tag.
The optional |{{#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 |{{#if:small|small=}}
parameter is allowed; setting this to any non-empty value will result in a smaller, left-aligned message box.
The optional |{{#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 mai 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:
{{{{#if:Refexample|Refexample| tlc|...}}{{#ifeq:date=mai 2024|date=mai 2024| |date=mai 2024 | }}{{#ifeq:x|| |{{{3}}} | }}{{#ifeq:x|| |{{{4}}} | }}{{#ifeq:x|| |{{{5}}} | }}{{#ifeq:x|| |{{{6}}} | }}{{#ifeq:x|| |{{{7}}} | }}{{#ifeq:x|| |{{{8}}} | }}{{#ifeq:x|| |{{{9}}} | }}}}
A user warning template, {{Uw-refexample}}, is available to notify contributors that an article they created needs its referencing improved.
Template data
See the monthly error report for this template.
TemplateData for Refexample
}} <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}}
The above documentation is transcluded from Modèle:Refexample/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- Article message templates
- Articles using small message boxes
- Documentation subpages without corresponding pages
- Pages using center with no arguments
- Templates needing substitution checking
- Pages with incorrectly substituted templates
- Templates including undated clean-up tags
- Pages using small with an empty input parameter
- Pages containing citation needed template with deprecated parameters
- TemplateData documentation
- Citation and verifiability maintenance templates
- Inline cleanup templates
- Exclude in print