Vorlage:Diff: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| (27 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
<includeonly><div style="display: inline-table;"><div class="diamond diffbox" style="display: block; width: auto; min-width: 160px; background-color: {{{bg|#{{BackColor}}}}}; border: 2px solid black; text-align: center; padding-left: 10px; padding-right: 10px; max-height: 395px;">{{Compare|{{{1|}}}|{{{2|}}}}} |
|||
<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> |
|||
</div><div class="diamond" style="display: table-caption; width: auto; min-width: 160px; background-color: {{{bg2|#{{BackColor}}}}}; border: 2px solid black; text-align: center; padding-left: 10px; padding-right: 10px;>{{Shadow|{{{3|}}}}}</div><div class="diamond volume2" style="display: table-cell; width: auto; min-width: 160px; background-color: {{{bg3|#{{BackColor}}}}}; border: 2px solid black; text-align: center; padding-left: 10px; padding-right: 10px; height: 90px; vertical-align: middle;>{{{4|}}}</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. |
|||
==Anwendung== |
|||
<pre> |
<pre> |
||
{{Diff |
|||
{{Diff|bg={{Color|PB}}|bg2={{Color|PB2}}|bg3={{Color|PB2}} |
|||
|Color = |
|||
|[[File:Digital-Color-Vergleich-SW.webp|300px]]|[[File:Digital-Color-Vergleich-Coloriert.webp|300px]]|[[Dragon Ball: Kapitel 013]] {{S|[[Bratpfannenberg]]}}|Schwarz-Weiß/Koloriert (Vergleich)}} |
|||
|Chapter = |
|||
|Page = |
|||
|Label1 = |
|||
|Image1 = |
|||
|Image1Size = |
|||
|Label2 = |
|||
|Image2 = |
|||
|Image2Size = |
|||
|Desc = |
|||
|Diff1Size = |
|||
|Diff2Size = |
|||
|DiffWidth = |
|||
}} |
|||
You can add |Compare = False to remove the "Compare Both" button. |
|||
</pre> |
</pre> |
||
{{DiffRow |
|||
==Beispiel== |
|||
|{{Diff|bg={{Color|PB}}|bg2={{Color|PB2}}|bg3={{Color|PB2}} |
|||
{{Flex| |
|||
|[[File:Digital-Color-Vergleich-SW.webp|300px]]|[[File:Digital-Color-Vergleich-Coloriert.webp|300px]]|[[Dragon Ball: Kapitel 013]] {{S|[[Bratpfannenberg]]}}|Schwarz-Weiß/Koloriert (Vergleich)}} |
|||
{{Diff |
|||
|{{Diff|bg={{Color|PB}}|bg2={{Color|PB2}}|bg3={{Color|PB2}} |
|||
|Color = db |
|||
|[[File:Digital-Color-Vergleich-SW.webp|300px]]|[[File:Digital-Color-Vergleich-Coloriert.webp|300px]]|[[Dragon Ball: Kapitel 013]] {{S|[[Bratpfannenberg]]}}|Schwarz-Weiß/Koloriert (Vergleich)}} |
|||
|Chapter = [[Dragon Ball Super: Kapitel 018]] |
|||
|Page = Seite 8 |
|||
|Image1 = DBSKapitel018-Änderung-Magazin.png |
|||
|Image2 = DBSKapitel018-Änderung-Band.png |
|||
|Desc = 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). |
|||
}} |
}} |
||
{{Diff |
|||
</noinclude><noinclude>[[Category:Design Templates]]</noinclude> |
|||
|Color = db |
|||
|Chapter = [[Dragon Ball Super: Kapitel 018]] |
|||
|Page = Seite 27 |
|||
|Image1 = DBSKapitel018-Änderung 2-Magazin.png |
|||
|Image2 = DBSKapitel018-Änderung 2-Band.png |
|||
|Desc = 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|DBS Kapitel 018]] (S. 8)<br />'''Band:''' [[Dragon Ball Super: Kapitel 018|DBS Kapitel 018]] (S. 8) |
|||
}} |
|||
}} |
|||
<pre> |
|||
{{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) |
|||
}} |
|||
}} |
|||
</pre> |
|||
</noinclude> |
|||
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)
}}
}}







