Template:Breadcrumb: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
(Testing)
Line 16: Line 16:
{{#ifexpr: {{{2}}} and (not {{{3}}})|'''[[Main Page|Main]]''' > '''[[:Category:{{{1}}}|{{{1}}}]]''' > '''[[:Category:{{{2}}}|{{{2}}}]]'''
{{#ifexpr: {{{2}}} and (not {{{3}}})|'''[[Main Page|Main]]''' > '''[[:Category:{{{1}}}|{{{1}}}]]''' > '''[[:Category:{{{2}}}|{{{2}}}]]'''
----
----
{{#ifexpr: not {{{2}}}|NOT TWO|no not two}}
Switch: {{#switch: {{{1}}}-{{{2}}} | {{{1}}}- = One | {{{1}}}-{{{2}}} = Two | More }}
{{#ifexpr: {{{2}}}|TWO|no two}}
{{#ifexpr: {{{2}}} and (not {{{3}}})|TWO no THREE|2 and 3}}


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

Revision as of 10:10, 11 April 2011

See wikipedia: Breadcrumb_(navigation)

a

1: Expression error: Unrecognized punctuation character "{". {{#ifexpr: {{{2}}} and (not {{{3}}})|Main > Test1 > [[:Category:{{{2}}}|{{{2}}}]]


Switch: Two

  • Pass

1 and 2: Expression error: Unrecognized word "test". {{#ifexpr: Test2 and (not {{{3}}})|Main > Test1 > Test2


Switch: Two

  • Pass

1 and 2 and 3: Expression error: Unrecognized word "test". {{#ifexpr: Test2 and (not Test3)|Main > Test1 > Test2


Switch: Two

Usage Examples

{{Breadcrumb|Software}}


Expression error: Unrecognized punctuation character "{". {{#ifexpr: {{{2}}} and (not {{{3}}})|Main > [[:Category:{{{1}}}|{{{1}}}]] > [[:Category:{{{2}}}|{{{2}}}]]


Switch: Two