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:
<!--{{{{{|safesubst:}}}#invoke:string|replace|{{{{{|safesubst:}}}#invoke:string|replace|{{{{{|safesubst:}}}#invoke:string|replace|{{{1|}}}|([^%c]) +|%1 {{{{{|safesubst:}}}!}} |plain=false}}|:|{{{{{|safesubst:}}}=}}}}| *([^%c]+)|{{{{{|safesubst:}}}((}}User:Swpb/timeline-bar {{{{{|safesubst:}}}!}} %1 {{{{{|safesubst:}}}!}} end-date{{{{{|safesubst:}}}=}}end-date {{{{{|safesubst:}}}!}} vert-max{{{{{|safesubst:}}}=}}vert-max {{{{{|safesubst:}}}!}} vert-scale{{{{{|safesubst:}}}=}}vert-scale{{{{{|safesubst:}}}))}}<br/>| plain = false}}
{{for loop|call=User:Swpb/sandbox4|pc1n=end-date| pc1v=1/1/2017|pc2n=max-tot|pc2v=165|pc3n=size|pc3v=500|{{{1}}}|{{{2}}}|{{{3}}}}}
 
{{#invoke:string|replace|{{{1|}}}| *(%d+)[%C]+|%1|plain=false}}
{{#invoke:string|replace|{{{1|}}}| *(%d+) +(%d+) +([^%c ]+) +([&%c ]+)|%2|plain=false}}
{{#invoke:string|replace|{{{1|}}}| *(%d+) +(%d+) +([^%c ]+) +([&%c ]+)|%3|plain=false}}
{{#invoke:string|replace|{{{1|}}}| *(%d+) +(%d+) +([^%c ]+) +([&%c ]+)|%4|plain=false}}
 
-----><!--
{{chart
|common={{item}}
| {{item|MD|...}}
| {{item}}
| {{item}}
}}
 
In Chart:
{{for loop|template:bar|p1n=end-date|p1v={{{end-date}}}|p2n=...|{{{1}}}|{{{2}}}|... }}
 
In Bar:
replace {{{1}}} with {{component|{{{1}}}|1}}
replace {{{2}}} with {{component|{{{1}}}|2}} and so on
replace {{{start}}} with {{component|{{{1}}}|start}} and so on
-->

Revision as of 14:46, 9 January 2017

Lua error: expandTemplate: template "User:Swpb/sandbox4" does not exist.