Template:TranscludeableLST: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(creted)
 
(Fix: Don't insert colons if namespace is main)
 
Line 1: Line 1:
<includeonly><onlyinclude><i>The following section can be transcluded into other pages with <code><nowiki>{{#lst:</nowiki>{{NAMESPACE}}:{{PAGENAME}}|{{{1}}}<nowiki>}}</nowiki></code>.</i></onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude><i>The following section can be transcluded into other pages with <code><nowiki>{{#lst:</nowiki>{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{PAGENAME}}|{{{1}}}<nowiki>}}</nowiki></code>.</i></onlyinclude></includeonly><noinclude>
This inserts a note that the following part of a page can be transcluded with [https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion LST], and includes the template syntax.
This inserts a note that the following part of a page can be transcluded with [https://www.mediawiki.org/wiki/Extension:Labeled_Section_Transclusion LST], and includes the template syntax.



Latest revision as of 14:45, 5 January 2024

This inserts a note that the following part of a page can be transcluded with LST, and includes the template syntax.

Example: The following section can be transcluded into other pages with {{#lst:Template:TranscludeableLST|Some Section Name}}.

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The name of the section to transclude

Unknownrequired