Template:Demo-inline: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Swpb
No edit summary
meta>Swpb
No edit summary
Line 1: Line 1:
<includeonly>{{JULIANDAY
<!--return range of integers between arg 1 and arg2, with interval=interval, inclusive-->
| {{#invoke:String|replace|source={{{1}}}|pattern= (%d+)/(%d+)/(%d+)|replace=%3|plain=false}}
{{{1}}}
| {{#invoke:String|replace|source={{{1}}}|pattern= (%d+)/(%d+)/(%d+)|replace=%1|plain=false}}
{{{2}}}
| {{#invoke:String|replace|source={{{1}}}|pattern= (%d+)/(%d+)/(%d+)|replace=%2|plain=false}}
}}</includeonly><noinclude>


Converts a date in m/d/y format to a Julian day.
count: {{#expr: {{{2}}}-{{{1}}}+1}}
</noinclude>
 
{{repeat}}

Revision as of 18:54, 6 January 2017

{{{1}}} {{{2}}}

count: Expression error: Unrecognized punctuation character "{".

Template:Repeat