Template talk:Characterbox

From Ouroboros Portal
Revision as of 05:43, 23 July 2009 by Aggelakis (Talk | contribs) (Classified vs. Empty)

Jump to: navigation, search

Cleanup

The code for this template is completely fubared. [[User:Aggelakis/example|Here was an example page.]] Someone needs to clean it up before anyone is capable of using it. I have no idea how to do that. There's way too much garbage in there for me to weed through. :/ -- Agge (talk) 16:23, 1 June 2009 (UTC)

Wow. That really is a mess, isn't it? I'm in the process of tinkering with it a bit to see if I can clean it up any. Already found a couple of places where there should be a <td> but it was left out. After I get it a little cleaner, then maybe we can look at changing those HTML table format tags to wiki markup. --Eabrace 20:08, 1 June 2009 (UTC)
OK, it's marginally functional now. I'm not entirely certain why the Origin, Archetype, etc. are showing up bold, but it's a start. --Eabrace 21:55, 1 June 2009 (UTC)
That's cos "!" is the wiki equivalent of "make this whole line bold", sorta. And since pipes can't be used inside #if templates, gotta use {{!}} to "fake" them. :D
I did some twiddling and it looks basically complete now. Onlyinclude'd the code, and noinclude'd the documentation type stuff, categorized, etc. -- Agge (talk) 22:22, 1 June 2009 (UTC)
*facepalm* That's what I was thinking of. "{{!}}", not "!". Looks much better now, though. --Eabrace 23:19, 1 June 2009 (UTC)

For some reason, it's not floating to the right, allowing text to go down the left side next to it. I can't find the reason. -- Agge (talk) 16:40, 3 June 2009 (UTC) Fixed it... O.o?

Classified vs. Empty

I've modified this template to distinguish between things that are "Classified", vs. just being empty. For some reason, an empty battlecry leaves a closing curly brace, which I can't figure out how to remove without completely destroying the formatting =/  FW (talk · contrib 22:58, 22 July 2009 (UTC)

The reason it was done that way was so that people didn't have to fill out the sections that they don't want to fill out and it would be auto-filled. Instead of changing it for ALL of them, we could change it for just the battle cry. Or we could summon Sekoia to figure out why an empty battle cry leaves a curly brace. :D
Though honestly, I had "Other Details" instead of "Battle Cry" and thought that worked much better. Don't really know why we need to know the battle cry right off the bat. (I think only like two of my chars have a battle cry... -- Agge (talk) 04:05, 23 July 2009 (UTC)
Looks like I found the issue. In the line where it was trying to close the table, it was reading {{!}}}}} and parsing it as {{!}} }} } so that it closed the IF statement first and then finished closing the table. What we really wanted was for the line to be read as {{!}}} }} so that it would close the second table and then close the IF statement. I forced the interpretation by inserting the space manually to keep the parser from getting confused. --Eabrace Healthbar notify phone.png 05:15, 23 July 2009 (UTC)
Now it has two braces. The point of the exercise is to make it so someone doesn't have to fill out the extra fields...so this is what we have to edit, not FW's...and this one is the broken one. :x -- Agge (talk) 05:43, 23 July 2009 (UTC)