Difference between revisions of "Template:Cat more"

From LIMSWiki
Jump to navigationJump to search
(Created template to help with Categories.)
 
m (Added cat.)
Line 1: Line 1:
{{Rellink|extraclasses=relarticle mainarticle|For more information, see '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}{{#if:{{{l1|}}}|{{!}}{{{l1}}}}}]]'''{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} '''[[{{{2}}}{{#if:{{{l2|}}}|{{!}}{{{l2}}}}}]]'''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |&nbsp;and }} '''[[{{{3}}}{{#if:{{{l3|}}}|{{!}}{{{l3}}}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |&nbsp;and }} '''[[{{{4}}}{{#if:{{{l4|}}}|{{!}}{{{l4}}}}}]]'''{{#if:{{{5|}}}|&nbsp;and '''[[{{{5}}}{{#if:{{{l5|}}}|{{!}}{{{l5}}}}}]]'''}}}}}}}}.{{#if:{{{6|}}}|<br />&mdash; '''Error: [[Template:Cat more|Too many links specified (maximum is 5)]]'''}}}}<noinclude>
{{Rellink|extraclasses=relarticle mainarticle|For more information, see '''[[{{{1<includeonly>|{{PAGENAME}}</includeonly>}}}{{#if:{{{l1|}}}|{{!}}{{{l1}}}}}]]'''{{#if:{{{2|}}}|{{#if:{{{3|}}}|, |&nbsp;and }} '''[[{{{2}}}{{#if:{{{l2|}}}|{{!}}{{{l2}}}}}]]'''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, |&nbsp;and }} '''[[{{{3}}}{{#if:{{{l3|}}}|{{!}}{{{l3}}}}}]]'''{{#if:{{{4|}}}|{{#if:{{{5|}}}|, |&nbsp;and }} '''[[{{{4}}}{{#if:{{{l4|}}}|{{!}}{{{l4}}}}}]]'''{{#if:{{{5|}}}|&nbsp;and '''[[{{{5}}}{{#if:{{{l5|}}}|{{!}}{{{l5}}}}}]]'''}}}}}}}}.{{#if:{{{6|}}}|<br />&mdash; '''Error: [[Template:Cat more|Too many links specified (maximum is 5)]]'''}}}}<noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}[[Category:Category namespace templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 02:18, 5 June 2011

[edit] [purge] Template documentation

Usage

{{cat more|Help:Categories}} produces: {{cat more|Help:Categories|l1=Categories}} produces:

Multiple link targets

  • {{cat more|1}} produces:
  • {{cat more|Talk:1|l1=1}} produces:
  • {{cat more|1|2}} produces:
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2}} produces:
  • {{cat more|1|2|3}} produces:
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2|Talk:3|l3=3}} produces:
  • {{cat more|1|2|3|4}} produces:
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2|Talk:3|l3=3|Talk:4|l4=4}} produces:
  • {{cat more|1|2|3|4|5}} produces:
  • {{cat more|Talk:1|l1=1|Talk:2|l2=2|Talk:3|l3=3|Talk:4|l4=4|Talk:5|l5=5}} produces:

See also