Thread:RR3 Michael P/@comment-27006659-20170319151020/@comment-30967537-20170508191324

Michael,

I really need to understand the requirements for Wiki pages, specifically pages on the RR3 Wiki.

I understand that the point of a template is to have standard(ish) data which is then formatted with a set of rules by a template. But all that if-else processing and formatting takes time, it slows down the build of the page, so isn't it better if this can be done once when preparing the data rather than every time the page is viewed?

For example, the car alternate car name  construct, if I can do that in the query is that not a good thing? If you look at my Sandbox12 you'll see that I have changed it to only output the second part if it is different.

Why did you/I create the concatenated all-series/events data with extra |- lines if that could/should all be done in the template?

The if|then|else construct is rather awkward. What happens if you want to output a | as the first thing in the then part, how does it differentiate that from the | which splits the then part from the else part?

I don't understand how it knows when (not) to jump a data field.

I don't understand what if actually means, why is the | in there?

Some help (other than referring me to the wiki manual) would be appreciated. A commented version of your Sandbox27 would be great.

Nick