Template:Demo-inline: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Swpb ←Blanked the page |
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}} | |||
{{#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 | |||
--> |