[MediaWiki-l] Template calls

Christian Bruun-Ghalbia cbruun at gmail.com
Mon Oct 19 20:20:50 UTC 2015


Hallo

It will not work on page Foo. It works in template namespace only (?). On
page Foo it transclude "template:/TemplateData"
. Does it need a specific extension, or just a new version of MediaWiki?

Christian

On Mon, Oct 19, 2015 at 9:32 PM, Bartosz Dziewoński <matma.rex at gmail.com>
wrote:

> On 2015-10-19 14:25, John Foster wrote:
>
>> Can someone tell me what the difference is here:
>>
>> {{TemplateData}}    versus  {{/TemplateData}}
>>
>
> "{{TemplateData}}" will embed the page called "Template:TemplateData".
>
> "{{/TemplateData}}" will embed the subpage "TemplateData" of the current
> page, assuming that its namespace allows subpages. For example, if you
> place this on a page called "Foo", it will embed "Foo/TemplateData".
>
> --
> Bartosz Dziewoński
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list