Difference between revisions of "Template:Lua sidebar"
Jump to navigation
Jump to search
(Created page with "{{Sidebar|width=238px | title = Related pages | content1 = {{div col|colwidth=8em}} <div class="plainlist"> * [[Template:{{{template|{{{title|{{BASEPAGENAME}}}}}}}}|Template]]...") |
imported>Elli (link to "Module talk" page for Module testcases, which displays the output of the testcases (better than the programming in most cases)) |
||
Line 10: | Line 10: | ||
* [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}|Module]] {{#if:{{#invoke:redirect|isRedirect|Module talk:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}}}||([[Module talk:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}|talk]])}} | * [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}|Module]] {{#if:{{#invoke:redirect|isRedirect|Module talk:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}}}||([[Module talk:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}|talk]])}} | ||
* [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/sandbox|Module sandbox]] | * [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/sandbox|Module sandbox]] | ||
− | * [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/testcases|Module testcases]] | + | * [[Module talk:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/testcases|Module testcases]] |
* [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/doc|Module doc]] | * [[Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/doc|Module doc]] | ||
* [[Special:PrefixIndex/Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/|Module subpages]] | * [[Special:PrefixIndex/Module:{{{module|{{{title|{{BASEPAGENAME}}}}}}}}/|Module subpages]] |
Latest revision as of 15:18, 18 January 2021
Related pages |
---|
This template displays links which are generated based on a page's base page name. These are useful for templates which work using a specific Lua module. The parameter |title=
can be used to add the title of the template and module, if needed; |template=
and |module=
do the same, but for only the template and only the module respectively.
The first unnamed parameter or |1=
can be used to add more information; {{Sidebar|child=yes}}
can be used inside it for further customization. The default links use {{Div col}} and the plainlist CSS class.
Usage
- Without any extra links:
{{Lua sidebar}}
- With an extra unbulleted list:
{{Lua sidebar|{{ubl|List item 1|List item 2}}}}
- For Template:Infobox and Module:Infobox:
{{Lua sidebar|title=Infobox}}
- For Template:Coord, on Module talk:Coordinates:
{{Lua sidebar|template=Coord}}
- For Module:Coordinates, on Template talk:Coord:
{{Lua sidebar|module=Coordinates}}
The above documentation is transcluded from Template:Lua sidebar/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |