Difference between revisions of "User talk:Celierra Darling/Sandbox"
Jump to navigation
Jump to search
(New page: == RE: P.S. about <nowiki><noinclude></nowiki> == I think every way will relay basically on the same option (<nowiki><noinclude>-tags</nowiki>). Another implementation would be to define a...) |
(→RE: P.S. about: reply) |
||
Line 5: | Line 5: | ||
<nowiki>{{Specific Instruction|{{#var:test|}}|text}}</nowiki> | <nowiki>{{Specific Instruction|{{#var:test|}}|text}}</nowiki> | ||
to call the template. I don't think it's an improvement of your version. Just another way to do the same thing.<br>[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 18:11, 2 January 2009 (UTC) | to call the template. I don't think it's an improvement of your version. Just another way to do the same thing.<br>[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 18:11, 2 January 2009 (UTC) | ||
: Hmm, that does seem more compact and probably less obfuscatory. I'm a little nervous about nesting, though (what happens if a page that itself defines #var:test includes another one that also uses #var:test). But maybe the names would just need to be page-specific, i.e. | |||
:: <nowiki><noinclude>{{#vardefine:onCMake|*}}</noinclude></nowiki> | |||
: I'll try it out. Thanks for the idea! [[User:Celierra Darling|Celierra Darling]] 20:33, 5 January 2009 (UTC) |
Latest revision as of 13:33, 5 January 2009
RE: P.S. about <noinclude>
I think every way will relay basically on the same option (<noinclude>-tags). Another implementation would be to define a tester variable that only operates on the article. Like
<noinclude>{{#vardefine:test|*}}</noinclude>
on top of the artcile and use
{{Specific Instruction|{{#var:test|}}|text}}
to call the template. I don't think it's an improvement of your version. Just another way to do the same thing.
Lynch (talk|contribs) 18:11, 2 January 2009 (UTC)
- Hmm, that does seem more compact and probably less obfuscatory. I'm a little nervous about nesting, though (what happens if a page that itself defines #var:test includes another one that also uses #var:test). But maybe the names would just need to be page-specific, i.e.
- <noinclude>{{#vardefine:onCMake|*}}</noinclude>
- I'll try it out. Thanks for the idea! Celierra Darling 20:33, 5 January 2009 (UTC)