Vorlage:Jump Kapitel/Code

Aus OPwiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
[gesichtete Version][gesichtete Version]
K
K
 
(Der Versionsvergleich bezieht 6 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=16|dayofWeek=7}}|{{MangaPlus|break=2|h=16}} }}</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=16}}</nowiki>
-
{{MangaPlus|break=2|h=17}}
+
-
}}</nowiki>
+
-
<nowiki>| #default =
+
<nowiki>|#default={{#ifexpr:{{#timel:NH}}<717|{{MangaPlus|h=16|dayofWeek=7}}|{{MangaPlus|break=1|h=16}} }}</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>
+

Aktuelle Version vom 18:54, 9. Nov. 2025

Default

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

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

|50={{MangaPlus|break=1|h=16}}

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

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

|50=1168

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

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