View unanswered posts | View active topics It is currently Sat Jul 19, 2025 1:31 am



Reply to topic  [ 6 posts ] 
 Galaxy Legion Wiki - Contributors/Editors Discussions 
Author Message
User avatar

Joined: Wed Nov 10, 2010 2:44 am
Posts: 3751
Reply with quote
Since the "Talk" pages are so rarely used on the wiki site, and forum discussion is easier and more orderly, I'd like to propose that Dan either sticky this thread, or even better, please give us a whole section on the forum devoted just to discussions on the wiki.
________________________________________________________________________________

That said, I'm starting to work on some templates. The first set of these will be targetted toward formatting for many of the tables on the site. I had started throwing in style tags directly on tables to prevent wordwrapping for certain columns and make text easier to read by keeping the text a few pixels off of the edges of the cells. This had the added, undesired side-effect of making it hard to find where to change something for a simple stat correction. Templates will be the solution to this. I'll be able to put the style code into the template, and a bonus will be that on each row of a table, you'll be able to tell (by variable name) what each cell is for.

Anyways, I'm going to start on this today, probably with the tables on the bases page.

_________________
_________ Image

Officer Namba1 of The Unknown, Lv.666+ Dark Smuggler

Image


Fri Jul 29, 2011 8:32 pm
Profile

Joined: Fri Jun 25, 2010 1:16 am
Posts: 3824
Reply with quote
Post a link when you do, I'd like to see the before and after!


Fri Jul 29, 2011 9:00 pm
Profile
User avatar

Joined: Wed Nov 10, 2010 2:44 am
Posts: 3751
Reply with quote
i'll have to save a table into a temporary page, because the wiki's revision history comparision won't give you a good idea of what the difference will be...

but here's an example on my user page, using a test template...

User page: http://galaxylegion.com/wiki/index.php/User:Lone.Lycan
Test Template: http://galaxylegion.com/wiki/index.php/Template:Test
Editing User Page: http://galaxylegion.com/wiki/index.php? ... ction=edit
Editing Test Template: http://galaxylegion.com/wiki/index.php? ... ction=edit

(hopefully it'll let you view the editing code for my user page)

The biggest difference will be when editing a table, the styling code won't be there, as opposed to right now
( see: http://galaxylegion.com/wiki/index.php? ... &section=5 )
( better example of clutter: http://galaxylegion.com/wiki/index.php? ... &section=1 )
All of that styling code can be placed into a template, so it doesn't clutter the edit window

The next benefit will be that for each row, you assign the text to a variable that's usefully named,... so when someone else edits they won't have to count cells to see what column something is in, then scroll up and count header cells to see what that column is for...

_________________
_________ Image

Officer Namba1 of The Unknown, Lv.666+ Dark Smuggler

Image


Last edited by Lone.Lycan on Fri Jul 29, 2011 9:10 pm, edited 1 time in total.



Fri Jul 29, 2011 9:08 pm
Profile

Joined: Fri Jun 25, 2010 1:16 am
Posts: 3824
Reply with quote
I hope you will go back to adding the center code as well as sort ability of the columns (those that need it). I added those a long time ago.


Fri Jul 29, 2011 9:10 pm
Profile
User avatar

Joined: Wed Nov 10, 2010 2:44 am
Posts: 3751
Reply with quote
As requested, here's the before and after on the regular base module tables.... (note: these links go directly to the edit page because that's where the biggest noticable change is found)

BEFORE: http://galaxylegion.com/wiki/index.php? ... &section=3
AFTER: http://galaxylegion.com/wiki/index.php? ... &section=4

Comments?
ODragon wrote:
I hope you will go back to adding the center code as well as sort ability of the columns (those that need it). I added those a long time ago.
OK, while I'm doing this, which columns in which tables on which pages are you referring to that you feel should be sortable? You obviously can't be referring to the base module tables, since we never had those with sortable columns to begin with. In my opinion, the regular base module tables are short enough that the default order you receive the modules should be sufficient. With only 7 modules per type, making any of those 4 tables sortable by alphabetic order on the module name isn't really necessary.

_________________
_________ Image

Officer Namba1 of The Unknown, Lv.666+ Dark Smuggler

Image


Fri Jul 29, 2011 10:44 pm
Profile

Joined: Fri Jun 25, 2010 1:16 am
Posts: 3824
Reply with quote
Lone.Lycan wrote:
OK, while I'm doing this, which columns in which tables on which pages are you referring to that you feel should be sortable? You obviously can't be referring to the base module tables, since we never had those with sortable columns to begin with. In my opinion, the regular base module tables are short enough that the default order you receive the modules should be sufficient. With only 7 modules per type, making any of those 4 tables sortable by alphabetic order on the module name isn't really necessary.

I meant in general when you expand it to other pages. I agree, with only 7 modules, it doesn't need to make them sortable.


Fri Jul 29, 2011 11:15 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.