Vorlage:Zitat: Unterschied zwischen den Versionen

Aus Athalon
Zur Navigation springen Zur Suche springen
(Initiale Erstellung der Seite)
 
(Initiale Erstellung der Seite)
Zeile 1: Zeile 1:
<includeonly><div class="Vorlage_Zitat" style="margin:1em 40px;">
+
<noinclude>
<div style="margin:1em 0;"><blockquote
+
{{Vorlagenhilfe}}
{{#if: {{{lang|}}} | lang="{{{lang}}}" }} style="margin:0;">
+
</noinclude>
{{{vor|„}}}{{#if:x|{{{1|{{{Text|}}}}}}}}<nowiki />{{{nach|“}}}{{#if: {{{Umschrift|}}}{{{Übersetzung|}}}{{{2|{{{Autor|}}}}}}{{{3|{{{Quelle|}}}}}} || {{{ref|}}} }}
+
 
</blockquote>
+
<includeonly>
{{#if: {{{Umschrift|}}}
+
{| style="background-color: #F5F5F5; border-style: solid; border-width: 2px; border-color:#858585; padding:3px; text-align: left"
|<blockquote style="margin:0;">
+
| style="padding-right: 50px"|„{{{Text}}}“
{{{vor|„}}}{{{Umschrift}}}<nowiki />{{{nach|“}}}{{#if: {{{Übersetzung|}}}{{{2|{{{Autor|}}}}}}{{{3|{{{Quelle|}}}}}} || {{{ref|}}} }}
+
|-
</blockquote>
+
| style="font-size: small; font-style: italic; text-align: right"|{{{Autor}}} ({{{Quelle}}}) - {{{Sprache}}}
}}{{#if: {{{Übersetzung|}}}
+
|-
|<blockquote style="margin:0;">
+
| style="padding-right: 50px"|{{{Uebersetzung}}}
„{{{Übersetzung}}}<nowiki />{{#if: {{{2|{{{Autor|}}}}}}{{{3|{{{Quelle|}}}}}} || {{{ref|}}} }}
+
|}
</blockquote>
+
</includeonly>
}}</div>{{#if: {{{2|{{{Autor|}}}}}}
 
|<div style="margin:-1em 0 1em 1em;">– <span class="Person">{{#if:x|{{{2|{{{Autor}}}}}}}}</span>{{#if: {{{3|{{{Quelle|}}}}}} | &#58; {{{3|{{{Quelle}}}}}} }}{{{ref|}}}</div>
 
|{{#if: {{{3|{{{Quelle|}}}}}}
 
  |<div style="margin:-1em 0 1em 1em;">– {{#if:x|{{{3|{{{Quelle}}}}}}}}</div>
 
}}
 
}}</div></includeonly><noinclude>{{Dokumentation}}</noinclude>
 

Version vom 6. Mai 2018, 02:47 Uhr

Erklärung

So wird die Infobox für Zitate angelegt.

Code zum Einbinden

{{Zitat
|Text=
|Autor=	
|Quelle=
|Seite=
|Sprache=
|Uebersetzung=
}}

Aussehen