Frederik,
Implementing the pipe template seems to have been the key. Thank you very much.
-Andrei
Andrei Freeman: Software Project Management, Engineering and Web Hosting at: Apolo Productions andrei.freeman@mac.com | aim://lordandrei | lj://afreeman
On Jun 27, 2007, at 9:22 AM, Frederik Dohr wrote:
The trick is that I'm trying to inline a variable to the template to send in variable table rows.
Not sure if this is what you need, but here's my OptionalTableRow template:
{{ #if: {{{2|}}} | {{!}} '''{{{1}}}''': {{!}}{{!}} {{{2}}} {{!}}- }}<noinclude> == Usage == <pre> {{OptionalTableRow|designation|value}} </pre> [[Category:Templates]] </noinclude>
You will need the "pipe template"; the need for this is described at Meta: http://meta.wikimedia.org/wiki/Template:%21 In fact, this might be the reason why your approach didn't work... !?
-- F.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l