Difference between revisions of "Template:Portals/doc"

From blackwiki
Jump to navigation Jump to search
test>FallingGravity
m
m (13 revisions imported)
 
(3 intermediate revisions by 3 users not shown)
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 ==
 
{{Portal template list}}
 
{{Portal template list}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- 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>

Latest revision as of 16:40, 8 September 2020

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