Template:Luaself
Jump to navigation
Jump to search
Usage[edit source]
A wrapper for {{Scribunto}} that appends '/doc' to the first parameter and passes it as |self=
. Params 2 and 3 are respectively passed as params 1 and 2.
Has one additional parameter: |subpage=
, the value of which would take the place of '/doc' if provided. Use escape char '\' to indicate no subpage.
If both 2 and 3 are omitted, then the value of the first param is moved to the second position and the first position is replaced by {{PAGENAME}}. In other words, if used on Module:Buffer/doc, then the two following are equivalent:
{{luaself|:_}} {{luaself|Buffer|:_}}
External links[edit source]
- Template:Luaself at Wikipedia, the free Terran encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Luaself/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |