Difference between revisions of "Template:Howto"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Modify sortkey)
m (Identical CSS)
Line 1: Line 1:
<includeonly>{{#if:{{{silent|}}}||</includeonly>{{{!}} cellspacing="2" cellpadding="3" class="widebox"
+
<includeonly>{{#if:{{{silent|}}}||</includeonly>{{{!}} class="widebox center" style="border-spacing:2px;"
{{!}}align="left"{{!}}This page describes ''how to {{lcfirst:{{{1}}}}}''.
+
{{!}}style="text-align: left; padding: 3px;"{{!}}This page describes ''how to {{lcfirst:{{{1}}}}}''.
{{!}}align="right"{{!}}<span style="white-space:nowrap;">[[VLC HowTo{{!}}Other "how to" pages]]</span>
+
{{!}}class="nowrap" style="text-align: right; padding: 3px;"{{!}}[[VLC HowTo{{!}}Other "how to" pages]]
 
{{!}}}<includeonly>}}</includeonly>
 
{{!}}}<includeonly>}}</includeonly>
 
{{#if: {{{nosort|}}} |  |<includeonly>{{DEFAULTSORT:{{#titleparts:{{FULLPAGENAME}}|1|2}}}}</includeonly>|noerror}}
 
{{#if: {{{nosort|}}} |  |<includeonly>{{DEFAULTSORT:{{#titleparts:{{FULLPAGENAME}}|1|2}}}}</includeonly>|noerror}}

Revision as of 08:31, 23 March 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.