Difference between revisions of "Template:Lua sidebar/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jc86035
m (+)
imported>ShakespeareFan00
(Mismatched formatting repaired)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This template displays links which are generated based on a page's base page name. These are useful for templates which work using a Lua module of the same name. The parameter {{para|title}} can be used to add the title of the template and module, if needed; {{para|template}} and {{para|module}} do the same, but for only the template and only the module respectively.
+
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 {{para|title}} can be used to add the title of the template and module, if needed; {{para|template}} and {{para|module}} do the same, but for only the template and only the module respectively.
  
The first unnamed parameter or {{para|1}} can be used to add more information; {{tlx|Sidebar|2=child=yes}} can be used inside it for further customization. The default links use {{tl|Div col}} and the <kbd>plainlist<kbd> CSS class.
+
The first unnamed parameter or {{para|1}} can be used to add more information; {{tlx|Sidebar|2=child=yes}} can be used inside it for further customization. The default links use {{tl|Div col}} and the <kbd>plainlist</kbd> CSS class.
  
 
== Usage ==
 
== Usage ==

Latest revision as of 19:46, 30 July 2018

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