Template:Portal panel: Difference between revisions
Jump to navigation
Jump to search
Area for portal boxes. |
fixed |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Background for regions that contain portals. Has one positional argument: the actual text. Uses the following parameters: | Background for regions that contain portals. Has one positional argument: the actual text. Uses the following parameters: | ||
{{param|background}}: The background color. If not specified, there is no background color. | * {{param|background}}: The background color. If not specified, there is no background color. | ||
* {{param|border}}: The border color. If not specified, there is no border. | |||
[[Category:Portal Templates]] | [[Category:Portal Templates]] | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div class="portal-panel" {{ #if: {{{background|}}} | | <div class="portal-panel" style="{{ #if: {{{background|}}} | background-color: {{{background}}};|}} {{#if: {{{border|}}}|border-color: {{{border}}};|border-width: 0px;}}">{{{1}}}</div></includeonly> |
Latest revision as of 01:55, 15 February 2013
Background for regions that contain portals. Has one positional argument: the actual text. Uses the following parameters:
- background: The background color. If not specified, there is no background color.
- border: The border color. If not specified, there is no border.