Difference between revisions of "Template:Module"
Jump to navigation
Jump to search
(New feature: free-form parameter "sc" for ShortCut(s) -- it feels ironic to spell out the word "shortcut") |
(Check for special value "none" for sc, format any other value with code markup tags) |
||
Line 37: | Line 37: | ||
|- | |- | ||
! scope="row" | Shortcut(s) | ! scope="row" | Shortcut(s) | ||
− | | {{{sc|-}}} | + | | {{#switch:{{{sc|}}}<!-- |
+ | -->|none = (none)<!-- | ||
+ | -->|{{{sc}}} = <code>{{{sc}}}</code><!-- | ||
+ | -->|#default = -<!-- | ||
+ | -->}} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
Line 52: | Line 56: | ||
|sc = Shortcut(s) | |sc = Shortcut(s) | ||
}}</nowiki> | }}</nowiki> | ||
+ | If <code>'''<nowiki>|sc=</nowiki>'''</code> is set to ''none'' <samp>(none)</samp> will be shown. | ||
[[Category:Modules|*]]<!-- To modify sortkey --> | [[Category:Modules|*]]<!-- To modify sortkey --> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 07:40, 10 April 2019
Module: {{{name}}} | |
---|---|
Type | {{{type}}} |
First VLC version | - |
Last VLC version | - |
Operating system(s) | all |
Description | {{{description}}} |
Shortcut(s) | - |
Template for Documentation:Modules/* pages.
Usage
{{Module |type = module type |first_version = Version of VLC in which plugin first appeared |last_version = Version of VLC in which plugin last appeared before being removed |os = Operating system of the plugin |description = A short, brief description of the plugin |sc = Shortcut(s) }}
If |sc=
is set to none (none) will be shown.