|
|
(7 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| <noinclude> | | <noinclude> |
| Diese Vorlage erzeugt eine Zitatbox. Sie kann für ein Gedicht über Tübingen, einen Briefausschnitt oder wörtliche Rede - oft verwendet in Abschnitt: ''Stimmen dazu.'' verwendet werden.
| | <code><nowiki>{{Zitat|Zitierter Text|Author}}</nowiki></code> |
| Sie verwendet optionale benannte Parameter:
| |
| ;TEXT: der Zitattext;
| |
| ;AUTOR: der Zitatautor - optional, kann entfallen;
| |
| ;BILD: Bild zum Zitat - optional, kann entfallen;
| |
| ;STYLE: CSS-Deklarationen - optional, kann entfallen.
| |
| [[Kategorie:Vorlage]]
| |
|
| |
|
| == Kopiervorlage ==
| | Ergibt: |
| <nowiki>{{Zitat|BILD=[[<<Hier Pfad der Bilddatei eingeben>>|left|thumb|100px|<<Beschriftung des Bildes eingeben>>]]
| |
| |TEXT=<<Hier das Textzitat eingeben>>
| |
| |AUTOR=<<Hier Name der zitierten Person eingeben und eventuell Quelle>>
| |
| |</nowiki>
| |
|
| |
|
| | {{Zitat|Zitierter Text|Author}} |
| | </noinclude> |
| | <includeonly> |
| | <div class='quote-wrapper'> |
| | <div class='quote-text'><p>{{{1}}}</p></div> |
| | <div class='quote-author'><p>{{{2}}}</p></div> |
| | </div> |
| | <htmltag tagname="style"><nowiki> |
| | .quote-wrapper { |
|
| |
|
| == Beispiel ==
| | } |
| | | .quote-wrapper p { |
| <nowiki>{{Zitat|BILD=[[Datei:Goethe_cottahaus1.JPG|thumb|100px|Georg Cantor]]
| | margin: 0; |
| |TEXT=... Die Stadt selbst ist abscheulich....
| | } |
| |AUTOR=Johann Wolfgang v. Goethe}}</nowiki></pre>
| | .quote-text { |
| ergibt:
| | padding: 0.5em 1em; |
| {{Zitat|BILD=[[Datei:Goethe_cottahaus1.JPG|thumb|100px|]] | | border-left: 8px solid #eee; |
| |TEXT="... Die Stadt selbst ist abscheulich, allein man darf nur wenige Schritte tun, um die schönste Gegend zu sehen."
| | font-style: italic; |
| |AUTOR=Johann Wolfgang v. Goethe über Tübingen in einem Brief an Christiane Vulpius (ab 1806 seine Ehefrau)}}
| | } |
| | | .quote-text p { |
| | | } |
| </noinclude><includeonly>
| | .quote-author { |
| {| style="margin: 0;border: 1px solid #aaa;clear: both;padding: 1.5em;background-color: #F9F9F9;"|<div class="box cite" style="background-color:lightyellow;margin-bottom:0.5em;padding-left:1em;{{{STYLE|}}}"><cite>„{{{TEXT}}}“</cite><div class="prefsectiontip" style="text-align:right;">{{{AUTOR|}}}</div></div>|}</includeonly>
| | margin-top: 1em; |
| | } |
| | .quote-author p { |
| | text-align: right !important; |
| | } |
| | .quote-author p:before { |
| | content: '—'; |
| | margin-right: 0.25em; |
| | } |
| | </nowiki></htmltag> |
| | [[Kategorie:Zitate]] |
| | </includeonly> |