The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
User:Amisibastet/temp
Usage
This template will generate a table row. I'm not sure how useful that sounds at the moment, but I'm willing to go with that idea for a bit.
How neat, I *can* pass a template in a variable. Now... how to use this awsome power... muhahhahaha! mmm it'd be tastier with a loop...... back to the researching/studying!
sigh i should just leave links here for where to find the info i'm finding useful, it's not like I don't refer back to it more often than i'd like
http://semantic-mediawiki.org/wiki/Semantic_MediaWiki
http://semantic-mediawiki.org/wiki/Help:Selecting_pages
Anyway
here's a thought for making this somewhat useful
I was thinking of the alternating background deal
which can become convoluted
so, I'd need an even or an odd for which background color goes first
and without currently knowing a looping thing, I'll just have to do it with if statements & give it a limited number of cells
yea, that'll work, it won't work perfectly, but it'll work
for simplicity sake I'm going to leave the row marker out for now
usage
{{ template | even/odd | background1 | background 2 | data | data | data | data | data | data | data | data | data | data }}
It takes in up to 10 data cells (why 10? because, that's why)
I wonder if I can give it numbers hmm, might work better if i rearrange it for that tho, bah! but that messes up the rest ... or, not at all if the backgrounds & even/odd are named hmm
Please use 'even' or 'odd' in the 2nd variable
so I was thinking.. the whole 'Research/Saqqarah' thing sucks...... and I can't work out how to make it not show that...
Or can I
yea I've a few ideas Though I haven't gotten them working just yet
But this latest idea was mmm convoluted I suppose. The first part of the problem is that it uses an ask statement which returns pages & the main namespace has the subpages thing turned off. So it treats subpages as pagenames rather than as subpages.
But I can hand the results to a template to produce the results in a format that I actually want. I wonder how much of a pain that'll be.
it's not going so well yet
can't really tell what is being handed to the template so i can't do a #switch on it