Predloga:Lua sidebar
Videz
Povezane strani |
---|
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
[uredi kodo]- Without any extra links:
{{Lua sidebar}}
- With an extra unbulleted list:
{{Lua sidebar|{{ubl|List item 1|List item 2}}}}
- For Predloga:Taxonbar in Modul:Taxonbar:
{{Lua sidebar|title=Taxonbar}}
- For Predloga:Koord, on Pogovor o modulu:Coordinates:
{{Lua sidebar|template=Koord}}
- For Modul:Coordinates, on Pogovor o predlogi:Koord:
{{Lua sidebar|module=Coordinates}}