Template:Portalbox: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
(Created page with "<includeonly><div style="text-align:left; vertical-align: top; border:1px solid {{{bordercolor|}}}; background-color: #f9f9f9; padding: 0.1em 0.1em 0.1em 0.1em; margin: 0.5em...")
 
No edit summary
Line 4: Line 4:
{{#if: {{{link|}}}|{{{{{link}}}}}|{{{inline}}}}}
{{#if: {{{link|}}}|{{{{{link}}}}}|{{{inline}}}}}
</div>
</div>
</div></includeonly>
</div></includeonly><noinclude>
=== Variables ===
* ''title'' is the title of the box as displayed at the top.
* ''link'' is the address of the page which holds the content. It is also editable by clicking on the link ''Edit''.
* ''titleforeground'' is the colour of the title text.
* ''titlebackground'' is the background colour of the title.
* ''boxbackground'' is the background colour of the whole box.
* ''bordercolor'' is the colour of the frame.
* ''inline'' is the content of the box, if no link is given.
* ''height'' is the exact height of the content area (e.g. <code>200px</code>). If this is exceeded, a scrollbar is displayed.</noinclude>

Revision as of 20:24, 5 November 2019

Variables

  • title is the title of the box as displayed at the top.
  • link is the address of the page which holds the content. It is also editable by clicking on the link Edit.
  • titleforeground is the colour of the title text.
  • titlebackground is the background colour of the title.
  • boxbackground is the background colour of the whole box.
  • bordercolor is the colour of the frame.
  • inline is the content of the box, if no link is given.
  • height is the exact height of the content area (e.g. 200px). If this is exceeded, a scrollbar is displayed.