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|}}}|+={{#switch:{{LOCALWEEK}}</nowiki>
+
<nowiki>{{#switch:{{{1|}}}|+=
 +
{{#switch:{{LOCALWEEK}}</nowiki>
-
|{{LOCALWEEK}}<nowiki>={{#ifexpr:{{#timel:NH}}<717|{{MangaPlus|h=17|dayofWeek=7}}|{{MangaPlus|break=2|h=17}} }}</nowiki>
+
| {{LOCALWEEK}} <nowiki>=
 +
{{#ifexpr:{{#timel:NH}}<717
 +
| {{MangaPlus|h=17|dayofWeek=7}}
 +
| {{MangaPlus|break=2|h=17}}
 +
}}</nowiki>
-
|{{#expr:{{LOCALWEEK}}+1}}<nowiki>={{MangaPlus|break=2|h=17}} }}</nowiki>
+
| {{#expr:{{LOCALWEEK}}+1}} <nowiki>=
 +
{{MangaPlus|break=2|h=17}}
 +
}}</nowiki>
-
<nowiki>|#default={{#ifexpr:{{#timel:NH}}<717|{{MangaPlus|h=17|dayofWeek=7}}|{{MangaPlus|break=1|h=17}} }}</nowiki>
+
<nowiki>| #default =
 +
{{#ifexpr:{{#timel:NH}}<717
 +
| {{MangaPlus|h=17|dayofWeek=7}}
 +
| {{MangaPlus|break=1|h=17}}
 +
}}</nowiki>
-
<nowiki>}}|b=</nowiki>{{#expr:{{Jump Kapitel|b}}-1}}<nowiki>|#default={{#switch:{{LOCALWEEK}}</nowiki>
+
<nowiki>}} <!-- Ende inneres switch -->
-
|{{#expr:{{LOCALWEEK}}+1}}={{#expr:{{Jump Kapitel}}+1}}
+
| b= {{#expr:{{Jump Kapitel|b}}-1}}
-
<nowiki>|#default={{#expr:</nowiki>{{#expr:{{Jump Kapitel|b}}-1}}<nowiki>+{{LOCALWEEK}} + ({{#timel:NH}}>=717) +({{LOCALWEEK}}<</nowiki>{{#expr:{{LOCALWEEK}}+1}}<nowiki>) }}</nowiki>
+
<nowiki>| #default =
 +
{{#switch:{{LOCALWEEK}}</nowiki>
-
<nowiki>}} }}</nowiki></code></onlyinclude>
+
| {{#expr:{{LOCALWEEK}}+1}} = {{#expr:{{Jump Kapitel}}+1}}
 +
 
 +
<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 12:16, 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}} }}

}} <!-- Ende inneres switch --> | b= {{#expr:{{Jump Kapitel|b}}-1}} <nowiki>| #default = {{#switch:{{LOCALWEEK}}

| 24 = 1151

| #default = {{#expr: {{#expr:{{Jump Kapitel|b}}-1}} + {{LOCALWEEK}} + ({{#timel:NH}} >= 717) + ({{LOCALWEEK}} < {{#expr:{{LOCALWEEK}}+1}}) }}

}} <!-- Ende äußeres switch --> }}

Persönliche Werkzeuge
Nakama
Toplists
  • AnimeManga Charts