Vorlage:Jump Kapitel/Code

Aus OPwiki

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
[gesichtete Version][gesichtete Version]
K
K
Zeile 1: Zeile 1:
-
== Default ==
+
==Default==
<onlyinclude>
<onlyinclude>
<code>
<code>
-
<nowiki>{{#switch:{{{1|}}}|+=
+
<nowiki>{{#switch:{{{1|}}}|+={{#switch:{{LOCALWEEK}}</nowiki>
-
{{#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=2|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>}}
+
<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></code></onlyinclude>
-
 
+
-
<nowiki>| #default =
+
-
{{#expr:
+
-
{{#expr:{{Jump Kapitel|b}}-1}}
+
-
+ {{LOCALWEEK}}
+
-
+ ({{#timel:NH}} >= 717)
+
-
+ ({{LOCALWEEK}} < </nowiki>{{#expr:{{LOCALWEEK}}+1}}<nowiki>)
+
-
}}</nowiki>
+
-
 
+
-
<nowiki>}}
+
-
}}</nowiki>
+
-
</code>
+
-
</onlyinclude>
+

Version vom 13:05, 7. Apr. 2025

Default

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

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

|24={{MangaPlus|break=2|h=17}} }}

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

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

|24=1151

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

}} }}

Persönliche Werkzeuge
Nakama
Toplists
  • AnimeManga Charts