Difference between revisions of "Template:Portals/doc"

From blackwiki
Jump to navigation Jump to search
test>John of Reading
(→‎Usage: Documentation and example for linkcolour and textcolour)
test>Funandtrvl
(sort)
Line 20: Line 20:
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wikipedia Portal templates|{{PAGENAME}}]]
+
[[Category:Wikipedia Portal templates]]
[[Category:Bar-style templates|{{PAGENAME}}]]
+
[[Category:Bar-style templates]]
 
</includeonly>
 
</includeonly>

Revision as of 16:09, 17 August 2014

Usage

The template will normally be used without parameters. If placed within a portal having a strongly coloured background, it may be necessary to set the text colours. Use linkcolour to override the normal blue colouring of the links, and textcolour to set the colour of the other text.

<div style="background:black">
{{portals|linkcolour=yellow|textcolour=white}}
</div>

See also

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates