Template:Shortcut
From Nautical Wiki
Shortcut{{#if:|s}}:{{#if:|
{{{1}}}
}}{{#if:|
{{{2}}}
}}{{#if:|
{{{3}}}
}}{{#if:|
{{{4}}}
}}{{#if:|
{{{5}}}
{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist:Template:Documentation/docname
|[[{{fullurl:Template:Documentation/docname}} view]] [[{{fullurl:Template:Documentation/docname|action=edit}} edit]] [[{{fullurl:Template:Documentation/docname|action=history}} history]] [[[:Template:Purge]]]
|[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
}}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}{{#ifexist:Template:Documentation/docname
|This documentation is transcluded from [[Template:Documentation/docname]]. ([{{fullurl:Template:Documentation/docname|action=edit}} edit] | [{{fullurl:Template:Documentation/docname|action=history}} history])
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
}}{{#switch:Shortcut |sandbox|testcases= |#default= {{#switch:Template |Template |User= {{#ifexist:Template:Shortcut/sandbox |This template has a sandbox ([{{fullurl:{{#rel2abs:/sandbox}}|action=edit}} edit]) {{#ifexist:Template:Shortcut/testcases |and testcases ([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Shortcut/testcases |This template has testcases ([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:||{{#ifexist:Template:Documentation/docname|{{ Template:Documentation/docname}}}}}}