Difference between revisions of "Template:Shortcut"

From Noolaham Foundation
Jump to navigation Jump to search
Line 1: Line 1:
<!--
+
<table class="noprint Template-Shortcut" style="border:1px solid #999; background:#fff; margin: .3em .3em .3em 1em; padding:3px; float:right"><th class="noprint" align="center" valign="top"><small>[[விக்கிபீடியா:குறுக்கு வழி|குறுக்கு வழி{{#if:{{{2|}}}|கள்}}]]:<br />{{#ifexist:{{{1|}}}|[[{{{1}}}]]|{{{1|}}} }}{{#if:{{{2|}}}|<br />[[{{{2}}}]]}}{{#if:{{{3|}}}|<br />[[{{{3}}}]]}}{{#if:{{{4|}}}|<br />[[{{{4}}}]]}}{{#if:{{{5|}}}|<br />[[{{{5}}}]]}}</small></th></table>
Putting anchors on page:
 
--><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"><!--
 
Adding the shortcut links:
 
--><small>[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]:
 
  {{#if:{{{1|}}}|<ul><li> [[{{{1}}}]]</li>
 
}}{{#if:{{{2|}}}|<li> [[{{{2}}}]]</li>
 
}}{{#if:{{{3|}}}|<li> [[{{{3}}}]]</li>
 
}}{{#if:{{{4|}}}|<li> [[{{{4}}}]]</li>
 
}}{{#if:{{{5|}}}|<li> [[{{{5}}}]]</li>
 
}}</ul></small></th></tr></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>
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Revision as of 12:48, 17 November 2012

குறுக்கு வழி{{#if:|கள்}}:
{{#ifexist:|[[{{{1}}}]]| }}{{#if:|
[[{{{2}}}]]}}{{#if:|
[[{{{3}}}]]}}{{#if:|
[[{{{4}}}]]}}{{#if:|
[[{{{5}}}]]}}