Jump to content

Module:Params/doc/examples/constructed transclusion/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Grufo (talk | contribs) at 20:31, 19 April 2025 (+example). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This example template illustrates the capabilities of the parsing function from Module:Params in order to transclude a custom template with custom parameters.

Usage

  • {{module:params/doc/examples/constructed transclusion|Pagelist|X1{{!}}X2{{!}}X3{{!}}X4{{!}}X5}}
    {{Pagelist|X1|X2|X3|X4|X5}}
    X1, X2, X3, X4 and X5
  • {{module:params/doc/examples/constructed transclusion|A note}}
    {{A note}}
    information Note:
  • {{module:params/doc/examples/constructed transclusion|Debug|}}
    {{Debug|}}
    ↳ {{Debug|1=}}