Vorlage:Orgbox: Unterschied zwischen den Versionen

Aus SWPedia
Zur Navigation springen Zur Suche springen
Fel (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „<includeonly><div style="border-radius: 5px; text-align:center; min-width:70px; min-height:20px; border:{{{BORDER|1px solid black}}}; background-color:{{{BACKGROUND|#cfbf9f}}}; position:absolute; top: {{{Y|0}}}px; left: {{{X|0}}}px; width:{{{WIDTH|120}}}px; height:{{{HEIGHT|80}}}px; font-weight:normal; font-size:10t; vertical-align:middle; padding-top:5pt;">{{{NAME|no name}}} {{#if: {{{TITLE|}}}|<div style="height:1px; text-align:center; margin-left:10px;…“
 
Anyera (Diskussion | Beiträge)
K Damit die Orgbox-Schrift im Darkmode nicht weiß wird
 
(5 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><div style="border-radius: 5px; text-align:center; min-width:70px; min-height:20px; border:{{{BORDER|1px solid black}}}; background-color:{{{BACKGROUND|#cfbf9f}}}; position:absolute; top: {{{Y|0}}}px; left: {{{X|0}}}px; width:{{{WIDTH|120}}}px; height:{{{HEIGHT|80}}}px; font-weight:normal; font-size:10t; vertical-align:middle; padding-top:5pt;">{{{NAME|no name}}}
<includeonly>
{{#if: {{{TITLE|}}}|<div style="height:1px; text-align:center; margin-left:10px; margin-right:10px; border-top:{{{BORDER|1px solid black}}};"></div><span style="font-size:8pt;">{{{TITLE|}}}</span>}}
<div style="
</div></includeonly>
  border-radius:5px;
  text-align:center;
  min-width:70px;
  min-height:20px;
  border:{{{BORDER|1px solid black}}};
  background-color:{{{BACKGROUND|#cfbf9f}}};
  color:{{{COLOR|#000}}};
  position:absolute;
  top:{{{Y|0}}}px;
  left:{{{X|0}}}px;
  width:{{{WIDTH|120}}}px;
  height:{{{HEIGHT|80}}}px;
  font-weight:normal;
  font-size:10pt;
  vertical-align:middle;
  padding-top:5pt;
">{{{NAME|no name}}}
{{#if: {{{TITLE|}}}|
  <span style="font-size:8pt;">{{{TITLE|}}}</span>
}}
</div>
</includeonly>
<noinclude>
<noinclude>
Zur Erstellung und Darstellung von Orgboxen.
Zur Erstellung und Darstellung von Orgboxen.


== Parameter ==
== Parameter ==
Zeile 16: Zeile 38:
* BORDER (default: 1px solid black)
* BORDER (default: 1px solid black)


{{Clear}}


<div style="height:300px; width:300px;">
== Beispiel ==
{{OrgBox|NAME=Hans Wurst|TITLE=Wurstmacher|X=100|Y=100|WIDTH=170|HEIGHT=60}}
 
{{OrgBox|NAME=Hans Wurst|X=300|Y=100|WIDTH=170|HEIGHT=160}}
<div style="position:relative; left:40px; height:300px; width:300px;">
{{Orgbox|NAME=Hans Wurst|TITLE=Wurstmacher|X=100|Y=100|WIDTH=170|HEIGHT=60}}
{{Orgbox|NAME=Hans Wurst|X=300|Y=100|WIDTH=170|HEIGHT=160}}
</div>
</div>
</noinclude>
</noinclude>
[[Kategorie:Vorlage]]
[[Kategorie:Vorlage]]

Aktuelle Version vom 27. Januar 2026, 12:17 Uhr


Zur Erstellung und Darstellung von Orgboxen.


Parameter

  • NAME
  • TITLE
  • X (Position)
  • Y (Position)
  • WIDTH
  • HEIGHT
  • BACKGROUND (default: #cfbf9f)
  • BORDER (default: 1px solid black)


Beispiel

Hans Wurst

Wurstmacher

Hans Wurst