MafiaWiki Thread

This forum is for discussion related to the game.
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #150 (ISO) » Mon May 18, 2015 9:14 am

Post by wgeurts »

Made the category and updated the navigation. You can get the setup template to sort pages in it by adding "Design Contest Winning" behind one of the type parameters. Feel free to add more information to the category page itself, I only wrote a brief description as a placeholder.
Maybe adding a reference to it in Category:Open Setups would be good as well.

You can find the new category here: Category:Design Contest Winning Setups
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #151 (ISO) » Mon May 18, 2015 9:19 am

Post by wgeurts »

I've been busy lately but I really need to get back to finishing the things I started making like fixing the bugs in the CSS template and adding all game history data to the SetupHistory Databases to make maintenance easier later.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #152 (ISO) » Mon May 18, 2015 9:20 am

Post by wgeurts »

Oh, for those that hadn't noticed. PokerFace has been adding some missing role pages to the wiki. Things like goo now exist and some pages have been merged together or improved.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
BBmolla
BBmolla
Open Book
User avatar
User avatar
BBmolla
Open Book
Open Book
Posts: 24301
Joined: May 29, 2011

Post Post #153 (ISO) » Tue May 19, 2015 12:32 pm

Post by BBmolla »

Hey wgeurts so im dumb

How do I add the setups to that category?
Come see me in the Great American Melodrama in Oceano
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #154 (ISO) » Tue May 19, 2015 6:44 pm

Post by wgeurts »

"type=Design Contest Winning
type2=Design Contest Winning"

Or any type up to type6. This is for the {{Setups
#Stuff#
}}
By the way.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
BBmolla
BBmolla
Open Book
User avatar
User avatar
BBmolla
Open Book
Open Book
Posts: 24301
Joined: May 29, 2011

Post Post #155 (ISO) » Tue May 19, 2015 10:04 pm

Post by BBmolla »

ty
Come see me in the Great American Melodrama in Oceano
User avatar
Maruchan
Maruchan
she/her
Jack of All Trades
User avatar
User avatar
Maruchan
she/her
Jack of All Trades
Jack of All Trades
Posts: 5094
Joined: July 5, 2011
Pronoun: she/her
Location: Blacksburg, VA

Post Post #156 (ISO) » Mon May 25, 2015 11:50 am

Post by Maruchan »

In post 13, wgeurts wrote:Thanks, it started with me getting fed up with finding stuff at I got carried away.

I did this once on some website for some wiki that I don't remember.

Then i got burnt out.

and now i never have the time.
Used to love playing with the wikis.


Speaking of wiki, I just started (before i read any of this) a setup page for Grand Idea, I might want your help with later.
Show
Returning to modding after a nearly two year hiatus!
9 player Purgatory coming to the Open Queue Soon!
Join Now!

Micro Grand Idea uPick coming to the micro queue soon!
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #157 (ISO) » Tue May 26, 2015 4:17 am

Post by wgeurts »

I'm not burnt out, I'm just busy with my education at the moment. I usually do stuff in the holidays.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #158 (ISO) » Sun May 31, 2015 6:34 am

Post by wgeurts »

So in 4 weeks I'm free because of holidays, I'm planning to finish my to-do list during this period. This currently consists of:
  • Sorting and categorising the Theory and Templates category.
  • Add the setupHistory template to all setups and generate statistics using it.
  • Redo the CSS template to fix some flaws (my JavaScript has improved since I made this).
  • Make the Auto Navigation Menu more aesthetically pleasing.
  • Finish the guide to making cool scummers pages.

If you would like anything done now's the time to say so.
Setup Page? Sure.
Sort Something? Sure.
Some Random Feature? Sure.
Anything you want added/changed.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Plotinus
Plotinus
Kitten Caboodle
User avatar
User avatar
Plotinus
Kitten Caboodle
Kitten Caboodle
Posts: 7611
Joined: March 13, 2015
Location: UTC+1
Contact:

Post Post #159 (ISO) » Thu Jun 04, 2015 7:20 am

Post by Plotinus »

It would be neat if there was a way to search the wiki by setup. like 4:9 or 3:1:9 or 2:2:9. I tried typing “2:2:9” into the search and it didn’t work.
The failure mode of clever is asshole.

Modding checklists | Sequencer is in Game 5 | Space II is in Day 4
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #160 (ISO) » Fri Jun 05, 2015 3:05 am

Post by wgeurts »

