Vorlage:KB (Stories): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Inhalt hinzugefügt Inhalt gelöscht
K (Philipp S. verschob die Seite Vorlage:KBSS nach Vorlage:KB (Stories)) |
(+Beschreibung) |
||
Zeile 1: | Zeile 1: | ||
+ | <noinclude>Die Vorlage '''KB (Stories)''' ermittelt anhand des eingetragenen Kapitels, in welchem ''Short Stories''-Band dieses Kapitel enthalten ist. |
||
⚫ | <includeonly>{{ #ifexpr: {{{1|0}}} <= 0 | 0}}{{ #ifexpr: {{{1|0}}} >= 1 and {{{1|0}}}<= 9 | 1}}{{ #ifexpr: {{{1|0}}} >= 10 and {{{1|0}}}<= 17 | 2}}{{ #ifexpr: {{{1|0}}} >= 18 and {{{1|0}}}<= 27 | 3}}{{ #ifexpr: {{{1|0}}} >= 28 and {{{1|0}}}<= 38 | 4}}{{ #ifexpr: {{{1|0}}} >= 39 and {{{1|0}}}<= 52 | 5}}{{ #ifexpr: {{{1|0}}} >= 53 and {{{1|0}}}<= 61 | 6}}{{ #ifexpr: {{{1|0}}} >= 62 and {{{1|0}}}<= 75 | 7}}{{ #ifexpr: {{{1|0}}} >= 76 and {{{1|0}}}<= 86 | 8}}{{ #ifexpr: {{{1|0}}} >= 87 and {{{1|0}}}<= 96 | 9}}{{ #ifexpr: {{{1|0}}} >= 97 and {{{1|0}}}<=108 | 10}}{{ #ifexpr: {{{1|0}}} >=109 and {{{1|0}}}<=118 | 11}}{{ #ifexpr: {{{1|0}}} >=119 and {{{1|0}}}<=129 | 12}}{{ #ifexpr: {{{1|0}}} >=130 and {{{1|0}}}<=143 | 13}}{{ #ifexpr: {{{1|0}}} >=144 and {{{1|0}}}<=154 | 14}}{{ #ifexpr: {{{1|0}}} >=155 and {{{1|0}}}<=166 | 15}}{{ #ifexpr: {{{1|0}}} >=167 and {{{1|0}}}<=178 | 16}}{{ #ifexpr: {{{1|0}}} >=179 and {{{1|0}}}<=190 | 17}}{{ #ifexpr: {{{1|0}}} >=191 and {{{1|0}}}<=204 | 18}}{{ #ifexpr: {{{1|0}}} >=205 and {{{1|0}}}<=214 | 19}}{{ #ifexpr: {{{1|0}}} >=215 and {{{1|0}}}<=226 | 20}}{{ #ifexpr: {{{1|0}}} >=227 and {{{1|0}}}<=238 | 21}}{{ #ifexpr: {{{1|0}}} >=239 and {{{1|0}}}<=248 | 22}}{{ #ifexpr: {{{1|0}}} >=249 and {{{1|0}}}<=260 | 23}}{{ #ifexpr: {{{1|0}}} >=261 and {{{1|0}}}<=272 | 24}}{{ #ifexpr: {{{1|0}}} >=273 and {{{1|0}}}<=283 | 25}}{{ #ifexpr: {{{1|0}}} >=284 and {{{1|0}}}<=295 | 26}}{{ #ifexpr: {{{1|0}}} >=296 and {{{1|0}}}<=305 | 27}}{{ #ifexpr: {{{1|0}}} >=306 and {{{1|0}}}<=313 | 28}}{{ #ifexpr: {{{1|0}}} >=314 and {{{1|0}}}<=325 | 29}}{{ #ifexpr: {{{1|0}}} >=326 and {{{1|0}}}<=337 | 30}}{{ #ifexpr: {{{1|0}}} >=338 and {{{1|0}}}<=349 | 31}}{{ #ifexpr: {{{1|0}}} >=350 and {{{1|0}}}<=361 | 32}}{{ #ifexpr: {{{1|0}}} >=362 and {{{1|0}}}<=373 | 33}}{{ #ifexpr: {{{1|0}}} >=374 and {{{1|0}}}<=385 | 34}}{{ #ifexpr: {{{1|0}}} >=386 and {{{1|0}}}<=397 | 35}}{{ #ifexpr: {{{1|0}}} >=398 and {{{1|0}}}<=409 | 36}}{{ #ifexpr: {{{1|0}}} >=410 and {{{1|0}}}<=421 | 37}}{{ #ifexpr: {{{1|0}}} >=422 and {{{1|0}}}<=432 | 38}}{{ #ifexpr: {{{1|0}}} >=433 and {{{1|0}}}<=444 | 39}}{{ #ifexpr: {{{1|0}}} >=445 and {{{1|0}}}<=456 | 40}}{{ #ifexpr: {{{1|0}}} >=457 and {{{1|0}}}<=467 | 41}}{{ #ifexpr: {{{1|0}}} >=468 and {{{1|0}}}<=478 | 42}}{{ #ifexpr: {{{1|0}}} >=479 and {{{1|0}}}<=489 | 43}}{{ #ifexpr: {{{1|0}}} >=490 and {{{1|0}}}<=500 | 44}}{{ #ifexpr: {{{1|0}}} >=501 and {{{1|0}}}<=511 | 45}}{{ #ifexpr: {{{1|0}}} >=512 and {{{1|0}}}<=522 | 46}}</includeonly> |
||
+ | |||
+ | == Verwendung == |
||
+ | Diese Vorlage wird ausschließlich in anderen Vorlagen verwendet. Dazu gehört u. a. die [[Vorlage:Infobox Kapitel (Short Stories)]]. |
||
+ | |||
+ | == Beispiel == |
||
+ | Zur Ermittlung, in welchem Band das 500. Kapitel enthalten ist, kann <code><nowiki>{{KB (Stories)|500}}</nowiki></code> genutzt werden. Die Vorlage gibt anschließend folgendes aus: <code>{{KB (Stories)|500}}</code> |
||
+ | [[Kategorie:Vorlage Wiki]][[Kategorie:Vorlage:Funktion]] |
||
+ | |||
+ | <!-- ### Bitte nur die Daten unterhalb dieser Zeile verändern! ### --> |
||
⚫ | </noinclude><onlyinclude><includeonly>{{ #ifexpr: {{{1|0}}} <= 0 | 0}}{{ #ifexpr: {{{1|0}}} >= 1 and {{{1|0}}}<= 9 | 1}}{{ #ifexpr: {{{1|0}}} >= 10 and {{{1|0}}}<= 17 | 2}}{{ #ifexpr: {{{1|0}}} >= 18 and {{{1|0}}}<= 27 | 3}}{{ #ifexpr: {{{1|0}}} >= 28 and {{{1|0}}}<= 38 | 4}}{{ #ifexpr: {{{1|0}}} >= 39 and {{{1|0}}}<= 52 | 5}}{{ #ifexpr: {{{1|0}}} >= 53 and {{{1|0}}}<= 61 | 6}}{{ #ifexpr: {{{1|0}}} >= 62 and {{{1|0}}}<= 75 | 7}}{{ #ifexpr: {{{1|0}}} >= 76 and {{{1|0}}}<= 86 | 8}}{{ #ifexpr: {{{1|0}}} >= 87 and {{{1|0}}}<= 96 | 9}}{{ #ifexpr: {{{1|0}}} >= 97 and {{{1|0}}}<=108 | 10}}{{ #ifexpr: {{{1|0}}} >=109 and {{{1|0}}}<=118 | 11}}{{ #ifexpr: {{{1|0}}} >=119 and {{{1|0}}}<=129 | 12}}{{ #ifexpr: {{{1|0}}} >=130 and {{{1|0}}}<=143 | 13}}{{ #ifexpr: {{{1|0}}} >=144 and {{{1|0}}}<=154 | 14}}{{ #ifexpr: {{{1|0}}} >=155 and {{{1|0}}}<=166 | 15}}{{ #ifexpr: {{{1|0}}} >=167 and {{{1|0}}}<=178 | 16}}{{ #ifexpr: {{{1|0}}} >=179 and {{{1|0}}}<=190 | 17}}{{ #ifexpr: {{{1|0}}} >=191 and {{{1|0}}}<=204 | 18}}{{ #ifexpr: {{{1|0}}} >=205 and {{{1|0}}}<=214 | 19}}{{ #ifexpr: {{{1|0}}} >=215 and {{{1|0}}}<=226 | 20}}{{ #ifexpr: {{{1|0}}} >=227 and {{{1|0}}}<=238 | 21}}{{ #ifexpr: {{{1|0}}} >=239 and {{{1|0}}}<=248 | 22}}{{ #ifexpr: {{{1|0}}} >=249 and {{{1|0}}}<=260 | 23}}{{ #ifexpr: {{{1|0}}} >=261 and {{{1|0}}}<=272 | 24}}{{ #ifexpr: {{{1|0}}} >=273 and {{{1|0}}}<=283 | 25}}{{ #ifexpr: {{{1|0}}} >=284 and {{{1|0}}}<=295 | 26}}{{ #ifexpr: {{{1|0}}} >=296 and {{{1|0}}}<=305 | 27}}{{ #ifexpr: {{{1|0}}} >=306 and {{{1|0}}}<=313 | 28}}{{ #ifexpr: {{{1|0}}} >=314 and {{{1|0}}}<=325 | 29}}{{ #ifexpr: {{{1|0}}} >=326 and {{{1|0}}}<=337 | 30}}{{ #ifexpr: {{{1|0}}} >=338 and {{{1|0}}}<=349 | 31}}{{ #ifexpr: {{{1|0}}} >=350 and {{{1|0}}}<=361 | 32}}{{ #ifexpr: {{{1|0}}} >=362 and {{{1|0}}}<=373 | 33}}{{ #ifexpr: {{{1|0}}} >=374 and {{{1|0}}}<=385 | 34}}{{ #ifexpr: {{{1|0}}} >=386 and {{{1|0}}}<=397 | 35}}{{ #ifexpr: {{{1|0}}} >=398 and {{{1|0}}}<=409 | 36}}{{ #ifexpr: {{{1|0}}} >=410 and {{{1|0}}}<=421 | 37}}{{ #ifexpr: {{{1|0}}} >=422 and {{{1|0}}}<=432 | 38}}{{ #ifexpr: {{{1|0}}} >=433 and {{{1|0}}}<=444 | 39}}{{ #ifexpr: {{{1|0}}} >=445 and {{{1|0}}}<=456 | 40}}{{ #ifexpr: {{{1|0}}} >=457 and {{{1|0}}}<=467 | 41}}{{ #ifexpr: {{{1|0}}} >=468 and {{{1|0}}}<=478 | 42}}{{ #ifexpr: {{{1|0}}} >=479 and {{{1|0}}}<=489 | 43}}{{ #ifexpr: {{{1|0}}} >=490 and {{{1|0}}}<=500 | 44}}{{ #ifexpr: {{{1|0}}} >=501 and {{{1|0}}}<=511 | 45}}{{ #ifexpr: {{{1|0}}} >=512 and {{{1|0}}}<=522 | 46}}</includeonly></onlyinclude> |
Aktuelle Version vom 1. August 2022, 14:00 Uhr
Die Vorlage KB (Stories) ermittelt anhand des eingetragenen Kapitels, in welchem Short Stories-Band dieses Kapitel enthalten ist.
Verwendung[Quelltext bearbeiten]
Diese Vorlage wird ausschließlich in anderen Vorlagen verwendet. Dazu gehört u. a. die Vorlage:Infobox Kapitel (Short Stories).
Beispiel[Quelltext bearbeiten]
Zur Ermittlung, in welchem Band das 500. Kapitel enthalten ist, kann {{KB (Stories)|500}}
genutzt werden. Die Vorlage gibt anschließend folgendes aus: 44