模板:Off topic/doc
< 模板:Off topic
wikilife>Vanisaac2020年4月27日 (一) 01:28的版本 (→See also:clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and <includeonly>)
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px | This is a documentation subpage for 模板:Off topic. 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:模板:Off topic | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage
Place {{Off topic|date=11月 2024}}
at the top of sections that seem to stray off the page's topic (if the date is omitted, bots will add it later).
If relevant, explain why on the article's talk page.
- This template will categorize tagged articles into Category:All articles that may have off-topic sections and the appropriate dated subcategory of Category:Wikipedia articles that may have off-topic sections.
- This template is a self-reference.
- This template should not be substituted.
Other article
{{Off topic|date=11月 2024|Foobar|talksectionheading}}
will result in:
This section may stray from the topic of the article{{#if:Foobar| into the topic of another article, Foobar}}. |
{{#ifeq:{{{small}}}|left|}}
See also
- {{Category relevant?}} - banner template to question the inclusion of the article in a particular category or categories
- {{Importance section}} - banner template to flag an entire section as possibly off-topic or indiscriminate trivia
- {{Relevance inline}} – an inline template to flag potentially off-topic material in mid-paragraph
- Wikipedia:Template messages/Cleanup – index of cleanup-related templates
- Wikipedia:Writing better articles § Stay on topic – guideline on encyclopedic content
For talk pages:
- {{Off-topic thread}} – for use on talk pages to mark a thread as off-topic (usually with an indication what the more appropriate venue would be)
- {{Moved discussion to}} – to point from off-topic or dead discussion to properly-placed and ongoing one
- {{Collapse top}}, {{Collapse bottom}}, etc. – for hiding knots of off-topic and potentially disruptive talk-page venting
- Wikipedia:Talk page guidelines § How to use article talk pages – guideline on talk-page content