更改

添加3,631字节 、 2020年4月27日 (一) 11:27
→‎See alsoclean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

This template sorts articles into [[:Category:Articles with trivia sections]].

{{Substitution|only|if you want it to be automatically dated}}

== Placement ==

Editors should '''not''' use this template to tag sections they consider trivial (i.e., which topically address something the editor does not think should be covered). In accordance with [[Wikipedia:Manual of Style (trivia sections)|Wikipedia:Trivia sections]], this template should only be placed at the top of sections that contain ''indiscriminate'' and ''unselective'' lists.

== Usage ==

To help with the categorization of articles, please use the optional date parameter, e.g. <code><nowiki>{{trivia|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>. Articles tagged with this template without the parameter will eventually be given the parameter by a [[Wikipedia:Bots|bot]].

The simplest way to add this template to an article is to copy and paste <code><nowiki>{{trivia|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>

===Optional parameters===
* '''{{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}''' &nbsp; Please help with the categorization of articles for cleanup by using this parameter. You can use {{para|date|<nowiki>{{subst:DATE}}</nowiki>}} as a shorthand to enter this parameter. Articles tagged with this template without the parameter will eventually be given the parameter by a [[Wikipedia:Bots|bot]], but it may not reflect the correct month of tagging.
* '''{{para|to}}''' &nbsp; a.k.a. '''{{para|2}}''' &nbsp; Location of page or section to which to suggest moving the relevant material, e.g.: {{para|to|#Filmography}} or {{para|2|Nocturnal underwater basketweaving#Techniques}}. If the '''{{para|small}}''' option is turned on, this information does not display, but may still be useful to editors.
* '''{{para|section}}''' &nbsp; a.k.a. {{para|sect}} &nbsp; If given a positive value (<kbd>y</kbd>, <kbd>yes</kbd>, <kbd>1</kbd>, <kbd>true</kbd>), will change "This article" to "This section". If given some other value, will change it to use that value, e.g. "This table", "This list".
** '''{{para|1}}''' &nbsp; The second of those uses can also be done as the first unnamed or numbered parameter: {{tnull|trivia|section}} or {{tnull|trivia|1{{=}}timeline|2{{=}}History of burritos}}
* '''{{para|small|y}}''' &nbsp; If given a positive value (<kbd>y</kbd>, <kbd>yes</kbd>, <kbd>1</kbd>, <kbd>true</kbd>), makes the template into a smaller box, instead of a banner. Requires explicit definition of the template as applying not to the entire article: {{tnull|trivia|sect{{=}}y|small{{=}}y}} or {{tnull|trivia|table|small{{=}}yes}} or {{tnull|trivia|section{{=}}"In popular culture" material|small{{=}}1}}

== Closely related templates ==
{{Trivia templates see-also}}

== See also ==
* [[Wikipedia:Manual of Style (trivia sections)]]
* [[Wikipedia:Handling trivia]] – [[WP:Essay|Essay]] on trivia in Wikipedia, what it is and how it should be handled
* [[Wikipedia:"In popular culture" content]] – Essay on "popular culture"-types articles and sections
* [[Wikipedia:WikiProject Trivia Cleanup]] – Wikiproject designed to clean up long lists of trivia in articles
* [[Template:Example farm]] – For articles or sections with too many examples
* [[Wikipedia:Template messages/Cleanup]] – Index of cleanup templates

<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:List cleanup maintenance templates‎|{{PAGENAME}}]]
}}</includeonly>
匿名用户