Template:Shortcut/layout: Difference between revisions
Jump to navigation
Jump to search
(code and html code cleaning) |
(add ref for docs of basepage) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Badge | {{Badge | ||
| align = {{dir|{{pagelang}}|left|right}} | | align = right <!-- {{dir|{{pagelang}}|left|right}} --> | ||
| bg-color = #ccff99 | | bg-color = #ccff99 | ||
| border = | | border = | ||
Line 11: | Line 11: | ||
-->{{#if: {{{4|}}} | <br>[[{{{4}}}|'''{{{4}}}''']] }}<!-- | -->{{#if: {{{4|}}} | <br>[[{{{4}}}|'''{{{4}}}''']] }}<!-- | ||
-->{{#if: {{{5|}}} | <br>[[{{{5}}}|'''{{{5}}}''']] }}<!-- | -->{{#if: {{{5|}}} | <br>[[{{{5}}}|'''{{{5}}}''']] }}<!-- | ||
-->}} | -->}}<noinclude> | ||
{{Documentation | Template:Shortcut/doc}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here. Thanks. --> | |||
</noinclude> |
Latest revision as of 20:22, 11 December 2017
Usage
shortcut: Main Page
{{Shortcut|Main Page}}
{{Shortcut|Main Page|Packs}}
Supports up to 5 shortcuts.
Source
Code initially taken from Mediawiki - Template:Shortcut/en
Related pages
- {{Shortcut}} - main page
- {{Shortcut/layout}} - responsible for styling
The above documentation is transcluded from Template:Shortcut/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |