Vorlage:Klebezettel: Unterschied zwischen den Versionen

Aus Stupidedia, der sinnfreien Enzyklopädie!
Wechseln zu: Navigation, Suche
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>
+
<onlyinclude><includeonly><div class="stickynote stickynote-{{{2|{{{background|yellow}}}}}}" style="{{#if: {{{4|{{{rotation|}}}}}} | -moz-transform: rotate({{{4|{{{rotation|0}}}}}}deg); -ms-transform: rotate({{{4|{{{rotation|0}}}}}}deg); -o-transform: rotate({{{4|{{{rotation|0}}}}}}deg); -webkit-transform: rotate({{{4|{{{rotation|0}}}}}}deg); transform: rotate({{{4|{{{rotation|0}}}}}}deg);}} {{#if: {{{3|{{{color|}}}}}} | color: {{{3|{{{color}}}}}} |}}">
 +
{{{1|{{{text}}}}}}
 +
</div></includeonly></onlyinclude>
 
== Verwendung ==
 
== Verwendung ==
 
<pre><nowiki>{{Klebezettel|[Text]|[Zettelfarbe]|[Schriftfarbe]|[Rotation in Grad]}}</nowiki></pre>
 
<pre><nowiki>{{Klebezettel|[Text]|[Zettelfarbe]|[Schriftfarbe]|[Rotation in Grad]}}</nowiki></pre>
Zeile 22: Zeile 24:
 
<pre><nowiki>{{Klebezettel|text=Einkaufszettel|background=pink|rotation=-4}}</nowiki></pre>
 
<pre><nowiki>{{Klebezettel|text=Einkaufszettel|background=pink|rotation=-4}}</nowiki></pre>
 
{{Klebezettel|text=Einkaufszettel|background=pink|rotation=-4}}
 
{{Klebezettel|text=Einkaufszettel|background=pink|rotation=-4}}
</noinclude><includeonly><div class="stickynote stickynote-{{{2|{{{background|yellow}}}}}}" style="{{#if: {{{4|{{{rotation|}}}}}} | -moz-transform: rotate({{{4|{{{rotation|0}}}}}}deg); -ms-transform: rotate({{{4|{{{rotation|0}}}}}}deg); -o-transform: rotate({{{4|{{{rotation|0}}}}}}deg); -webkit-transform: rotate({{{4|{{{rotation|0}}}}}}deg); transform: rotate({{{4|{{{rotation|0}}}}}}deg);}} {{#if: {{{3|{{{color|}}}}}} | color: {{{3|{{{color}}}}}} |}}">
+
 
{{{1|{{{text}}}}}}
+
[[Kategorie:Vorlage:Einbauvorlage]]
</div></includeonly>
 

Aktuelle Version vom 11. Februar 2014, 18:26 Uhr

Verwendung

{{Klebezettel|[Text]|[Zettelfarbe]|[Schriftfarbe]|[Rotation in Grad]}}

oder:

{{Klebezettel
  |text=[Text]
  |background=[Zettelfarbe]
  |color=[Schriftfarbe]
  |rotation=[Rotation in Grad]
}}

Text, Rotation und Schriftfarbe können beliebig gewählt werden, die Zettelfarbe ist begrenzt auf die bereits vorhandenen Zettel (s. #Beispiele). Wenn keine Zettelfarbe angegeben wird, ist der Zettel standardmäßig gelb.

Beispiele

{{Klebezettel|text=Einkaufszettel|color=yellow}}

Einkaufszettel

{{Klebezettel|Einkaufszettel|green|#0000cc|5}}

Einkaufszettel

{{Klebezettel|Einkaufszettel|blue|#cc0000|2}}

Einkaufszettel

{{Klebezettel|text=Einkaufszettel|background=pink|rotation=-4}}

Einkaufszettel


Linktipps: Faditiva und 3DPresso