Difference between revisions of "Template:Howto"
Jump to navigation
Jump to search
(Greatly simplify with CSS) |
m ("silent=no" and similar should not be silent, fix syntax) |
||
Line 1: | Line 1: | ||
− | {| class="widebox {{# | + | {| class="widebox {{#switch:{{{silent}}}|yes|y = hiddenStructure}} center" style="border-spacing:2px;" |
|style="text-align: left; padding: 3px;"|This page describes ''how to {{lcfirst:{{{1}}}}}''. | |style="text-align: left; padding: 3px;"|This page describes ''how to {{lcfirst:{{{1}}}}}''. | ||
|class="nowrap" style="text-align: right; padding: 3px;"|[[VLC HowTo|Other "how to" pages]] | |class="nowrap" style="text-align: right; padding: 3px;"|[[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 == | == Usage == | ||
Calling the template currently: | Calling the template currently: |
Revision as of 07:26, 25 March 2019
This page describes how to {{{1}}}. | Other "how to" pages |
Usage
Calling the template currently:
- Auto-categorises pages to be members of Category:How To
- Corrects the sortkey: telling the system that VLC HowTo/Adjust audio delay ought to be filed as "Adjust audio delay" (A) and not "VLC HowTo/Adjust audio delay" (V).
- Displays a message (optional)
- {{howto|do something}}) will show a message will be shown similar to the above.
- {{howto|silent=yes}} will suppress the message altogether—however, the template still auto-categorises and auto-sorts.