Difference between revisions of "Template:Portals/doc"

From blackwiki
Jump to navigation Jump to search
test>FallingGravity
m
test>John of Reading
(→‎Usage: Documentation and example for linkcolour and textcolour)
Line 3: Line 3:
  
 
== Usage ==
 
== 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 {{code|linkcolour}} to override the normal blue colouring of the links, and {{code|textcolour}} to set the colour of the other text.
 +
 +
<pre>
 +
<div style="background:black">
 +
{{portals|linkcolour=yellow|textcolour=white}}
 +
</div>
 +
</pre>
 +
 +
<div style="background:black">
 +
{{portals|linkcolour=yellow|textcolour=white}}
 +
</div>
  
 
== See also ==
 
== See also ==

Revision as of 07:56, 14 November 2013

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