Difference between revisions of "Template:Howto"

From VideoLAN Wiki
Jump to navigation Jump to search
(→‎Usage: it's more awkward code-wise, but {{howto|silent=yes}} seems clearer than {{howto}}...)
m (Modify sortkey)
Line 13: Line 13:
 
#* {{<nowiki />howto|silent=yes}} will suppress the message altogether—however, the template still auto-categorises and auto-sorts.
 
#* {{<nowiki />howto|silent=yes}} will suppress the message altogether—however, the template still auto-categorises and auto-sorts.
  
{{DEFAULTCATEGORYSORT:*}}
+
[[Category:How To|*]]<!-- modifies sortkey -->
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 04:45, 28 January 2019

This page describes how to {{{1}}}. Other "how to" pages

Usage

Calling the template currently:

  1. Auto-categorises pages to be members of Category:How To
  2. 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).
  3. 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.