Modèle:Self-reference
De Wikisisar
Révision datée du 21 octobre 2017 à 20:52 par TDLaouer (discussion | contributions) (1 révision importée)
{{#ifeq:Modèle|Modèle||}}
{{#ifeq:{{{small}}}|left|}{{#switch:Modèle||Talk=|}}
{{#ifeq:{{{small}}}|left|}{{#switch:Modèle||Talk=|}}
{{#ifeq:{{{small}}}|left|}{{#switch:Modèle||Talk=|}}
This article may contain inappropriate self-references to the Wikipedia project or to itself. Please address the problem by removing references to Wikipedia or to the article as a document. {{#if:|See the [[Modèle talk:Self-reference#{{{talk}}}|talk page]] for details.}} (mai 2024) |
{{#ifeq:self-reference |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Self-reference. 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:Self-reference | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage
The default words "article or section" are replaceable: {{Self-reference|table}} produces:
{{#ifeq:Modèle|{{subst:NAMESPACE}}||}}This table may contain inappropriate self-references to the Wikipedia project or to itself. Please address the problem by removing references to Wikipedia or to the article as a document. {{#if:|See the [[Modèle talk:Self-reference#{{{talk}}}|talk page]] for details.}} (mai 2024) |
A date parameter can also be used to inform other editors of the time the tag has been in place: {{Self-reference|article|date=mai 2024}} produces something like:
{{#ifeq:Modèle|{{subst:NAMESPACE}}||}}This article may contain inappropriate self-references to the Wikipedia project or to itself. Please address the problem by removing references to Wikipedia or to the article as a document. {{#if:|See the [[Modèle talk:Self-reference#{{{talk}}}|talk page]] for details.}} (September 2007) |
This template will categorize articles into Category:Articles containing self-references.
See also
- {{Selfref}} (for valid self-references outside of article namespace)
- {{Srlink}}zh:Template:Self-reference
The above documentation is transcluded from Modèle:Self-reference/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. |