Template:Shortcut: Difference between revisions

From USApedia
>Nardog
(TfM closed)
 
m (Text replacement - "Saintapedia" to "USApedia")
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Shortcut|main}}</includeonly><noinclude>
<!--
{{documentation}}
Putting anchors on page:
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
--><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>
<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;"><!--
Adding the shortcut links:
--><small>[[USApedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]: {{#if:{{{1|}}}|<br> [[{{{1}}}]] }}{{#if:{{{2|}}}|<br> [[{{{2}}}]] }}{{#if:{{{3|}}}|<br> [[{{{3}}}]] }}{{#if:{{{4|}}}|<br> [[{{{4}}}]] }}{{#if:{{{5|}}}|<br> [[{{{5}}}]] }}</small></th></tr></table><!--
Reporting if the first parameter is not a valid non-bracketed shortcut name:
-->{{#if:{{{1|}}}
| {{#ifexist:{{{1|}}}
  |
  | [[Category:USApedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
  }}
}}<noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<templatedata>
{
"params": {
"1": {
"label": "Shortcut 1",
"description": "First redirect that you want to highlight",
"type": "wiki-page-name"
},
"2": {
"label": "Shortcut 2",
"description": "Second redirect that you want to highlight"
},
"3": {
"label": "Shortcut 3",
"description": "Third redirect that you want to highlight"
},
"4": {
"label": "Shortcut 4",
"description": "Fourth redirect that you want to highlight"
},
"5": {
"label": "Shortcut 5",
"description": "Fifth redirect that you want to highlight"
}
}
}
</templatedata>
[[Category:Templates with TemplateData]]
[[Category:Favorite templates]]
</noinclude>
</noinclude>

Latest revision as of 23:08, 14 November 2024

Shortcut:

No description.

Template parameters

ParameterDescriptionTypeStatus
Shortcut 11

First redirect that you want to highlight

Page nameoptional
Shortcut 22

Second redirect that you want to highlight

Unknownoptional
Shortcut 33

Third redirect that you want to highlight

Unknownoptional
Shortcut 44

Fourth redirect that you want to highlight

Unknownoptional
Shortcut 55

Fifth redirect that you want to highlight

Unknownoptional