Template:Breadcrumb: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Testing)
(Testing)
Line 1: Line 1:
<noinclude>
<noinclude>
See [[wikipedia: Breadcrumb_(navigation)]]
See [[wikipedia: Breadcrumb_(navigation)]]
{{#if: a and not 'v'|a|b}}


1: {{Breadcrumb|Test1}}
1: {{Breadcrumb|Test1}}
 
*Pass
1 and 2: {{Breadcrumb|Test1|Test2}}
1 and 2: {{Breadcrumb|Test1|Test2}}
 
*Pass
1 and 2 and 3: {{Breadcrumb|Test1|Test2|Test3}}
1 and 2 and 3: {{Breadcrumb|Test1|Test2|Test3}}


Line 12: Line 14:
----
----
</noinclude>{{#if: not {{{2}}}|'''[[Main Page|Main]]''' > '''[[:Category:{{{1}}}|{{{1}}}]]'''}}
</noinclude>{{#if: not {{{2}}}|'''[[Main Page|Main]]''' > '''[[:Category:{{{1}}}|{{{1}}}]]'''}}
{{#if: {{{2}}} and not {{{3}}}|'''[[Main Page|Main]]''' > '''[[:Category:{{{1}}}|{{{1}}}]]''' > '''[[:Category:{{{2}}}|{{{2}}}]]'''
{{#if: {{{2}}} and (not {{{3}}})|'''[[Main Page|Main]]''' > '''[[:Category:{{{1}}}|{{{1}}}]]''' > '''[[:Category:{{{2}}}|{{{2}}}]]'''
----
----
{{#if not {{{2}}}|NOT TWO|no not two}}
{{#if: not {{{2}}}|NOT TWO|no not two}}
{{#if {{{2}}}|TWO|no two}}
{{#if: {{{2}}}|TWO|no two}}
{{#if {{{2}}} and not {{{3}}}|TWO no THREE|2 and 3}}
{{#if: {{{2}}} and (not {{{3}}})|TWO no THREE|2 and 3}}


<includeonly>[[Category: {{{1}}}]]</includeonly>
<includeonly>[[Category: {{{1}}}]]</includeonly>

Revision as of 10:00, 11 April 2011

See wikipedia: Breadcrumb_(navigation)

a

1: Main > Test1 {{#if: {{{2}}} and (not {{{3}}})|Main > Test1 > [[:Category:{{{2}}}|{{{2}}}]]


NOT TWO TWO TWO no THREE

  • Pass

1 and 2: Main > Test1 {{#if: Test2 and (not {{{3}}})|Main > Test1 > Test2


NOT TWO TWO TWO no THREE

  • Pass

1 and 2 and 3: Main > Test1 {{#if: Test2 and (not Test3)|Main > Test1 > Test2


NOT TWO TWO TWO no THREE

Usage Examples

{{Breadcrumb|Software}}


Main > [[:Category:{{{1}}}|{{{1}}}]] {{#if: {{{2}}} and (not {{{3}}})|Main > [[:Category:{{{1}}}|{{{1}}}]] > [[:Category:{{{2}}}|{{{2}}}]]


NOT TWO TWO TWO no THREE