Template talk:Card

From Dvorak - A Blank-Card Game
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)

Background color

I'm new to this so what do you type in for like green or any other colors as a background color? Thanks. Ty—The preceding unsigned comment was added by Silverwrath (talkcontribs).

The background colors are in RGB format; one hexadecimal digit for red, one for green, and one for blue, in that order. For anyone who doesn't know hexidecimal, 0 is the lowest (and darkest), then up to 9 like normal, then A through F represent 10 through 15 (15 is brightest). So F00 is bright red, 0F0 is bright green, and 00F is bright blue. 060 is a darker shade of green. 000 is black, 888 (and anything else in between) is grey, and FFF is white. Colors can be combined; there's some talk about this at Talk:Infinite_Dvorak_deck#Gray_cards. Jtwe 15:17, 18 October 2007 (BST)

image

My images for [1] are making the cards look odd. What are the image regulations for cards in pixels, cm or inches? Is this information posted someplace else? If so I apologize for my naivety and lack of initiative to find the answers on my own. Aetherknight 10:00, 27 December 2008 (UTC)

My images are not printing up on my Irken Invaders Deck. There was an option to print background and images I have tried with and without that checked. --Jchasa 18:31, 16 April 2012 (UTC)

imgback

Does the imgback line need an image to display a colour? If not, where is the colour displayed?--Xahn Borealis 15:43, 7 November 2008 (UTC)

I think imgback meant to be exactly like bgcolor except for the color of the background for the text rather than the background color for the heading (which is a bit misleading, but it might be because it was added after bgcolor had already existed with that name). Enter it as a three or six character hexademical combination. You can achieve better results by googling rgb to hexadecimal converters. Aetherknight 10:00, 27 December 2008 (UTC)


cornervalue

Is there any way to put the cornervalue on the left side? or somewhere else besides the top right? Aetherknight 03:28, 23 December 2008 (UTC) Not without editing the template, and no one wants to do that. Sorry. --Giovan 16:47, 29 July 2011 (UTC)