For All Mankind Wiki
Coding Help
Coding Help
Labeled Section Transclusion, short LST or #lst, is a Mediawiki extension enabled on Fandom by default. It can be used to transclude certain parts from certain pages into other pages. This allows to re-use parts of a page on other pages, or update something on one place only and display it on several pages.
Basic syntax
- To mark certain parts of a page to be used on other pages, the following tags are used:
<section begin="_name_" /><section end="_name_" />- where
_name_is any custom name.
- To transclude that part in another page, this code is used:
{{#lst:_pagename_|_name_}}
- There are also options to transclude page sections or page leads. See the pages linked in the external link section below for more info.
Usage on FAM wiki
- #lst is used on the For All Mankind Wiki mostly in template documentations and in help pages in the project namespace.
- It is also used on several category pages.
- It is only used in very few cases in mainspace articles.
- Pages using #lst are collected in a main and several subcategories:
- Pages using LST (122)
External links
- Labeled Section Transclusion on MediaWiki
- Help:Labeled section transclusion on Wikipedia