Vorlage:Diff: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| (13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<includeonly><templatestyles src="Diff/styles.css" /><div class="volDiffBox" style="max-width:{{{DiffWidth|270px}}}"><div class="volDiffTitle diamond {{{ |
<includeonly><templatestyles src="Diff/styles.css" /><div class="volDiffBox" style="max-width:{{{DiffWidth|270px}}}"><div class="volDiffTitle diamond {{{Color|}}}">{{{Chapter|}}} {{#if:{{{Page|}}}|{{S|{{{Page|}}}}}}}</div><div class="volDiffContent diamond {{{Color|}}}4">{{#switch:{{{Buttons|}}}|False=|#default=<div class="volDiffButtons" data-part="{{lc:{{{Color|}}}}}">{{Button2|{{{Label1|Magazin}}}|class=volDiffTab1 {{lc:{{{Color|}}}}}}}{{Button2|{{{Label2|Band}}}|class=volDiffTab2}}</div>}}<div class="volDiffImages"><div class="volDiffImage1">[[File:{{{Image1|KeinBild.png}}}|{{{Image1Size|x200px}}}]]</div><div class="volDiffImage2" {{#switch:{{{Buttons|}}}|False=|#default=style="display:none"}}>[[File:{{{Image2|KeinBild.png}}}|{{{Image2Size|x200px}}}]]</div></div>{{#switch:{{{Compare|}}}|False=|#default={{Modal|Beides vergleichen|{{Compare|[[File:{{{Image1|KeinBild.png}}}|{{{Diff1Size|400px}}}]]|[[File:{{{Image2|KeinBild.png}}}|{{{Diff2Size|400px}}}]]|{{{Label1|Magazin}}}|{{{Label2|Band}}}}}}}}}</div>{{#if:{{{Desc|}}}|<div class="volDiffCaption textarea">{{{Desc|}}}</div>}}</div></includeonly><noinclude> |
||
This template is used for comparing differences between two images. Primarily used for comparing magazine and volume pages or volume reprint differences. Use it with {{Tl|Flex}} as a wrapper (to make the boxes align next to each other). {{Tl|DiffBox}} should also be used for volume difference sections on pages. |
This template is used for comparing differences between two images. Primarily used for comparing magazine and volume pages or volume reprint differences. Use it with {{Tl|Flex}} as a wrapper (to make the boxes align next to each other). {{Tl|DiffBox}} should also be used for volume difference sections on pages. |
||
== |
==Anwendung== |
||
<pre> |
<pre> |
||
{{Diff |
{{Diff |
||
| |
|Color = |
||
|Chapter = |
|Chapter = |
||
|Page = |
|Page = |
||
| Zeile 23: | Zeile 23: | ||
</pre> |
</pre> |
||
== |
==Beispiel== |
||
{{Flex| |
{{Flex| |
||
{{Diff |
{{Diff |
||
| |
|Color = db |
||
|Chapter = [[Dragon Ball Super: Kapitel 018]] |
|Chapter = [[Dragon Ball Super: Kapitel 018]] |
||
|Page = Seite |
|Page = Seite 8 |
||
|Image1 = DBSKapitel018-Änderung-Magazin.png |
|Image1 = DBSKapitel018-Änderung-Magazin.png |
||
|Image2 = DBSKapitel018-Änderung-Band.png |
|Image2 = DBSKapitel018-Änderung-Band.png |
||
| Zeile 34: | Zeile 34: | ||
}} |
}} |
||
{{Diff |
{{Diff |
||
| |
|Color = db |
||
|Chapter = [[Dragon Ball Super: Kapitel 018]] |
|Chapter = [[Dragon Ball Super: Kapitel 018]] |
||
|Page = Seite |
|Page = Seite 27 |
||
|Image1 = DBSKapitel018-Änderung 2-Magazin.png |
|Image1 = DBSKapitel018-Änderung 2-Magazin.png |
||
|Image2 = DBSKapitel018-Änderung 2-Band.png |
|Image2 = DBSKapitel018-Änderung 2-Band.png |
||
| Zeile 42: | Zeile 42: | ||
}}}} |
}}}} |
||
== |
==Ohne Schaltfläche== |
||
{{Flex| |
{{Flex| |
||
{{Diff |
{{Diff |
||
| |
|Color = db |
||
|Label1 = |
|Label1 = Magazin |
||
|Label2 = |
|Label2 = Band |
||
|Image1 = DBSKapitel018-Änderung-Magazin.png |
|Image1 = DBSKapitel018-Änderung-Magazin.png |
||
|Image2 = DBSKapitel018-Änderung-Band.png |
|Image2 = DBSKapitel018-Änderung-Band.png |
||
| Zeile 53: | Zeile 53: | ||
|Compare = False |
|Compare = False |
||
|Buttons = False |
|Buttons = False |
||
|Desc = '''Magazin:''' [[Dragon Ball Super: Kapitel 018]]<br />'''Band:''' [[Dragon Ball Super: Kapitel 018]] |
|Desc = '''Magazin:''' [[Dragon Ball Super: Kapitel 018|DBS Kapitel 018]] (S. 8)<br />'''Band:''' [[Dragon Ball Super: Kapitel 018|DBS Kapitel 018]] (S. 8) |
||
}} |
}} |
||
}} |
}} |
||
| Zeile 59: | Zeile 59: | ||
{{Flex| |
{{Flex| |
||
{{Diff |
{{Diff |
||
| |
|Color = db |
||
|Label1 = Magazin |
|Label1 = Magazin |
||
|Label2 = Band |
|Label2 = Band |
||
| Zeile 67: | Zeile 67: | ||
|Compare = False |
|Compare = False |
||
|Buttons = False |
|Buttons = False |
||
|Desc = '''Magazin:''' [[Dragon Ball Super: Kapitel 018|Kapitel 018]]<br />'''Band:''' [[Dragon Ball Super: Kapitel 018|Kapitel 018]] |
|Desc = '''Magazin:''' [[Dragon Ball Super: Kapitel 018|Kapitel 018]] (S. 8)<br />'''Band:''' [[Dragon Ball Super: Kapitel 018|Kapitel 018]] (S. 8) |
||
}} |
}} |
||
}} |
}} |
||
Aktuelle Version vom 19. März 2026, 17:24 Uhr
This template is used for comparing differences between two images. Primarily used for comparing magazine and volume pages or volume reprint differences. Use it with Flex as a wrapper (to make the boxes align next to each other). DiffBox should also be used for volume difference sections on pages.
Anwendung
{{Diff
|Color =
|Chapter =
|Page =
|Label1 =
|Image1 =
|Image1Size =
|Label2 =
|Image2 =
|Image2Size =
|Desc =
|Diff1Size =
|Diff2Size =
|DiffWidth =
}}
You can add |Compare = False to remove the "Compare Both" button.
Beispiel
Dragon Ball Super: Kapitel 018 (Seite 8)
Die Unterseite des Omni-König-Beschwörungsgeräts wird so angepasst, dass sich auf jeder Seite Knöpfe befinden (einer, um zum Omni-König zu reisen, und einer, um ihn zum Benutzer zu bringen).
Dragon Ball Super: Kapitel 018 (Seite 27)
Die Dialogpassage zwischen Whis und Gowasu wird dahingehend geändert, dass der Engel den Kaiōshin zunächst nicht mit seinem Namen anspricht.
Ohne Schaltfläche
{{Flex|
{{Diff
|Color = db
|Label1 = Magazin
|Label2 = Band
|Image1 = DBSKapitel018-Änderung-Magazin.png
|Image2 = DBSKapitel018-Änderung-Band.png
|DiffWidth = 180px
|Compare = False
|Buttons = False
|Desc = '''Magazin:''' [[Dragon Ball Super: Kapitel 018|Kapitel 018]] (S. 8)<br />'''Band:''' [[Dragon Ball Super: Kapitel 018|Kapitel 018]] (S. 8)
}}
}}







