Vorlage:Lichtschwert: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Dalyas (Diskussion | Beiträge) Die Seite wurde neu angelegt: „<includeonly><div style="position: relative; display: inline-block; transform: rotate(-10deg);">{{#if:{{{double|}}}|<div style="display: inline-block; background: {{{2|#fff}}}; box-shadow: 0 0 3px {{{overfill|3px}}} {{{1|#fff}}}; width: 40px; height: 3px; border-radius: 1.5px; z-index: 6; position: relative; left: 0px;"></div>|}}<div style="display: inline-block; position: relative; top: 1px; width: 18px; height: 5px; background: linear-gradient(#999, #ee…“ |
Dalyas (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<includeonly><div style="position: relative; display: inline-block; transform: rotate(-10deg);">{{#if:{{{double|}}}|<div style="display: inline-block; background: {{{2|#fff}}}; box-shadow: 0 0 3px {{{overfill|3px}}} {{{1|#fff}}}; width: 40px; height: 3px; border-radius: 1.5px; z-index: 6; position: relative; left: 0px;"></div>|}}<div style="display: inline-block; position: relative; top: 1px; width: 18px; height: 5px; background: linear-gradient(#999, #eee 30%, #222); z-index: 10"></div><div style="display: inline-block; background: {{{2|#fff}}}; box-shadow: 0 0 3px {{{overfill|3px}}} {{{1|#fff}}}; width: 40px; height: 3px; border-radius: 1.5px; z-index: 6"></div>{{#if:{{{crossguard|}}}|<div style="display: inline-block; background: {{{2|#fff}}}; box-shadow: 0 0 3px {{{overfill|3px}}} {{{1|#fff}}}; position: relative; left: -44px; top: 3.5px; width: 2px; height: 10px; border-radius: 1px; z-index: 3"></div>|}}</div></includeonly><noinclude> | <includeonly><div style="position: relative; display: inline-block; transform: rotate(-10deg);">{{#if:{{{double|}}}|<div style="display: inline-block; background: {{{2|#fff}}}; box-shadow: 0 0 3px {{{overfill|3px}}} {{{1|#fff}}}{{{extrashadow|}}}; width: 40px; height: 3px; border-radius: 1.5px; z-index: 6; position: relative; left: 0px;"></div>|}}<div style="display: inline-block; position: relative; top: 1px; width: 18px; height: 5px; background: linear-gradient(#999, #eee 30%, #222); z-index: 10"></div><div style="display: inline-block; background: {{{2|#fff}}}; box-shadow: 0 0 3px {{{overfill|3px}}} {{{1|#fff}}}{{{extrashadow|}}}; width: 40px; height: 3px; border-radius: 1.5px; z-index: 6"></div>{{#if:{{{crossguard|}}}|<div style="display: inline-block; background: {{{2|#fff}}}; box-shadow: 0 0 3px {{{overfill|3px}}} {{{1|#fff}}}{{{extrashadow|}}}; position: relative; left: -44px; top: 3.5px; width: 2px; height: 10px; border-radius: 1px; z-index: 3"></div>|}}</div></includeonly><noinclude> | ||
===Beispiele=== | ===Beispiele=== | ||
* Rot: {{Lichtschwert|red}} | * Rot: {{Lichtschwert|red}} | ||
* Schwarz-Rot: {{Lichtschwert|red|black|overfill=2px}} | * Schwarz-Rot: {{Lichtschwert|red|black|overfill=2px}} | ||
* Weiß: {{Lichtschwert| | * Weiß: {{Lichtschwert|white|black|extrashadow=, 0 0 8px 4px grey}} | ||
* Crossguard: {{Lichtschwert|red|crossguard=true}} | * Crossguard: {{Lichtschwert|red|crossguard=true}} | ||
* Doppelklinge: {{Lichtschwert|red|double=true}} | * Doppelklinge: {{Lichtschwert|red|double=true}} | ||
| Zeile 24: | Zeile 24: | ||
** ''Zweiter Parameter:'' Farbe des Kerns | ** ''Zweiter Parameter:'' Farbe des Kerns | ||
** ''overfill:'' Breite des Scheins (Überfüllen des Schattens) | ** ''overfill:'' Breite des Scheins (Überfüllen des Schattens) | ||
** ''extrashadow:'' Zusätzlicher Schatten für das Schwert | |||
** ''crossguard:'' Fügt eine Parierstange ein | ** ''crossguard:'' Fügt eine Parierstange ein | ||
** ''double:'' Erstellt eine Doppelklinge | ** ''double:'' Erstellt eine Doppelklinge | ||
| Zeile 31: | Zeile 32: | ||
|black | |black | ||
|overfill=2px | |overfill=2px | ||
|extrashadow=, 0 0 8px grey | |||
|crossguard=true | |crossguard=true | ||
|double=true | |double=true | ||
Version vom 20. Juli 2025, 21:19 Uhr
Beispiele
- Rot:
- Schwarz-Rot:
- Weiß:
- Crossguard:
- Doppelklinge:
Wie füge ich die Vorlage in einen Artikel ein?
- Kopiere den folgenden Quelltext und füge ihn in den gewünschten Artikel ein.
{{Lichtschwert
|red
}}
- Als Farben sind alle CSS-Codes gültig z.B.:
#ffffür weiß,#f00für rot,#0f0für grün, oder#99ffür hellblau.- Einige englische Farbnamen, z.B.
white, red,orange, uvm. Siehe Wikipedia
- Für fortgeschrittene Verwendung gibt es weitere Parameter
- Erster Parameter: Farbe des Scheins
- Zweiter Parameter: Farbe des Kerns
- overfill: Breite des Scheins (Überfüllen des Schattens)
- extrashadow: Zusätzlicher Schatten für das Schwert
- crossguard: Fügt eine Parierstange ein
- double: Erstellt eine Doppelklinge
{{Lichtschwert
|red
|black
|overfill=2px
|extrashadow=, 0 0 8px grey
|crossguard=true
|double=true
}}