You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template talk:Gamebox: Difference between revisions
Jump to navigation
Jump to search
SigmaEpsilon (talk | contribs) (Exlpain what sorting you want) |
SigmaEpsilon (talk | contribs) (→DEFAULTSORT: fix my mistake) |
||
Line 12: | Line 12: | ||
i found this line above the category boxes and wondered what it was for... it seems to have messed up the sorting fix we had implemented...<br/>-- [[User:LyingBrian|Lying]][[User_talk:LyingBrian|Brian]] 09:47, 18 August 2007 (MDT) | i found this line above the category boxes and wondered what it was for... it seems to have messed up the sorting fix we had implemented...<br/>-- [[User:LyingBrian|Lying]][[User_talk:LyingBrian|Brian]] 09:47, 18 August 2007 (MDT) | ||
:I just checked your "sorting fix" and it seems severely problematic. Several things are sorted under "0" that should not be and some things are sorted under "{". This is clearly wrong. I added the DEFAULTSORT, and maybe if | :I just checked your "sorting fix" and it seems severely problematic. Several things are sorted under "0" that should not be and some things are sorted under "{". This is clearly wrong. I added the DEFAULTSORT, and maybe if we work together, I can help you get this working. [[User:SigmaEpsilon|SigmaEpsilon]] 11:58, 18 August 2007 (MDT) | ||
== Exlpain what sorting you want == | == Exlpain what sorting you want == |
Revision as of 18:04, 18 August 2007
So Gamebox2 is for games in the archive? Clever... course, we can make that a variable in gamebox if you like. :D -- Mr. Flay 13:38, 17 August 2007 (MDT)
- of course you can... :P -- i don't understand what the {{{name}}} function does in the [[Category]] tags... LyingBrian 13:58, 17 August 2007 (MDT)
- Unlike with wikilinks (where it changes what's displayed), piping a category changes the sort order. So putting Mafia 3 into [[Category:Large Games]] would sort it under M, while putting it in [[Category:Large Games|03]] will sort it under 0. Make sense now? I'm just repurposing the name variable that already exists, we probably ought to rename it if we want to use it this way... -- Mr. Flay 14:04, 17 August 2007 (MDT)
- ok, i think i get it now... using Newbie 438 as an example, if i put
|name=Newbie 438|
, it will file it under 'N', but if i use|name=438|
, then it will file it under '4', right?.. if that's the case, yes we ought to rename it, but i also see a potential problem... in New York & Little Italy you're going to have coinciding numbers... in New York, this is already present, 'Mafia 35' & 'Open 35', and in Little Italy they just need a few more Open Games to catch the lowest Mini Game... you probably have a work around for this, though :D -- LyingBrian 14:44, 17 August 2007 (MDT)
- ok, i think i get it now... using Newbie 438 as an example, if i put
- Unlike with wikilinks (where it changes what's displayed), piping a category changes the sort order. So putting Mafia 3 into [[Category:Large Games]] would sort it under M, while putting it in [[Category:Large Games|03]] will sort it under 0. Make sense now? I'm just repurposing the name variable that already exists, we probably ought to rename it if we want to use it this way... -- Mr. Flay 14:04, 17 August 2007 (MDT)
- Actually, I don't. We could avoid sorting the "played by forum" categories, of course, which would eliminate that confusion in favor of a wholly different one (everything will be in M or O). Hmmm... I don't think it's too big a problem if Open 37 and Mini 37 are sorted together under '3', personally, as it'll make all the categories easy to sift through.. But yes, you're right in how it works. :) -- Mr. Flay 14:50, 17 August 2007 (MDT)
- nevermind, i'm an idiot... it will just sort them under the number 0, but as Mafia 35 & Open 35... if you're looking for Open 35 you just have to remember it's going to be among the Mafia Games, and not separated... unless we can do subcategories?.. it was brought up earlier, but what about when we reach Newbie 1000 or Mini 1000?... do we want to nip this in the bud, and just number everthing w/ 4 numerals? or should we hope WikiMedia will come up w/ a fix by then?.. ;) LyingBrian 14:59, 17 August 2007 (MDT)
DEFAULTSORT
i found this line above the category boxes and wondered what it was for... it seems to have messed up the sorting fix we had implemented...
-- LyingBrian 09:47, 18 August 2007 (MDT)
- I just checked your "sorting fix" and it seems severely problematic. Several things are sorted under "0" that should not be and some things are sorted under "{". This is clearly wrong. I added the DEFAULTSORT, and maybe if we work together, I can help you get this working. SigmaEpsilon 11:58, 18 August 2007 (MDT)
Exlpain what sorting you want
If you guys explain axactly how you want this stuff to be sorted, I can help better. So far it seems like this is what you want:
- 0
- Mini 1
- Mini 2
...
- Open 1
- Open 2
...
...
- 3
- Mini 31
- Mini 32
...
- Open 35
- Open 36
Is this correct? SigmaEpsilon 12:02, 18 August 2007 (MDT)