What do you mean by "search by setup"?
If you mean by searching ratio of roles it would have to be done by adding that info to all the pages.
Maybe I could make a tag template to do this?
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Plotinus
Plotinus
Kitten Caboodle
User avatar
User avatar
Plotinus
Kitten Caboodle
Kitten Caboodle
Posts: 7611
Joined: March 13, 2015
Location: UTC+1
Contact:

Post Post #161 (ISO) » Fri Jun 05, 2015 3:14 am

Post by Plotinus »

i mean searching by ratio, yeah. If I wanted to see all 15 player games that have 5 scum in them (singleball) or 10:4:1 or 10:3:2 or whatever.

Like, Matrix6 is 7:2. If I want to see what other 7:2 setups are out there, there currently isn’t a good way to do that.I could start here: http://wiki.mafiascum.net/index.php?tit ... pen_Setups and then have to click on each page 1 by 1. Or Elemental Large was 3:1:12 and if I was interested in what other 3:1:12 setups exist I wouldn’t be able to find that easily.

This would also solve the question of “okay, we have 11 people, if 1 of them is moderator, what setups can we run together?"
The failure mode of clever is asshole.

Modding checklists | Sequencer is in Game 5 | Space II is in Day 4
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10049
Joined: April 28, 2011
Pronoun: he/they

Post Post #162 (ISO) » Fri Jun 05, 2015 3:32 am

Post by Psyche »

In post 160, wgeurts wrote:What do you mean by "search by setup"?
If you mean by searching ratio of roles it would have to be done by adding that info to all the pages.
Maybe I could make a tag template to do this?


couldn't you just have another set of categories
youtube playlist extracter | donbot | game scraper | vca | setupsim | strategist | llm
User avatar
Plotinus
Plotinus
Kitten Caboodle
User avatar
User avatar
Plotinus
Kitten Caboodle
Kitten Caboodle
Posts: 7611
Joined: March 13, 2015
Location: UTC+1
Contact:

Post Post #163 (ISO) » Fri Jun 05, 2015 3:44 am

Post by Plotinus »

Matrix6 could be in Category:9p and Category:7-2 and Elemental Mafia could be in Category:12-3-1 and Category:16p
The failure mode of clever is asshole.

Modding checklists | Sequencer is in Game 5 | Space II is in Day 4
User avatar
N
N
Jack of All Trades
User avatar
User avatar
N
Jack of All Trades
Jack of All Trades
Posts: 8539
Joined: August 2, 2012

Post Post #164 (ISO) » Fri Jun 05, 2015 8:58 pm

Post by N »

is there a quick way to find all links to the old normal queue and replace them with links to the new queue?
GTKAS

Share And Enjoy
(go stick your head in a pig)
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #165 (ISO) » Sat Jun 06, 2015 10:00 am

Post by wgeurts »

In post 164, N wrote:is there a quick way to find all links to the old normal queue and replace them with links to the new queue?

Yes.
But it's not really an elegant solution.

It'd basically involve me adding JS to replace all the old links with a new one each time the page loads. Which I'd rather not do. I'm willing to do so while you're replacing them to fill any gaps left, but it'd just be lazy (and slow down load times every so slightly for slower devices) to rely on this.

@Psyche:
How many setup categories do we need?
You'd need a seperate category for each ratio as the sort key has already been used to sort them all by size.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
N
N
Jack of All Trades
User avatar
User avatar
N
Jack of All Trades
Jack of All Trades
Posts: 8539
Joined: August 2, 2012

Post Post #166 (ISO) » Sat Jun 06, 2015 6:17 pm

Post by N »

I don't want to automatically change the links, I just want a quick way to find them all so that I can then change them.
GTKAS

Share And Enjoy
(go stick your head in a pig)
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #167 (ISO) » Sat Jun 06, 2015 9:11 pm

Post by wgeurts »

what's the link?
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
N
N
Jack of All Trades
User avatar
User avatar
N
Jack of All Trades
Jack of All Trades
Posts: 8539
Joined: August 2, 2012

Post Post #168 (ISO) » Sun Jun 07, 2015 9:59 pm

Post by N »

the old thread is http://forum.mafiascum.net/viewtopic.php?f=4&t=29494 and the new thread is http://forum.mafiascum.net/viewtopic.php?f=4&t=62103

it might be linked using the plink template thing as well?
GTKAS

Share And Enjoy
(go stick your head in a pig)
User avatar
toolenduso
toolenduso
Mafia Scum
User avatar
User avatar
toolenduso
Mafia Scum
Mafia Scum
Posts: 2594
Joined: April 10, 2007

