Difference between revisions of "Template:Howto"
Jump to navigation
Jump to search
(Removing redundant code now that the "widebox" class in defined in MediaWiki:Common.css and MediaWiki:Vector.css) |
(Copy-edit, humour) |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | {{#if:{{{1<includeonly>|</includeonly>}}} |
− | + | | {{{!}} class="widebox center cellpadding-3px" style="border-spacing:2px;" | |
− | + | {{!}}style="text-align: left;"{{!}}This page describes ''how to {{lcfirst:{{{1<noinclude>|do something</noinclude>}}}}}''. | |
− | + | {{!}}class="nowrap" style="text-align: right;"{{!}}[[VLC HowTo{{!}}Other "how to" pages]] | |
− | {{# | + | {{!}}} |
− | + | }} | |
− | {{ | + | {{#switch:{{{nosort}}}|yes|y = |#default = <includeonly>{{DEFAULTSORT:{{#titleparts:{{FULLPAGENAME}}|1|2}}|noerror}}</includeonly>}} |
+ | {{#switch:{{{nocat}}}|yes|y = |#default = [[Category:How To]]}}<noinclude> | ||
+ | == Usage == | ||
+ | Calling the template currently: | ||
+ | # Adds page to [[:Category:How To]] | ||
+ | # Sorts page under correct title, rather than <code>V</code> for <del>Vendetta</del> <code>VLC HowTo</code> | ||
+ | # Displays a message '''(optional)''' | ||
+ | #* <code>{{{{PAGENAME}}<nowiki>}}</nowiki></code> no banner | ||
+ | #* <code>{{{{PAGENAME}}<nowiki>|play music with VLC}}</nowiki></code> banner: <samp>This page describes ''how to play music with VLC''.</samp> | ||
+ | |||
+ | [[Category:How To|*]]<!-- modifies sortkey --> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 04:03, 9 June 2019
This page describes how to do something. | Other "how to" pages |
Usage
Calling the template currently:
- Adds page to Category:How To
- Sorts page under correct title, rather than
V
forVendettaVLC HowTo
- Displays a message (optional)
{{Howto}}
no banner{{Howto|play music with VLC}}
banner: This page describes how to play music with VLC.