Template:Robelbox2

From No Subject - Encyclopedia of Psychoanalysis
Revision as of 07:29, 29 November 2017 by Leutha (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Title

Parameters:

  • theme: Values 1 to 14; gives colour scheme:
  1. tan (default)
  2. mid green
  3. slate blue
  4. red
  5. mauve
  6. yellow
  7. mid blue
  8. orange
  9. grey-green
  10. sky blue
  11. better mauve
  12. light red
  13. blue
  14. grey
  • title: Box title.
  • width: Box width; default is 100%.
  • icon: Image name for icon.
  • iconwidth: Pixel width of icon; default is 56. Include "px".
  • msg': Box message. Alternatively the first unnamed argument/parameter can be used.

Simple examples

Theme 1: Tan (default)

This code:

 {{Robelbox2|title=Test title|Test content using a default box}}

produces this box:


Test title


Theme 2: Mid green with icon

This code:

 {{Robelbox2|theme=2|title=Test title|icon=Namespace Wikipedia.svg|1=Test content using a default box with theme=2}}

produces this box:


Namespace Wikipedia.svg
Test title


Color samples

Theme 1
Theme 2
Theme 3
Theme 4
Theme 5
Theme 6
Theme 7
Theme 8
Theme 9
Theme 10
Theme 11
Theme 12
Theme 13
Theme 14