Template:Portals: Difference between revisions
Appearance
imported>Deadfire m updating |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 1: | Line 1: | ||
{{hlist<includeonly>|class=noprint</includeonly>|style=text-align: center; clear:both; padding:0.25em 0 0.5em;{{#if:{{{textcolour|}}}| color:{{{textcolour}}}}}|'''What are [[ | {{hlist<includeonly>|class=noprint</includeonly>|style=text-align: center; clear:both; padding:0.25em 0 0.5em;{{#if:{{{textcolour|}}}| color:{{{textcolour}}}}}|'''What are [[BattleIntelligence:Portal|{{#if:{{{linkcolour|}}}|{{color|{{{linkcolour}}}|portals}}|portals}}]]?'''|'''[[:Category:Portals|{{#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}}}}]]}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 00:13, 1 May 2025
- What are portals?
- List of portals
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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
- To display "selected content" on the portal main page
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists.
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portals browsebar}}