{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Self-reference. 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:模板:Self-reference | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage编辑
The default words "article or section" are replaceable: {{Self-reference|table}} produces:
{{#ifeq:模板|{{subst:NAMESPACE}}||}}
This table may contain inappropriate self-references to the Wikipedia project or to itself. |
{{#ifeq:{{{small}}}|left|}}{{#switch:模板||Talk=|}}
A date parameter can also be used to inform other editors of the time the tag has been in place: {{Self-reference|article|date=11月 2024}} produces something like:
{{#ifeq:模板|{{subst:NAMESPACE}}||}}
This article may contain inappropriate self-references to the Wikipedia project or to itself. (September 2007) |
{{#ifeq:{{{small}}}|left|}}{{#switch:模板||Talk=|}}
This template will categorize articles into Category:Articles containing self-references.
See also编辑
- {{Selfref}} (a hatnote template for valid self-references)
- {{Self-reference link}}