Template:Shortcut: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Adding anchor functionality. (All pages that was feeding the first parameter the wrong way have been fixed, so now we can do this.)
m 1 revision imported
 
(17 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<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;"><!--
<includeonly>{{#invoke:Shortcut|main}}</includeonly><noinclude>
Putting anchors on page:
{{documentation}}
-->{{#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> }}<!--
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
Adding the shortcut links:
--><small>[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:<br> {{#ifexist:{{{1|}}}|[[{{{1}}}]]|{{{1|}}} }}{{#if:{{{2|}}}|<br> [[{{{2}}}]] }}{{#if:{{{3|}}}|<br> [[{{{3}}}]] }}{{#if:{{{4|}}}|<br> [[{{{4}}}]] }}{{#if:{{{5|}}}|<br> [[{{{5}}}]] }}</small></table><!--
Reporting if the first parameter is not a valid non-bracketed shortcut name:
-->{{#if:{{{1|}}}
| {{#ifexist:{{{1|}}}
  |
  | [[Category:Wikipedia shortcut box first parameter needs fixing|{{PAGENAME}}]]
  }}
}}<noinclude>
 
{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 01:57, 11 June 2021