Rosetta Code:Village Pump/Adding transclusion plugin: Difference between revisions

Trying transclusion, showing my work...no success
(Adding pages which might appreciate this one)
(Trying transclusion, showing my work...no success)
Line 9:
but I'd like to wait until I have a working small example to add to those pages.
--[[User:Mcint|Mcint]] ([[User talk:Mcint|talk]]) 08:04, 25 September 2015 (UTC)
 
[[mw:Transclusion|MediaWiki:Transclusion]] has background information and favors one use case,
 
but it also mentions [[mw:Extension:Labeled_Section_Transclusion|MediaWiki:Extension:Labeled_Section_Transclusion]],
 
which has a particularly useful section in [[mw:Extension:Labeled_Section_Transclusion#Transclude_a_specific_section]]
 
It says the function can be called as follows:
{{#lsth:pagename|sectionX}}
 
I would like to call:
=={{header|OCaml}}==
from the [[Pythagorean triples]] page
 
not working:
<nowiki>{{#lsth:Pythagorean triples|OCaml}}</nowiki>
{{#lsth:Pythagorean triples|OCaml}}
 
nor does
<nowiki>{{#lsth:Pythagorean triples|{{header|OCaml}}}}</nowiki>
{{#lsth:Pythagorean triples|{{header|OCaml}}}}
Anonymous user