Difference between revisions of "Template:How-to"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Making it so it only categorises when in main (article) space, and not when shown/demonstrated on other pages.)
imported>Thumperward
(clean the line breaks up. remove the '''excessive''' and '''random''' bold outside ''''the''' first line)
Line 1: Line 1:
 
{{ambox
 
{{ambox
 
| type = content
 
| type = content
| text = This {{{1|article}}} '''contains [[:Category:Articles containing how-to sections|instructions, advice, or how-to content]].''' The purpose of Wikipedia is to '''present facts''', not to '''teach subject matter'''. <br> <small>Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this article] either by rewriting the how-to content or by [[m:Help:Transwiki|moving]] it to [[v:|Wikiversity]] or [[b:|Wikibooks]].</small> {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
+
| text = This {{{1|article}}} '''contains [[:Category:Articles containing how-to sections|instructions, advice, or how-to content]]'''. The purpose of Wikipedia is to present facts, not to teach subject matter. Please help [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this article] either by rewriting the how-to content or by [[m:Help:Transwiki|moving]] it to [[v:|Wikiversity]] or [[b:|Wikibooks]]. {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
 
}}{{main other
 
}}{{main other
 
| [[Category:Articles containing how-to sections]]{{
 
| [[Category:Articles containing how-to sections]]{{
Line 8: Line 8:
 
   }}
 
   }}
 
| <!-- Do not categorise when not on article pages. -->
 
| <!-- Do not categorise when not on article pages. -->
}}<noinclude>
+
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
 
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Revision as of 10:10, 6 February 2009

Template documentation[view] [edit] [history] [purge]

Usage

Add {{How-to|date=April 2026}} to the top to the article in question. If the problem only related to one section, add {{How-to|section}} to the top of the section.

This template adds tagged articles to Category:Articles containing how-to sections and to a dated subcategory of Category:Articles needing cleanup.

See also