Template talk:Card

From Dvorak - A Blank-Card Game
Revision as of 05:45, 13 April 2007 by MagiMaster (talk | contribs) (Temporary copy)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

James changed "longtitle can be set to 'true' if the card title takes up more than two lines, and can be omitted otherwise" to "takes up more than a line" - which browser and font size was this in? I've been using "normal" in Firefox and "medium" in Internet Explorer, when checking the templates, and a two-line title looks like this, to me:-

Example card.gif

Although really we should be working to deprecate the "longtitle" field and just do cleverer things with templates - it should be possible to specify a minimum title height, and let the <div> expand itself if it needs to. I'll play around with it if I get some time today. --Kevan 10:46, 2 February 2007 (UTC)

I use Internet Explorer, and I tried it with very different font sizes. On my computer having a title that goes over a line, without putting longtitle to true, makes the card a bit taller than normal, and it means that there's a gap when the cards are displayed. --James 14:51, 3 February 2007 (UTC)

Maybe it'd work better if the cards were cells in a table? --James 15:18, 3 February 2007 (UTC)

It seems like Internet Explorer has trouble keeping all the cards the same size. I'm not sure why though. In Firefox, everything lines up nicely. MagiMaster 03:06, 11 March 2007 (UTC)

Colors

Wouldn't a lighter color and black text for card tops work better for printing? Zaratustra 18:07, 11 February 2007 (UTC)

Probably. I think I'll rehash the deck-printing code from the old site, this week, though, so that it runs off of scraped wiki data, letting people choose whatever colour scheme suits their mood and printer. --Kevan 19:36, 11 February 2007 (UTC)

Card Numbering a bit differently

Kevan, is there a possibility to add Card Numbers, but such that would distinguish each card Title and if that Title already exists before, it would assign the same number? I know the normal numbering (e.g. counting simply from one to n) would be easier, but.... this way we dont get two Archers with different numbers... --Joeyeti 15:50, 2 February 2007 (UTC)

Not entirely sure what you mean - something like the "123/200" numbering at the bottom of Magic the Gathering cards, so that you know where it fits into the set? I could add an optional "number" field which the deck writer would assign a value to, if that's what you want. --Kevan 18:16, 2 February 2007 (UTC)
Yup, something like that, but also if it is possible that if there are more copies of the same card in the deck (e.g. in the Medieval Warfare - for instance Footmen), they would have the same card number (1/48) and not different ones, even if the second copy of Footmen is again listed somewhere in the third of the deck. --Joeyeti 13:00, 3 February 2007 (UTC)

Repeated cards

Should there be an optional 'repeatcard = X' field which will make X copies of that card? It may make repetitive decks easier to upload. --David C 17:25, 18 February 2007 (UTC)

Flavor Text

I started adding flavor text to my Invader Zim deck but I realized that it adds the <hr/> tag and the flavor text to the mushcode export too. What would be the best way to fix this? MagiMaster 02:42, 7 March 2007 (UTC)

I could change the export to deal with it (maybe I should strip all HTML and wiki markup anyway), but maybe an actual flavour text field would be useful. I'll sort something out when I've got a moment. --Kevan 09:40, 7 March 2007 (UTC)
I'll take a crack at adding this. If anyone thinks they can do a better job, they're probably right, so feel free to redo (or even undo) this. MagiMaster 03:06, 11 March 2007 (UTC)
Alright. I added it, and it seems to work fine. The flavor text appears in italics below a horizontal rule under the body text (unless the body text is empty, in which case it's just in italics). Also, the flavor text doesn't appear in the mushcode export (or the print export, unfortunately). If anyone notices anything wrong with it, let me know. If I can't fix it, at least I can undo it. :) MagiMaster 03:22, 11 March 2007 (UTC)
Nice work. I'll have to update the MUSH and print exports manually, but that's no problem, I'll get it sorted later in the week. --Kevan 11:01, 11 March 2007 (UTC)