Template:Breadcrumb: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Testing)
(Testing)
Line 17: Line 17:
{{#if: {{{3|}}}| > '''[[:Category:{{{3}}}|{{{3}}}]]'''}}
{{#if: {{{3|}}}| > '''[[:Category:{{{3}}}|{{{3}}}]]'''}}
{{#if: {{{4|}}}| > '''[[:Category:{{{4}}}|{{{4}}}]]'''}}
{{#if: {{{4|}}}| > '''[[:Category:{{{4}}}|{{{4}}}]]'''}}
{{#if: {{{5|}}}| > '''[[:Category:{{{5}}}|{{{5}}}]]'''}}
----
----
ifeq:
<includeonly>{{#if: {{{2|}}}| {{#if: {{{3|}}}|{{#if: {{{4|}}}|{{#if: {{{5|}}}|[[Category: {{{5}}}]]|[[Category: {{{4}}}]]}}|[[Category: {{{3}}}]]}}|[[Category: {{{2}}}]]}} | [[Category: {{{1}}}]]}}</includeonly>
*{{#ifeq:{{{2|}}}|{{{2|-}}}| 2 was specified (and may be empty) | 2 was not specified }}
*{{#ifeq:{{{3|}}}|{{{3|-}}}| 3 was specified (and may be empty) | 3 was not specified }}
 
if:
*{{#if: {{{2|}}}| a | b}}
*{{#if: {{{2|}}}| a{{{2}}} | b{{{2}}}}}
 
if more:
*{{#if: {{{2|}}}| {{#if: {{{3|}}}|three|only two}} | only one}}
 
 
<includeonly>[[Category: {{{1}}}]]</includeonly>

Revision as of 10:34, 11 April 2011

See wikipedia: Breadcrumb_(navigation)

a

1: Main > Test1}}




  • Pass

1 and 2: Main > Test1}} > Test2



  • Pass

1 and 2 and 3: Main > Test1}} > Test2 > Test3



Usage Examples

{{Breadcrumb|Software}}


Main > [[:Category:{{{1}}}|{{{1}}}]]}}