Post Post #169 (ISO) » Mon Jun 08, 2015 11:21 am

Post by toolenduso »

So I've been messing around with game record templates, as in tables that you use to keep track of all your games and what your roles were and who the mod was and whether you win or lost, etc., etc. It takes a lot of copying and pasting and a lot of going through game by game and gathering little bits of info.

I like these tables on people's wikis because it makes it easier to research meta and easier for each player to keep track of their own games and which player's they've played with. It's kind of like a mafia journal.

So I started thinking of ways to make it easier for players to make their own tables using templates, and I started wondering whether it would be all that difficult to build some sort of interface that would make things easier for people who don't know how to handle the template codes. Like just a bunch of boxes that ask each thing about the game that the code asks, but in a more user-friendly way.

Another thing is that I need to figure out a way to make the template I'm using work better with roles that don't have their own wiki pages. Right now, if it looks for a wiki page that doesn't exist it'll mess up the code and return a bunch of brackets along with the text and no link. Would be better to just have it redlink.

Anyway, this stuff is beyond my very limited coding know-how so I was wondering if anybody has some thoughts on how to accomplish either of those things? Or with the UI idea, whether that would even be worth the work that it would take.
"Half of the game is figuring out who the scum is. The other half is convincing everyone else that you're right." -- PlaysWithSquirrels, in Newbie 437
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #170 (ISO) » Mon Jun 08, 2015 6:32 pm

Post by wgeurts »

In post 168, N wrote:the old thread is http://forum.mafiascum.net/viewtopic.php?f=4&t=29494 and the new thread is http://forum.mafiascum.net/viewtopic.php?f=4&t=62103

it might be linked using the plink template thing as well?

http://wiki.mafiascum.net/index.php?tit ... rofile=all
Voila, only one page in need of updating.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #171 (ISO) » Mon Jun 08, 2015 6:35 pm

Post by wgeurts »

As for tool, I can look into making one however it won't be made anytime soon as I've got other things first on my list. As for fixing the roles link:
Try {{#IFEXIST... Google it and you'll find an article on it along with all the other default template functions.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
N
N
Jack of All Trades
User avatar
User avatar
N
Jack of All Trades
Jack of All Trades
Posts: 8539
Joined: August 2, 2012

Post Post #172 (ISO) » Tue Jun 09, 2015 1:14 am

Post by N »

In post 170, wgeurts wrote:
In post 168, N wrote:the old thread is http://forum.mafiascum.net/viewtopic.php?f=4&t=29494 and the new thread is http://forum.mafiascum.net/viewtopic.php?f=4&t=62103

it might be linked using the plink template thing as well?

http://wiki.mafiascum.net/index.php?tit ... rofile=all
Voila, only one page in need of updating.

pretty sure there should be more
GTKAS

Share And Enjoy
(go stick your head in a pig)
User avatar
toolenduso
toolenduso
Mafia Scum
User avatar
User avatar
toolenduso
Mafia Scum
Mafia Scum
Posts: 2594
Joined: April 10, 2007

Post Post #173 (ISO) » Wed Jun 10, 2015 9:21 am

Post by toolenduso »

In post 171, wgeurts wrote:As for tool, I can look into making one however it won't be made anytime soon as I've got other things first on my list.


Yeah it's more a pet project than a priority I think.

In post 171, wgeurts wrote:As for fixing the roles link:
Try {{#IFEXIST... Google it and you'll find an article on it along with all the other default template functions.


Cool I'll look into that, thanks.
"Half of the game is figuring out who the scum is. The other half is convincing everyone else that you're right." -- PlaysWithSquirrels, in Newbie 437
User avatar
toolenduso
toolenduso
Mafia Scum
User avatar
User avatar
toolenduso
Mafia Scum
Mafia Scum
Posts: 2594
Joined: April 10, 2007

Post Post #174 (ISO) » Wed Jun 10, 2015 9:33 am

Post by toolenduso »

Haha wow so that turned out to be a far easier fix than I thought it would be. Turns out the template called for the role cell to jump through a bunch of hoops. I just replaced it with |align="center"|[[{{{role}}}]] and now it just redlinks whenever the page doesn't exist.

That ifexist tag is interesting though, could be useful for the future.
"Half of the game is figuring out who the scum is. The other half is convincing everyone else that you're right." -- PlaysWithSquirrels, in Newbie 437
Post Reply

Return to “Mafia Discussion”