Module:Portal bar/doc: Difference between revisions

Content deleted Content added
add links to test cases
m update wikilinks
 
Line 3:
{{Lua|Module:Portal|Module:Yesno|Module:Arguments}}
{{Uses TemplateStyles|Module:Portal bar/styles.css}}
This module implements the {{tl|portal bar}} template. It displays a horizontal bar of [[WPWikipedia:PORTALPortal |portals]].
 
See [[Template:Portal bar/testcases|here]] and [[Template:Related portals2/testcases|here]] for testcases.
Line 18:
 
== Examples ==
*<code><nowiki>{{#invoke:portal bar|main|ArtVisual arts|Science|Literature}}</nowiki></code>
 
Produces:
 
{{#invoke:portal bar|main|ArtVisual arts|Science|Literature}}
 
*<code><nowiki>{{#invoke:portal bar|main|ArtVisual arts|Science|Literature|border=no}}</nowiki></code>
 
Produces:
 
{{#invoke:portal bar|main|ArtVisual arts|Science|Literature|border=no}}
 
For further examples, see [[Template:Portal bar/testcases]].