Vorlage:Scrollbox: Unterschied zwischen den Versionen

Aus WikiReal
Wechseln zu: Navigation, Suche
K (Korrektur)
K (Korrektur)
 
Zeile 1: Zeile 1:
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|100%}}}; margin-bottom:3px; margin-top:2px;"><tr><td style="background:{{{background|transparent}}};"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}}; border:1px solid #AAAAAA; padding-left:0.5em; background:{{{background|transparent}}};">
+
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:{{{background|transparent}}};"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}}; border:1px solid #AAAAAA; padding-left:0.5em; background:{{{background|transparent}}};">
 
{{{content|{{{1}}}}}}
 
{{{content|{{{1}}}}}}
 
</div></td><td style="width:8px;"></td></tr></table><noinclude>__NOTOC__
 
</div></td><td style="width:8px;"></td></tr></table><noinclude>__NOTOC__

Aktuelle Version vom 24. Januar 2012, 11:29 Uhr

{{{1}}}

Verwendung

Anmerkung: Die Paramenter "width" und "height" können benutzt werden, um die Größe der Box zu bestimmen. Zum Beispiel:

{{scrollbox
|width=75%
|height=180px
|background=#EEE
|content=
Beispieltext
}}

Vereinfachter Code:

{{scrollbox|
Beispieltext
}}

Beispiel

Code

{{scrollbox
|background=#F8F8F8
|content=
*...
*...
*...
*...
*...
*...
*...
*...
*...
*...
*...
*...
*...
*...
*...
}}

Resultat

  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...
  • ...