Ok i tried "church of emacs" solution and it works great. I just added border="1" and did a {{subst:templatename}} in the wiki pages to include it in the wiki pages that dont have the table.
I'm really learning alot from posting questions on the forum thanks everyone for your replies.
On Fri, Mar 5, 2010 at 2:18 PM, church.of.emacs.ml <church.of.emacs.ml@ googlemail.com> wrote:
Platonides wrote:
Just write the table in the template. It's the same syntax.
AFAIK that doesn't work in all cases. It fails if you mix template syntax and table syntax.
E.g.: {{{1||foo}}} (for: if {{{1}}} is set then {{{1}}} else "|foo")
More realistic cases where this happens is with #if and other ParserFunctions, e.g.:
{{#if: {{{1|}}} | {| | 1 is set |} | 1 isn't set }}
A workaround is described in my other Email to this thread (in short: use {{!}} instead of "|")
--Church of emacs
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l