Vorlage:Lvl: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(Dokumentation)
 
(6 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 24: Zeile 24:
 
--> | 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div> }}    <!--  
 
--> | 4 = <div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">{{#expr: ceil( {{#expr: ( {{{lvl}}} mod 50 ) div 10 }} ) }}&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div> }}    <!--  
 
-->| Region = {{#switch:  {{{lvl}}}<!--                Regions
 
-->| Region = {{#switch:  {{{lvl}}}<!--                Regions
-->| 50 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 50 =<table style="background-color:rgba(0, 0, 0, 0);"><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6e6ee1; height:16px; width:72px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: gold;"></span>'''</div></td></tr></table><!--  
-->| 100 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 100 =<table style="background-color:rgba(0, 0, 0, 0);"><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffffac; height:16px; width:72px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: gold;">★★</span>'''</div></td></tr></table><!--  
-->| 150 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 150 =<table style="background-color:rgba(0, 0, 0, 0);"><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #ffb464; height:16px; width:72px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: gold;">★★★</span>'''</div></td></tr></table><!--  
-->| 200 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 200 =<table style="background-color:rgba(0, 0, 0, 0);"><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #c83232; height:16px; width:72px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: gold;">★★★★</span>'''</div></td></tr></table><!--  
-->| 250 =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table><!--  
+
-->| 250 =<table style="background-color:rgba(0, 0, 0, 0);"><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #963296; height:16px; width:72px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: gold;">★★★★★</span>'''</div></td></tr></table><!--  
 
-->| #default =<big>&#9760;</big> Region level error, it should be 50, 100, 150, 200 or 250 <big>&#9760;</big>}}    <!--                Region Silan
 
-->| #default =<big>&#9760;</big> Region level error, it should be 50, 100, 150, 200 or 250 <big>&#9760;</big>}}    <!--                Region Silan
-->| Region Silan =<table><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">1&nbsp;x&nbsp;</span><span style="color: gold;">✹</span>'''</div></td><td>&nbsp;<big>➸</big>&nbsp;</td><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87; height:16px; width:48px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: white;">5&nbsp;x&nbsp;</span><span style="color: gold;"></span>'''</div></td></tr></table> }}</includeonly><!--           
+
-->| Region Silan =<table style="background-color:rgba(0, 0, 0, 0);"><tr><td><div style="border:0px;padding: 1px 1px 3px 1px; background-color: #6eaa87; height:16px; width:72px; text-align:center; text-shadow: 1px 1px black;">'''<span style="color: gold;"></span>'''</div></td></tr></table> }}</includeonly><!--           
 
--><noinclude>{{Trad
 
--><noinclude>{{Trad
 
|DE = Template:Lvl |DEs= 4
 
|DE = Template:Lvl |DEs= 4
Zeile 43: Zeile 43:
 
}}
 
}}
 
==Dokumentation==
 
==Dokumentation==
Dieses Modell verwendet zwei Parameter:
+
Diese Vorlage verwendet zwei Parameter:
* <code>lvl </code>: der Level des Mob (oder Region), der die Hintergrundfarbe und die Anzahl der Sterne bestimmt ( lvl =farbe + #✹x10)
+
* <code>lvl </code>: der Level des Mob (oder Region), der die Hintergrundfarbe und die Anzahl der Sterne bestimmt ( lvl =farbe + (#✹ - 1)x10)
 
* <code>Special </code>: Optional, welches die Varianten bestimmt. Es kann die Werte <code>Silan, Silan named, Silan boss, Named, Boss, Region oder Region Silan</code> (Achtung groß-und Kleinschreibung) annehmen.
 
* <code>Special </code>: Optional, welches die Varianten bestimmt. Es kann die Werte <code>Silan, Silan named, Silan boss, Named, Boss, Region oder Region Silan</code> (Achtung groß-und Kleinschreibung) annehmen.
  
Zeile 76: Zeile 76:
 
| <nowiki>{{lvl |lvl = 270|Special=Boss}}</nowiki> || {{lvl |lvl = 270|Special=Boss}}
 
| <nowiki>{{lvl |lvl = 270|Special=Boss}}</nowiki> || {{lvl |lvl = 270|Special=Boss}}
 
|}
 
|}
===Ebenen der Regionen===
+
===Level der Regionen===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Niveau !!Code !! Résultat
+
! Level !!Code !! Resultat
 
|-
 
|-
 
| 50 || <nowiki>{{lvl |Special=Region Silan}}</nowiki> || {{lvl |Special=Region Silan}}
 
| 50 || <nowiki>{{lvl |Special=Region Silan}}</nowiki> || {{lvl |Special=Region Silan}}

Aktuelle Version vom 4. Dezember 2020, 08:38 Uhr

de:Template:Lvl
en:Template:Lvl
es:Template:Lvl
fr:Template:Lvl
ru:Template:Lvl
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎

Dokumentation

Diese Vorlage verwendet zwei Parameter:

  • lvl : der Level des Mob (oder Region), der die Hintergrundfarbe und die Anzahl der Sterne bestimmt ( lvl =farbe + (#✹ - 1)x10)
  • Special : Optional, welches die Varianten bestimmt. Es kann die Werte Silan, Silan named, Silan boss, Named, Boss, Region oder Region Silan (Achtung groß-und Kleinschreibung) annehmen.

Das Zeichen ""wurde gewählt, um Verwechslungen mit "" vorzubeugen; die nutzen wir im Spiel, und haben eine andere Bedeutung.

Verwendung

{{lvl | lvl =  level | Special= special }} 

Beispiele

Mobs

Code Résultat
{{lvl |lvl = 35|Special=Silan}}
4  x 
{{lvl |lvl = 45|Special=Silan boss}}
✹ ✹
{{lvl |lvl = 45}}
5 x 
{{lvl |lvl = 75}}
3 x 
{{lvl |lvl = 110}}
1 x 
{{lvl |lvl = 163}}
2 x 
{{lvl |lvl = 224}}
3 x 
{{lvl |lvl = 160|Special=Named}}
{{lvl |lvl = 270|Special=Boss}}
✹ ✹

Level der Regionen

Level Code Resultat
50 {{lvl |Special=Region Silan}}
50 {{lvl |lvl = 50|Special=Region}}
100 {{lvl |lvl = 100|Special=Region}}
★★
150 {{lvl |lvl = 150|Special=Region}}
★★★
200 {{lvl |lvl = 200|Special=Region}}
★★★★
250 {{lvl |lvl = 250|Special=Region}}
★★★★★
153 {{lvl |lvl = 153|Special=Region}} Region level error, it should be 50, 100, 150, 200 or 250






Neueste Version 04.12.2020•