Vorlage:Zitat: Unterschied zwischen den Versionen

Aus Duckipedia
Zur Navigation springen Zur Suche springen
(Versuch einer simpleren Vorlage, mal schauen ;-))
Zeile 1: Zeile 1:
<onlyinclude><includeonly><div class="Vorlage_Zitat" style="margin:1em 40px;">
<includeonly>
<div style="margin:1em 0;"><blockquote {{#if: {{{Sprache|{{{lang|}}}}}} | lang="{{{Sprache|{{{lang}}}}}}" }} style="margin:0;">
:{{ #if: {{{ZIT|}}} | {{{ZIT}}} | {{{1}}} }}
{{#ifeq: {{{vor}}}@@-@@{{{nach}}} | -@@-@@-
{{ #if: {{{UEB|}}} | :„{{{UEB}}}“ | }}
  | {{#if:trim|{{{1|{{{Text|}}}}}}}}
:{{ #if: {{{3|}}} or {{{QUE|}}} | {{ #if: {{{PER|}}} | <span style="font-variant:small-caps;">{{{PER}}}</span>, | <span style="font-variant:small-caps;">{{{2}}}</span>, }} | {{ #if: {{{PER|}}} | <span style="font-variant:small-caps;">{{{PER}}}</span> | <span style="font-variant:small-caps;">{{{2}}}}}</span> }} {{ #if: {{{QUE|}}} | {{{QUE}}} | {{ #if: {{{3|}}} | {{{3}}} | }} }}
  | {{#ifeq: {{#if:{{{vor|}}}|{{{vor}}}|@#@}}{{#if:{{{nach|}}}|{{{nach}}}|@#@}} | @#@@#@
</includeonly>
      | {{#ifeq: {{lc: {{{Sprache|{{{lang|de}}}}}} }} | de
<noinclude>
          | {{#if:trim|{{{1|{{{Text|}}}}}}}}“
{{Zitat
          | {{#invoke:Text|quoteUnquoted| {{{1|{{{Text|}}}}}} | {{{Sprache|{{{lang}}}}}} }} }}
| ZIT = Hi
      | {{#ifeq: {{#if:{{{vor|}}}|{{{vor}}}|-}} | -
| UEB = Moin
          | <span class="error">„</span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]
| PER = [[Dagobert]]
          | {{{vor}}} }}{{#if:trim|{{{1|{{{Text|}}}}}}}}{{
| QUE = [[Der arme reiche Mann]]
          #ifeq: {{#if:{{{nach|}}}|{{{nach}}}|-}} | -
}}
          | <span class="error">“</span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]
</noinclude>
          | {{{nach}}} }} }} }}{{
      #if: {{{Umschrift|{{{Latn|}}}}}}{{{Übersetzung|{{{de|}}}}}}{{{2|{{{Autor|}}}}}}{{{3|{{{Quelle|}}}}}} || {{{ref|}}} }}
</blockquote>
{{#if: {{{Umschrift|{{{Latn|}}}}}}
| <blockquote class="Latn" style="margin:0;" lang="{{{Sprache|{{{lang|und}}}}}}-Latn">
{{{vor|„}}}{{{Umschrift|{{{Latn}}}}}}<nowiki />{{{nach|“}}}{{#if: {{{Übersetzung|{{{de|}}}}}}{{{2|{{{Autor|}}}}}}{{{3|{{{Quelle|}}}}}} || {{{ref|}}} }}
</blockquote><!-- Zwiebelfisch Latn -->
}}{{#if: {{{Übersetzung|{{{de|}}}}}}
| <blockquote style="margin:0;" lang="de-Latn">
{{{Übersetzung|{{{de}}}}}}<nowiki />“{{#if: {{{2|{{{Autor|}}}}}}{{{3|{{{Quelle|}}}}}} || {{{ref|}}} }}
</blockquote><!-- Zwiebelfisch Latn -->
}}</div>{{#if: {{{2|{{{Autor|}}}}}}
|<div class="cite" style="margin:-1em 0 1em 1em;">– <span class="Person">{{#if:trim|{{{2|{{{Autor}}}}}}}}</span>{{#if: {{{3|{{{Quelle|}}}}}} | &#58; <cite style="font-style:normal">{{{3|{{{Quelle}}}}}}</cite> }}{{{ref|}}}</div>
|{{#if: {{{3|{{{Quelle|}}}}}}
  |<div class="cite" style="margin:-1em 0 1em 1em;">– {{#if:trim|<cite style="font-style:normal">{{{3|{{{Quelle}}}}}}</cite>}}{{{ref|}}}</div>
}}
}}</div>{{#if: {{{ref|}}} |
{{#if: {{#invoke:Text|unstrip|{{{ref}}}}}
        | <span class="error editoronly" style="display:none">[[Vorlage:Zitat]]: Ungültiger Wert: <code>ref=</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]}} }}{{#if: {{#if:Str trim|{{{1|{{{Text|}}}}}}}} | {{
    #if: {{{1|}}} | {{#if: {{{Text|}}} |
    <span class="error">[[Vorlage:Zitat]]: Doppelangabe <code>1=Text=</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]}}
}}| <span class="error" style="display:none">[[Vorlage:Zitat]]: Kein <code>Text</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]
}}{{#if: {{{2|}}} | {{#if: {{{Autor|}}} |
    <span class="error">[[Vorlage:Zitat]]: Doppelangabe <code>2=Autor=</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]}}
}}{{#if: {{{3|}}} | {{#if: {{{Quelle|}}} |
    <span class="error">[[Vorlage:Zitat]]: Doppelangabe <code>3=Quelle=</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]}}
}}{{#if: {{{Umschrift|}}} | {{#if: {{{Latn|}}} |
    <span class="error">[[Vorlage:Zitat]]: Doppelangabe <code>Umschrift=Latn=</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]}}
}}{{#if: {{{Sprache|}}} | {{#if: {{{lang|}}} |
    <span class="error">[[Vorlage:Zitat]]: Doppelangabe <code>Sprache=lang=</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]}}
}}{{#if: {{{Übersetzung|}}} | {{#if: {{{de|}}} |
    <span class="error">[[Vorlage:Zitat]]: Doppelangabe <code>Übersetzung=de=</code></span>[[Kategorie:Duckipedia:Vorlagenfehler/Vorlage:Zitat]]}}
}}</includeonly></onlyinclude>

Version vom 9. Mai 2021, 11:15 Uhr


„Hi“
„Moin“
Dagobert, Der arme reiche Mann