Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Related Articles tweak, and added #block anchor

...

Wiki Markup
{float:right|background=#eee}
{contentbylabel:title=Related Articles|showLabels=false|showSpace=false|space=@self|labels=component-templates}
{float}

...

Without the <t:container> element, there would be no way to create a valid XML document as the template, because XML documents must always have a single root element.

Anchor
nameblock

<t:block>

A <t:block> is a container of a portion of the component template. A block does not normally render; any component or contents you put inside a block will not ordinarily be rendered. However, by injecting the block you have precise control over when and if the content renders.

...