Dominion Strategy Forum

Meta => Feedback => Dominion Strategy Wiki Feedback => Topic started by: werothegreat on June 05, 2013, 04:09:17 pm

Title: Adding Guilds Cards
Post by: werothegreat on June 05, 2013, 04:09:17 pm
I've just added Doctor, but there doesn't seem to be a way to have its set show up as Guilds.  The other cards don't have their set coded into their infobox - it just appears as if by magic.  What's going on?
Title: Re: Adding Guilds Cards
Post by: werothegreat on June 05, 2013, 04:16:33 pm
Also - where do these infoboxes get costs from?
Title: Re: Adding Guilds Cards
Post by: Qvist on June 06, 2013, 01:02:21 pm
Oh, right. Work to do on the wiki. It seems the problems were already solved. But there's more stuff to do.

We need the card images.
We need the Guilds expansion icon.
We need some more articles, one about the coin tokens (mechanic) for example.
Title: Re: Adding Guilds Cards
Post by: werothegreat on June 06, 2013, 04:49:43 pm
I'm adding pictures now.  What someone who knows more about the actual workings of the wiki needs to do is change the code so that $X+ is recognized as a cost.
Title: Re: Adding Guilds Cards
Post by: DStu on June 07, 2013, 08:44:10 am
I'm adding pictures now.  What someone who knows more about the actual workings of the wiki needs to do is change the code so that $X+ is recognized as a cost.
Just let them in as $X, my bot will convert it when I run it.

Edit: Also, if you want to have fancy internal links with images when hovering, just use usual interwiki links like [[Baker]], and the bot will convert them. (Have to do a bit of work to get Guilds working...)

Edit2: OK, I missunderstood the $X+ thing, but anyway, the bot needs to change and not the wiki. The wiki need an image and template for $X+.  But I don't know if the bot is so easy, because I can imagine there are some actual $X+ in the wiki which mean "a card that costs at least $X" and not "a card that you can pay $X or more for".
Title: Re: Adding Guilds Cards
Post by: DStu on June 07, 2013, 04:37:02 pm
Just scanned for {{Cost|X}}+ through the wiki, and there are currently 3 pages with {{Cost|X}}+, that is Duchy, Duchy dancing and Sage.  No "$X+", because the bot would have already eaten these I think.
Quote
Late in the game, players will often choose to buy Duchies (even in cases where they might have {{Cost|8}}+ to spend) in an attempt to adhere to the [[Penultimate Province Rule]].
Quote
'''Duchy dancing''' is the phenomenon near the end of a Dominion game where players will buy {{Card|Duchy|Duchies}}, even in cases where they might have {{Cost|8}}+ to spend, in an attempt to adhere to the [[Penultimate Province Rule]].
Quote
The initial version was +1 Action, name a card, draw the next card that you haven't named for Sages yet this turn. So with multiple Sages it would get more selective. I pared that down to just drawing you a {{Cost|3}}+.

edit: btw, the bot now knows the cards from the preview
Title: Re: Adding Guilds Cards
Post by: werothegreat on June 13, 2013, 07:38:47 pm
Articles have been made for each new card, and it seems people have been adding them to the card category pages (as a note, I've also created a new card category navbox).  All we need now are better pictures, and playtime so we can get some strategy.

EDIT: With Guilds going up on Goko tonight, I'll get screens of each of the cards for temporary use, as the Goko cards don't show the artist's name.
Title: Re: Adding Guilds Cards
Post by: TwiNight on July 19, 2013, 03:47:47 pm
Do you guys not remember who made those templates in the first place?? MUHAHAHAHAHAHA!!

Quite sadly, the guy who has Dominion no longer shows up in my playgroup, and no one is willing to buy a new set, and Iso is down. So I basically retired from Dominion.

I am working on it now. Just need the $X+ images. (Looking at Schneau)

EDIT:
Updated {{Card2set}} and {{Card2cost}} templates.
For those who don't know, the infobox get costs and set names from those templates if none is specified.
Those templates are just exhaustive lists of the cards and their corresponding costs/set names.

Also updated the {{Cost}} template for $2+, $3+ and $4+
Just hard-coded them to map to File:CoinXplus.png
Icons breaking are expected.
Someone upload the images please. (Looking at you again, Schneau)

EDIT2: DStu you can start clearing the cost and set parameters from the Guild cards pages.
Title: Re: Adding Guilds Cards
Post by: Schneau on July 22, 2013, 10:47:31 pm
Do you guys not remember who made those templates in the first place?? MUHAHAHAHAHAHA!!

Quite sadly, the guy who has Dominion no longer shows up in my playgroup, and no one is willing to buy a new set, and Iso is down. So I basically retired from Dominion.

I am working on it now. Just need the $X+ images. (Looking at Schneau)

EDIT:
Updated {{Card2set}} and {{Card2cost}} templates.
For those who don't know, the infobox get costs and set names from those templates if none is specified.
Those templates are just exhaustive lists of the cards and their corresponding costs/set names.

Also updated the {{Cost}} template for $2+, $3+ and $4+
Just hard-coded them to map to File:CoinXplus.png
Icons breaking are expected.
Someone upload the images please. (Looking at you again, Schneau)

EDIT2: DStu you can start clearing the cost and set parameters from the Guild cards pages.

They have been uploaded!
Title: Re: Adding Guilds Cards
Post by: DStu on October 02, 2013, 04:43:50 am
EDIT2: DStu you can start clearing the cost and set parameters from the Guild cards pages.
oh, just read this now. will update the bot maybe on the weeked
Title: Re: Adding Guilds Cards
Post by: DStu on October 03, 2013, 07:21:12 am
Ok, Bot is updated, but there was nothing left to do on the wiki.  But anyway, you can now write $2+, $3+ and $4+ and it will hopefully convert into the image.  You need a space or endofline after the '+' to not match with $2+P...

Edit: Also, \$[0-9]+?P now converts to {{Cost}}-template, for some reason that didn't worked until now (but also didn't appear on the wiki for some reason (which I think I now))
Title: Re: Adding Guilds Cards
Post by: werothegreat on January 27, 2015, 02:47:24 am
We seem to still not have a Guilds_icon.png file on there - the icon is showing up on Kingdom card pages (somehow), but not on the Guilds set page itself.
Title: Re: Adding Guilds Cards
Post by: werothegreat on March 11, 2015, 02:25:14 pm
Added it myself.
Title: Re: Adding Guilds Cards
Post by: Donald X. on March 11, 2015, 11:37:28 pm
Added it myself.
The system works!