Template:Section transclude

  (Redirected from Template:Lst)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Transcludes a specified labelled section of the current page. This allows the same content to be used in multiple places in the page, while only needing to be maintained in one place.

Will not work on sub-pages (pages with a slash "/" in the title).

Example[edit]

Code[edit]

<includeonly>
<section begin=number/>'''seven'''<section end=number/>       <!--Section to be transcluded-->
</includeonly>

As I was going to St. Ives, I met a man with {{section transclude|number}} wives. Every wife had {{section transclude|number}} sacks, every sack had {{section transclude|number}} cats, every cat had {{section transclude|number}} kitts. Kitts, cats, sacks, wives, how many were going to St. Ives?

Output[edit]

As I was going to St. Ives, I met a man with seven wives. Every wife had seven sacks, every sack had seven cats, every cat had seven kitts. Kitts, cats, sacks, wives, how many were going to St. Ives?

See also[edit]