Vorlage:Jump Kapitel/Code

Aus OPwiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
[gesichtete Version][gesichtete Version]
K
K
(Der Versionsvergleich bezieht 5 dazwischenliegende Versionen mit ein.)
Zeile 1: Zeile 1:
-
== Default ==
+
==Default==
<onlyinclude>
<onlyinclude>
-
<code>
+
<div style="font-family:monospace"><nowiki>{{#switch:{{{1|}}}|+={{#switch:{{LOCALWEEK}}</nowiki>
-
<nowiki>{{#switch:{{{1|}}}|+=
+
-
{{#switch:{{LOCALWEEK}}</nowiki>
+
-
| {{LOCALWEEK}} <nowiki>=
+
|{{LOCALWEEK}}<nowiki>={{#ifexpr:{{#timel:NH}}<717|{{MangaPlus|h=17|dayofWeek=7}}|{{MangaPlus|break=2|h=17}} }}</nowiki>
-
{{#ifexpr:{{#timel:NH}}<717
+
-
| {{MangaPlus|h=17|dayofWeek=7}}
+
-
| {{MangaPlus|break=2|h=17}}
+
-
}}</nowiki>
+
-
| {{#expr:{{LOCALWEEK}}+1}} <nowiki>=
+
|{{#expr:{{LOCALWEEK}}+1}}<nowiki>={{MangaPlus|break=1|h=17}}</nowiki>
-
{{MangaPlus|break=2|h=17}}
+
-
}}</nowiki>
+
-
<nowiki>| #default =
+
<nowiki>|#default={{#ifexpr:{{#timel:NH}}<717|{{MangaPlus|h=17|dayofWeek=7}}|{{MangaPlus|break=1|h=17}} }}</nowiki>
-
{{#ifexpr:{{#timel:NH}}<717
+
-
| {{MangaPlus|h=17|dayofWeek=7}}
+
-
| {{MangaPlus|break=1|h=17}}
+
-
}}</nowiki>
+
-
<nowiki>}} <!-- Ende inneres switch -->
+
<nowiki>}}|b=</nowiki>{{#expr:{{Jump Kapitel|b}}-1}}<nowiki>|#default={{#switch:{{LOCALWEEK}}</nowiki>
-
| b= {{#expr:{{Jump Kapitel|b}}-1}}
+
|{{#expr:{{LOCALWEEK}}+1}}={{#expr:{{Jump Kapitel}}+1}}
-
<nowiki>| #default =
+
<nowiki>|#default={{#expr:</nowiki>{{#expr:{{Jump Kapitel|b}}-1}}<nowiki>+{{LOCALWEEK}} + ({{#timel:NH}}>=717) +({{LOCALWEEK}}<</nowiki>{{#expr:{{LOCALWEEK}}+1}}<nowiki>) }}</nowiki>
-
{{#switch:{{LOCALWEEK}}</nowiki>
+
-
| {{#expr:{{LOCALWEEK}}+1}} = {{#expr:{{Jump Kapitel}}+1}}
+
<nowiki>}} }}</nowiki></onlyinclude>
-
 
+
-
<nowiki>| #default =
+
-
{{#expr:
+
-
{{#expr:{{Jump Kapitel|b}}-1}}
+
-
+ {{LOCALWEEK}}
+
-
+ ({{#timel:NH}} >= 717)
+
-
+ ({{LOCALWEEK}} < {{#expr:{{LOCALWEEK}}+1}})
+
-
}}</nowiki>
+
-
 
+
-
<nowiki>}}  <!-- Ende äußeres switch -->
+
-
}}</nowiki>
+
-
</code>
+
-
</onlyinclude>
+

Version vom 16:10, 7. Apr. 2025

Default

{{#switch:{{{1|}}}|+={{#switch:{{LOCALWEEK}}

|9={{#ifexpr:{{#timel:NH}}<717|{{MangaPlus|h=17|dayofWeek=7}}|{{MangaPlus|break=2|h=17}} }}

|10={{MangaPlus|break=1|h=17}}

|#default={{#ifexpr:{{#timel:NH}}<717|{{MangaPlus|h=17|dayofWeek=7}}|{{MangaPlus|break=1|h=17}} }}

}}|b=1164|#default={{#switch:{{LOCALWEEK}}

|10=1175

|#default={{#expr:1164+{{LOCALWEEK}} + ({{#timel:NH}}>=717) +({{LOCALWEEK}}<10) }}

}} }}
Persönliche Werkzeuge
Nakama
Toplists
  • AnimeManga Charts