Template:Shortcut/layout: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(initial copy)
 
(add ref for docs of basepage)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Badge|align={{dir|{{pagelang}}|left|right}}|bg-color=#ccff99|border=|style=font-size: 85%;|content={{{shortcuts2|}}} <!--
{{Badge
| align = right <!-- {{dir|{{pagelang}}|left|right}} -->
| bg-color = #ccff99
| border =
| style = font-size: 85%;
| content = {{{shortcuts2|}}} <!--
  If there is only one, show "shortcut: FOO", other wise "shortcuts:<br />FOO<br />BAR.."
  If there is only one, show "shortcut: FOO", other wise "shortcuts:<br />FOO<br />BAR.."
-->{{#if: {{{1|}}} | {{#if: {{{2|}}} | <br /> }} [[{{{1}}}|'''{{{1}}}''']] }}<!--
-->{{#if: {{{1|}}} | {{#if: {{{2|}}} | <br> }} [[{{{1}}}|'''{{{1}}}''']] }}<!--
-->{{#if: {{{2|}}} | <br />[[{{{2}}}|'''{{{2}}}''']] }}<!--
-->{{#if: {{{2|}}} | <br>[[{{{2}}}|'''{{{2}}}''']] }}<!--
-->{{#if: {{{3|}}} | <br />[[{{{3}}}|'''{{{3}}}''']] }}<!--
-->{{#if: {{{3|}}} | <br>[[{{{3}}}|'''{{{3}}}''']] }}<!--
-->{{#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

Template documentation[view] [edit] [history] [purge]

Usage

shortcut: Main Page
{{Shortcut|Main Page}}
shortcuts:
Main Page
Packs
{{Shortcut|Main Page|Packs}}

Supports up to 5 shortcuts.

Source

Code initially taken from Mediawiki - Template:Shortcut/en

Related pages