Difference between revisions of "Template:Portals"

(Created page with "<div class="hlist <includeonly>noprint</includeonly>" style="text-align: center; clear:both; padding:0.25em 0 0.5em;{{#if:{{{textcolour|}}}| color:{{{textcolour}}}}}"> *'''Wha...")
 
 
Line 1: Line 1:
 
<div class="hlist <includeonly>noprint</includeonly>" style="text-align: center; clear:both; padding:0.25em 0 0.5em;{{#if:{{{textcolour|}}}| color:{{{textcolour}}}}}">
 
<div class="hlist <includeonly>noprint</includeonly>" style="text-align: center; clear:both; padding:0.25em 0 0.5em;{{#if:{{{textcolour|}}}| color:{{{textcolour}}}}}">
 
*'''What are [[GoArch:Portal|{{#if:{{{linkcolour|}}}|{{color|{{{linkcolour}}}|portals}}|portals}}]]?'''
 
*'''What are [[GoArch:Portal|{{#if:{{{linkcolour|}}}|{{color|{{{linkcolour}}}|portals}}|portals}}]]?'''
*'''[[:Category: Archive portals|{{#if:{{{linkcolour|}}}|{{color|{{{linkcolour}}}|List of portals}}|List of portals}}]]'''
+
*'''[[Portal:Main Page|{{#if:{{{linkcolour|}}}|{{color|{{{linkcolour}}}|List of portals}}|List of portals}}]]'''
 
*{{portal other|[[Special:PrefixIndex/Portal:{{PAGENAME}}/|{{#if:{{{linkcolour|}}}'''|{{color|{{{linkcolour}}}|Sub-pages of Portal:{{PAGENAME}}}}|Sub-pages of Portal:{{PAGENAME}}}}]]}}
 
*{{portal other|[[Special:PrefixIndex/Portal:{{PAGENAME}}/|{{#if:{{{linkcolour|}}}'''|{{color|{{{linkcolour}}}|Sub-pages of Portal:{{PAGENAME}}}}|Sub-pages of Portal:{{PAGENAME}}}}]]}}
 
</div><noinclude>
 
</div><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:23, 17 July 2020

Template documentation[view] [edit] [history] [purge]

Usage[edit]

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[edit]

Template:Portal template list