Template:Breadcrumb: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Testing) |
||
Line 13: | Line 13: | ||
<nowiki>{{Breadcrumb|Software}}</nowiki> | <nowiki>{{Breadcrumb|Software}}</nowiki> | ||
---- | ---- | ||
</noinclude> | </noinclude>'''[[Main Page|Main]]''' > '''[[:Category:{{{1}}}|{{{1}}}]]'''}} | ||
{{# | {{#if: {{{2|}}}| > '''[[:Category:{{{2}}}|{{{2}}}]]'''}} | ||
{{#if: {{{3|}}}| > '''[[:Category:{{{3}}}|{{{3}}}]]'''}} | |||
{{#if: {{{4|}}}| > '''[[:Category:{{{4}}}|{{{4}}}]]'''}} | |||
---- | ---- | ||
ifeq: | ifeq: | ||
Line 23: | Line 25: | ||
*{{#if: {{{2|}}}| a | b}} | *{{#if: {{{2|}}}| a | b}} | ||
*{{#if: {{{2|}}}| a{{{2}}} | b{{{2}}}}} | *{{#if: {{{2|}}}| a{{{2}}} | b{{{2}}}}} | ||
if more: | |||
*{{#if: {{{2|}}}| {{#if: {{{3|}}}|three|only two}} | only one}} | |||
<includeonly>[[Category: {{{1}}}]]</includeonly> | <includeonly>[[Category: {{{1}}}]]</includeonly> |
Revision as of 10:29, 11 April 2011
See wikipedia: Breadcrumb_(navigation)
a
ifeq:
- 2 was not specified
- 3 was not specified
if:
- b
- b{{{2}}}
if more:
- only one
- Pass
1 and 2: Main > Test1}} > Test2
ifeq:
- 2 was specified (and may be empty)
- 3 was not specified
if:
- a
- aTest2
if more:
- only two
- Pass
1 and 2 and 3: Main > Test1}} > Test2 > Test3
ifeq:
- 2 was specified (and may be empty)
- 3 was specified (and may be empty)
if:
- a
- aTest2
if more:
- three
Usage Examples
{{Breadcrumb|Software}}
Main > [[:Category:{{{1}}}|{{{1}}}]]}}
ifeq:
- 2 was not specified
- 3 was not specified
if:
- b
- b{{{2}}}
if more:
- only one