टेम्पलेट:Usbk: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
छो fix apparent tracking typo
No edit summary
लाइन 1:
<includeonly>| <!-- numbering of UBXs
 
The code for dsiplaying the userbox
-->{{#if: {{{number|}}}|{{{number|}}}.|}}&nbsp;{{#if:{{{continued|}}}|continued &nbsp;|}}{{#if:{{{cont.|}}}|cont. &nbsp;||}}<!-- End numbering of UBXs
 
-->{{Tlu|{{Transclude|{{{1|{{FULLPAGENAME}}}}}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}<!--
| {{#if:{{{6|}}}|{{ {{{1|{{FULLPAGENAME}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|nocat=true|category=|categories=no}}|<!-- five parameters given
 
The actual userbox:
-->{{#if:{{{5|}}}|{{ {{{1|{{FULLPAGENAME}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|nocat=true|category=|categories=no}}|<!-- four parameters given
 
Call depends on the number of params passed - may be a better way to do this.
If we assume that plank parameters are handled the same way as missing parameters we can
pass more params, but we may break pages including poorly coded userboxes.
So at present we try not to do that.
 
-->
| {{#if:{{{65|}}}|{{ {{{1|{{FULLPAGENAME}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|nocat=true|category=|categories=no}}|<!-- fivefour parameters given
 
-->{{#if:{{{4|}}}|{{ {{{1|{{FULLPAGENAME}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|nocat=true|category=|categories=no}}|<!-- three parameters given
Line 14 ⟶ 21:
-->{{#if:{{{2|}}}|{{ {{{1|{{FULLPAGENAME}}}}}|{{{2|}}}|nocat=true|category=|categories=no}}|<!-- one parameter given
 
-->{{ {{{1|{{FULLPAGENAME}}}}}|nocat=true|category=|categories=no}}}}}}}}}}}}<!-- no parameters given -->
| <span class="plainlinks">[{{canonicalurl:Special:WhatLinksHere/{{Transclude|{{{1|{{FULLPAGENAME}}}}}}}|hidelinks=1&hideredirs=1}} Transclusions]</span>{{#if:{{{category|}}}|<br /><small>• [[:Category:{{{category}}}]] •{{#if:{{{category2|}}}|<span class="nowrap"> [[:Category:{{{category2}}}]] •</span>[[Category:Usbk calls that use 2 categories]]|[[Category:Usbk calls that use 1 category]]}}}}</small><!--
More tracking cats
 
-->{{#if:{{{number|}}}|[[Category:Usbk calls that use number]]}}<!--
-->{{#if:{{{cont.|}}}|[[Category:Usbk calls that use cont]]}}<!--
-->{{#if:{{{continued|}}}|[[Category:Usbk calls that use continued]]}}<!--
-->{{#if:{{{2|}}}|[[Category:Usbk calls that use 2]]}}<!--
-->{{#if:{{{3|}}}|[[Category:Usbk calls that use 3]]}}<!--
-->{{#if:{{{4|}}}|[[Category:Usbk calls that use 4]]}}<!--
-->{{#if:{{{5|}}}|[[Category:Usbk calls that use 5]]}}<!--
-->{{#if:{{{6|}}}|[[Category:Usbk calls that use 6]]}}
|-</includeonly><noinclude>