Can anyone offer a transclude example? -thx
Extension talk:PhpTags Functions
Jump to navigation
Jump to search
Reply to "Transclude Example?"
thx. Seems the purpose of `transclude` is to output whatever you want to output to the host page. I guess transclude code would live in a template, correct?
I'm looking for the opposite: a php way to pull in a rendered page.
cheers
thx, i'll be reading those!
{{PAGENAME}}<br /> {{#phptag:echo str_word_count("{{PAGENAME}}");}}
sometimes it gives strange results:
častá procházka
3
šumící les
3
(The page name has two words but the function gives out 3?)
There are no older topics