Template:Template example bullet and Template:Template example bullet/sandbox: Difference between pages
(Difference between pages)
imported>Guarapiranga : Take {{tl|THISTEMPLATE}} if none is spec'd, as suggested in the Talk page, and tested in the sandbox; works in subtemplate doc page transclusions as well (which {{pf|BASEPAGENAME}} doesn't) |
imported>Aidan9382 Undid revision 1103058412 by Aidan9382 (talk) - Well, its actually fine to do this, just need to be careful about template loops. I'll see if I can hack in a fix for the testcases page's looping |
||
Line 2: | Line 2: | ||
-->{{#if:{{{1|{{THISTEMPLATE}}}}} | -->{{#if:{{{1|{{THISTEMPLATE}}}}} | ||
| <span style="{{#if:{{{codesize|}}}|font-size:{{{codesize}}}}};{{{codestyle|}}}"><!-- | | <span style="{{#if:{{{codesize|}}}|font-size:{{{codesize}}}}};{{{codestyle|}}}"><!-- | ||
-->{{Tlx|{{{1|{{ | -->{{Tlx|{{{1|{{BASEPAGENAME}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}}}<!-- | ||
--></span> → <!-- | --></span> → <!-- | ||
-->{{#if:{{{7|}}} |{{{{{1|{{ | -->{{#if:{{{7|}}} |{{{{{1|{{BASEPAGENAME}}}}}|1={{{2}}}|2={{{3}}}|3={{{4}}}|4={{{5}}}|5={{{6}}}|6={{{7}}}}} | ||
| {{#if:{{{6|}}} |{{{{{1|{{ | | {{#if:{{{6|}}} |{{{{{1|{{BASEPAGENAME}}}}}|1={{{2}}}|2={{{3}}}|3={{{4}}}|4={{{5}}}|5={{{6}}}}} | ||
| {{#if:{{{5|}}} |{{{{{1|{{ | | {{#if:{{{5|}}} |{{{{{1|{{BASEPAGENAME}}}}}|1={{{2}}}|2={{{3}}}|3={{{4}}}|4={{{5}}}}} | ||
| {{#if:{{{4|}}} |{{{{{1|{{ | | {{#if:{{{4|}}} |{{{{{1|{{BASEPAGENAME}}}}}|1={{{2}}}|2={{{3}}}|3={{{4}}}}} | ||
| {{#if:{{{3|}}} |{{{{{1|{{ | | {{#if:{{{3|}}} |{{{{{1|{{BASEPAGENAME}}}}}|1={{{2}}}|2={{{3}}}}} | ||
| {{#if:{{{2|}}} |{{{{{1|{{ | | {{#if:{{{2|}}} |{{{{{1|{{BASEPAGENAME}}}}}|1={{{2}}}}} | ||
| {{{{{1|{{ | | {{{{{1|{{BASEPAGENAME}}}}}}} | ||
}} }} }} }} }} }} | }} }} }} }} }} }} | ||
| <span style="font-size:bigger;color:#FF0000;font-weight:bold;">ERROR:</span> No template specified. | | <span style="font-size:bigger;color:#FF0000;font-weight:bold;">ERROR:</span> No template specified. | ||
}}<!-- | }}<!-- | ||
--></includeonly><noinclude>{{Documentation}}</noinclude> | --></includeonly><noinclude>{{Documentation}}</noinclude> |