Editing Template:DayofRotation 0 You are not logged in. {{#expr: (({{#time:d|{{{timediff|}}}}} + {{#switch:{{#time:m|{{{timediff|}}}}}|01=0|02=31|03=59|04=90|05=120|06=151|07=181|08=212|09=243|10=273|11=304|12=334}} + ({{#time:Y|{{{timediff|}}}}} - 2000) * 365 + ((({{#time:Y|{{{timediff|}}}}} - 2002) / 4) round 0) - {{{start|3408}}})/ {{{timespan|1}}} round 0) mod {{{count|19}}}}} This template can be used to determine the position in a rotation based on the actual date. ==Usage== {{DayofRotation|timediff=-8 hours|start=3408|count=19}} ==Parameters== ;timediff:time difference to calculate with. usually -8 hours ;start:start of a rotation cycle. the number corresponds to the number of days elapsed from 2000.01.01. ;timespan:use this to indicate for how many days a quest is available in the rotation. can be skipped if it is only one. ;count:the size of the rotation {{TemplateHelper}} Loading editor screenshots General: {{ss-g}} · NPC: {{ss-n}} · monster: {{ss-m}} examines general/unknown: {{ss-e}} · equipment: {{ss-ee}} · item: {{ss-ei}} · spell/aa: {{ss-es}} visuals placed house item: {{ss-h}} · worn weapon/armor: {{ss-a}} other {{update}} · {{soga}} Quests: {{Quest||}} Zones: {{Zone||}} · {{Instance||}} · {{POI|}} · Mobs: {{Monster||}} · {{Named||}} · {{NPC||}} Items: {{Equip|}} · {{Item|}} Misc: {{Spell|||}} · {{Loc||||uid=}} · {{Faction||amount|Quest}} · {{Coin||||||}} Wiki Basics: [] · [[]] · {{}} · – — · Characters: “” ‘’ «» ‹› „“ ‚‘ · ~ | ° · · × ² ³ ½ € † Common Wikicode: [[Category:]] · [[Image:]] · #REDIRECT[[]] {{disambig}} {{dab|}} Obtain Templates: {{QuestReward|questName|zoneName}} · {{CQuestReward|questName}} · {{DroppedItem|mobName|altMobName|zoneName|chestType}} · {{CraftedItem|artisanClass|artisanLevel|recipeBook}} · {{VendorItem|vendorType|vendorName|vendorZone}} · {{LoNLoot}} Attention Needed: {{stub}} · {{wikify}} · {{AdminNeeded|}} · {{delete|}} {{disambig}} · {{RfG|}} Errors: {{CapCheck|}} · {{CapOK|}} · {{FactCheck|}} · {{FactOK|}} {{RoK}} · {{LU}} · {{LU|LU}} Credits: {{zam|zoneid=|questid=|mobid=|itemid=|info=}} · {{SOEforums|author=|thread=}} · {{Athen}} · {{LootDB|URL}} · {{MIC|URL|what_we_took}} · {{UserCredit||toonName|guildName|serverName}} · {{Eq2u|itemid=|info=}} Wikicode: · · · TOC and EDIT: __TOC__ · __NOTOC__ · __FORECETOC__ · __NOEDITSECTION__ Flow Control: {{#if: + · {{#ifeq: + · {{#ifexist: + · {{#switch: cond|value=output|default}} · This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes