Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Caseic date: Difference between revisions

Template page
Content deleted Content added
Wrong way
Hopefully this works perfectly first time :tieteran:
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#expr: (({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }} - 85 - 360 * ({{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }} - 83) / 360) }} + 558)) mod 30) + 1}}-{{#expr: floor (({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }} - 83 - 360 * ({{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }} - 83) / 360) }} + 558)) / 30)}} {{#ifexpr: {{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }} - 83) / 360) }} >= 0 | {{#expr: 1 + ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }} - 83) / 360) }} PC | {{#expr: -ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }} - 83) / 360) }} TT }} ({{{Cy|{{{1|572}}}}}}-{{{Cm|{{{2|8}}}}}}-{{{Cd|{{{3|24}}}}}})<!-- Components:
{{#ifexpr: {{#expr: floor (({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 85 - 360 * ({{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 83) / 360) }} + 558)) / 30)}} = -1 |30-11|{{#expr: (({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 85 - 360 * ({{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 83) / 360) }} + 558)) mod 30) + 1}}-{{#ifexpr: {{#expr: floor (({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 85 - 360 * ({{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 83) / 360) }} + 558)) / 30)}} = 0 |12|{{#expr: floor (({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 85 - 360 * ({{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 83) / 360) }} + 558)) / 30)}}}}}} {{#ifexpr: {{#expr: ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 114) / 360) }} >= 0 | {{#expr: 1 + ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 114) / 360) }} PC | {{#expr: -ceil (-559 + ({{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} + {{#switch:{{{prefix|}}}|E=-1053000|A=-702000|C=-351000|0}}}} - 114) / 360) }} TT }} ({{#if:{{{label|}}}|[[Caseic Calendar]]:&nbsp;}}{{{prefix|}}}{{{Cy|{{{1|572}}}}}}-{{#switch:{{{Cm|{{{2|8}}}}}}|10=X|11=Y|12=Z|{{{Cm|{{{2|8}}}}}}}}-{{{Cd|{{{3|24}}}}}})<noinclude>

Number of days: {{#expr: {{{Cy|{{{1|572}}}}}}*351 + {{{Cm|{{{2|8}}}}}}*27 + {{{Cd|{{{3|24}}}}}} }}

Year: {{#ifexpr: {{#expr: ceil (-559 + (201012 - 83) / 360) }} >= 0 | {{#expr: 1 + ceil (-559 + (201012 - 83) / 360) }} PC | {{#expr: -ceil (-559 + (201012 - 83) / 360) }} TT }}

Month: {{#expr: floor ((180216 - 83 - 360 * ({{#expr: ceil (-559 + (180216 - 83) / 360) }} + 558)) / 30)}}

Day: {{#expr: ((180216 - 85 - 360 * ({{#expr: ceil (-559 + (180216 - 83) / 360) }} + 558)) mod 30) + 1}}

-->
<noinclude>
<templatedata>
<templatedata>
{
{
Line 22: Line 11:
"label": "Caseic Month",
"label": "Caseic Month",
"example": "8",
"example": "8",
"suggested": true
"suggested": true,
"description": "For the last three months: X=10, Y=11, Z=12"
},
},
"Cd": {
"Cd": {
Line 31: Line 21:
},
},
"format": "inline",
"format": "inline",
"description": "A template for automatic conversion of [[Caseic Calendar]] into the [[Haracaldne]]"
"description": "A template for automatic conversion of the [[Caseic Calendar]] into the [[Haracaldne]]"
}
}
</templatedata>
</templatedata>

Latest revision as of 05:19, 19 August 2026

18-1 1 PC (572-8-24)

A template for automatic conversion of the [[Caseic Calendar]] into the [[Haracaldne]]

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Caseic YearCy

no description

Example
572
Unknownsuggested
Caseic MonthCm

For the last three months: X=10, Y=11, Z=12

Example
8
Unknownsuggested
Caseic DayCd

no description

Example
24
Unknownsuggested