Difference between revisions of "Template:Shortcut"
[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
Emily Pugh (talk | contribs) m (1 revision) |
Emily Pugh (talk | contribs) m (1 revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
Putting anchors on page: | Putting anchors on page: | ||
− | --><div style="position: relative; top: -3em;">{{#if:{{{1|}}}|<span id="{{{1|}}}"></span> }}{{#if:{{{2|}}}|<span id="{{{2|}}}"></span> }}{{#if:{{{3|}}}|<span id="{{{3|}}}"></span> }}{{#if:{{{4|}}}|<span id="{{{4|}}}"></span> }}{{#if:{{{5|}}}|<span id="{{{5|}}}"></span> }}</div> | + | --><div style="position: relative; top: -3em;">{{#if:{{{1|}}}|<span id="{{anchorencode:{{{1|}}}}}"></span> }}{{#if:{{{2|}}}|<span id="{{anchorencode:{{{2|}}}}}"></span> }}{{#if:{{{3|}}}|<span id="{{anchorencode:{{{3|}}}}}"></span> }}{{#if:{{{4|}}}|<span id="{{anchorencode:{{{4|}}}}}"></span> }}{{#if:{{{5|}}}|<span id="{{anchorencode:{{{5|}}}}}"></span> }}</div> |
<table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><th style="border: none; background: transparent;" class="plainlist"><!-- | <table class="shortcutbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><th style="border: none; background: transparent;" class="plainlist"><!-- | ||
Adding the shortcut links: | Adding the shortcut links: | ||
--><small>[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]: | --><small>[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]: | ||
− | {{#if:{{{1|}}}| | + | {{#if:{{{1|}}}|<ul><li> [[{{{1}}}]]</li> |
− | }}{{#if:{{{2|}}}| | + | }}{{#if:{{{2|}}}|<li> [[{{{2}}}]]</li> |
− | }}{{#if:{{{3|}}}| | + | }}{{#if:{{{3|}}}|<li> [[{{{3}}}]]</li> |
− | }}{{#if:{{{4|}}}| | + | }}{{#if:{{{4|}}}|<li> [[{{{4}}}]]</li> |
− | }}{{#if:{{{5|}}}| | + | }}{{#if:{{{5|}}}|<li> [[{{{5}}}]]</li> |
− | }}</small></th></tr></table><!-- | + | }}{{#if:{{{msg|}}}|<li> {{{msg}}}</li> |
+ | }}</ul></small></th></tr></table><!-- | ||
Reporting if the first parameter is not a valid non-bracketed shortcut name: | Reporting if the first parameter is not a valid non-bracketed shortcut name: | ||
-->{{#if:{{{1|}}} | -->{{#if:{{{1|}}} |
Latest revision as of 20:39, September 10, 2013
{{#invoke: fallback|autotranslate
|base = Documentation |lang = ⧼Lang⧽ |1 = Template:Shortcut/doc |2 = |content =
}}