$wgOut->addWikiText("{{BolusHeader}}");
foreach row {
$wgOut->addWikiText("{{BolusBody|$data1|$data2|$data3}}");
}
$wgOut->addWikiText("{{BolusTail}}");
with the template BolusHeader defined as {|
and BolusBody defines as |- {{{1}}} || {{{2}}} || {{{3}}}
and BolusTail defined as |}
Is there a specific reason for using templates and not just putting
the syntax in directly?