More actions
*>Wenli fix |
*>Wenli fix? |
||
Line 10: | Line 10: | ||
-->{{#if:{{{call|}}}||(}}<span style="color:green;">''{{{label|}}}''</span>{{#if:{{{set|}}}|, }}{{#if:{{{call|}}}||)}}<!-- | -->{{#if:{{{call|}}}||(}}<span style="color:green;">''{{{label|}}}''</span>{{#if:{{{set|}}}|, }}{{#if:{{{call|}}}||)}}<!-- | ||
-->|<!-- End label, context | -->|<!-- End label, context | ||
-->{{{{{1|}}}|call=call|set={{{2|}}}}}{{#if:{{{2|}}}|{{{{{2|}}}|call=call|set={{{3|}}}}}}}<!-- | -->({{{{{1|}}}|call=call|set={{{2|}}}}}{{#if:{{{2|}}}|{{{{{2|}}}|call=call|set={{{3|}}}}}}}<!-- | ||
-->{{#if:{{{3|}}}|{{{{{3|}}}|call=call|set={{{4|}}}}}}}{{#if:{{{4|}}}|{{{{{4|}}}|call=call|set={{{5|}}}}}}}<!-- | -->{{#if:{{{3|}}}|{{{{{3|}}}|call=call|set={{{4|}}}}}}}{{#if:{{{4|}}}|{{{{{4|}}}|call=call|set={{{5|}}}}}}}<!-- | ||
-->{{#if:{{{5|}}}|{{{{{5|}}}|call=call|set={{{6|}}}}}}}{{#if:{{{6|}}}|{{{{{6|}}}|call=call|set={{{7|}}}}}}}<!-- | -->{{#if:{{{5|}}}|{{{{{5|}}}|call=call|set={{{6|}}}}}}}{{#if:{{{6|}}}|{{{{{6|}}}|call=call|set={{{7|}}}}}}}<!-- | ||
-->{{#if:{{{7|}}}|{{{{{7|}}}|call=call|set={{{8|}}}}}}}{{#if:{{{8|}}}|{{{{{8|}}}|call=call|set={{{9|}}}}}}}<!-- | -->{{#if:{{{7|}}}|{{{{{7|}}}|call=call|set={{{8|}}}}}}}{{#if:{{{8|}}}|{{{{{8|}}}|call=call|set={{{9|}}}}}}}<!-- | ||
-->{{#if:{{{9|}}}|{{{{{9|}}}|call=call}}}}<!-- | -->{{#if:{{{9|}}}|{{{{{9|}}}|call=call}}}}<!-- | ||
-->}}</includeonly><!-- End context | -->}})</includeonly><!-- End context | ||
-->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Context labels|{{PAGENAME}}]]}} | -->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Context labels|{{PAGENAME}}]]}} |
Revision as of 19:27, 12 November 2007
This template uses intricate parser functions.
How to Use
Examples:
{{context|countable}} or {{countable}}
results in (countable)){{context|countable|zoology}}
results in (Template loop detected: Template:contextTemplate:zoology)
This template can handle up to 9 context labels.