PDA

View Full Version : Export tag request: Group Length.



ProfessorM@ss
Jul 19th, '04, 11:03 PM
Okay. This is probably a no-go, but I'm gonna try anyway. ;)

We've all seen the exports where things are in columns...and one columns runs waaaaaay longer than the others.

What I wouldn't mind seeing is some sort of IF tag that allowed me to determine the amount of items in a specific group (like SKILLS, POWERS, etc.)

I'm envisioning something like this:


<!--SKILLS-->
<!--IF_LESS_THAN-->
<!--LESS_THAN-->10<!--/LESS_THAN>
Make one column
<!--/IF_LESS_THAN-->

<!--IF_FROM_TO-->
<!--FROM-->11<!--/FROM-->
<!--TO-->20--<!--/TO-->
Make two columns.
<!--/IF_FROM_TO-->

<!--IF_MORE_THAN-->
<!--MORE_THAN-->21<!--/MORE_THAN-->
Make three columns.
<!--/IF_MORE_THAN-->

<!--/SKILLS-->


Something like this would be invaluable to people working in table layouts.

Still, it sounds like a bunch of work. I hope it's not too outlandish.

-->M@ss

Simon
Jul 20th, '04, 02:30 AM
Use the START and STOP tags on the various looping containers (SKILLS, POWERS, etc)

ProfessorM@ss
Jul 20th, '04, 11:20 AM
Dan,

I'm unsure of how the syntax would work for that. Can you give me an example of the use of those tags?

Edited: Ignore that. I found it in the documentation. Heh. I guess I'm too used to figuring out what the tags do via experimentation. This documentation thing confuses and frightens me! RTFM, indeed.

;)

--->M@ss