Difference between revisions of "Template talk:BattleInfo"

From NeoDex
Jump to navigation Jump to search
(→‎Changing Format: Found it!)
Line 27: Line 27:
:That's a good idea acutally.  I have one problem though.  Where the heck is the .css code for the battledome class stored?  I can't find it for the life of me. :/ -[[User:Emeraldosprey|Emerald Osprey]] 07:31, 29 November 2010 (CST)
:That's a good idea acutally.  I have one problem though.  Where the heck is the .css code for the battledome class stored?  I can't find it for the life of me. :/ -[[User:Emeraldosprey|Emerald Osprey]] 07:31, 29 November 2010 (CST)
::Ha!  I finally found it.  It's on [[MediaWiki:Common.css]].  Dur.  I feel silly for not looking there earlier. :P -[[User:Emeraldosprey|Emerald Osprey]] 07:52, 29 November 2010 (CST)
::Ha!  I finally found it.  It's on [[MediaWiki:Common.css]].  Dur.  I feel silly for not looking there earlier. :P -[[User:Emeraldosprey|Emerald Osprey]] 07:52, 29 November 2010 (CST)
:::That's right. The class was called as ''class="<nowiki>{{{8|battle}}}</nowiki>dome"''. If option 8 wasn't specified, it would default to 'battle', so it would read ''class="battledome"''. If it was set, say, to ''stone'', it would read ''class="stonedome"''.
:::You can say, then, ''class="<nowiki>{{{6|battle}}}</nowiki>dome"'' at the top, and then later, in the arena row, '<nowiki>{{{6}}}</nowiki>' again. Then, the sixth option will both change the class and appear in the arena row. --[[User:Macbeth|Macbeth]] 16:06, 29 November 2010 (CST)

Revision as of 22:06, 29 November 2010

Wondering if this will be needed, as the table and the image of the character on the article have since been seperate since the beginning (as shown in Pant Devil, Kanrik and other opponents of the Battledome in each of the characters "Battledome" section).--Jacob 16:49, 7 Jul 2006 (CDT)

hmm, whoops. I guess the table will work just as well then. Give me time for fix all the data properly before you delete this. NeoEva88 08:56, 8 Jul 2006 (CDT)

The tables are seperated, but the table is kinda unwieldly, I suggest we use this template without the image section, to give the table a cleaner look. NeoEva88 09:45, 8 Jul 2006 (CDT)

Okay, I've changed my mind again. I've tried to implement in the tables, and I think it's a lot more complicated, and will become a problem again after every major edit to an article. I think we should definitely just start moving images into the BattleInfo table as I have suggested and forget about the old table. NeoEva88 09:54, 8 Jul 2006 (CDT)

I was liking this tmeplate as well, and i think it would do great in replacing the old tables i've been using (smaller code to type and such ;) ). And on image use: for all characters that can be challeged/have been part of the battledome, they will have two images. One as the intro picture at the top, and the image in the template table in the "Battledome" section, which will contain battledome information and quotes. Sound good? --Jacob 13:10, 8 Jul 2006 (CDT)

Ok, I saw the proposed new layout on the Cave Chia and I've got one question and some suggestions. First, what should we do with opponents that have large pictures, but small articles? (ex. Giant Ghostkerchief) For the Giant Ghostkerchief I think the solution is simple, use only one image. The Giant Ghostkerchief is really notable only as a Battledome Opponent, and so a single picture in the Battledome template will do. However, for other opponents such as the Pant Devil or The Esophagor other images will be used also. (Gallery of Evil images, etc.) NeoEva88 16:44, 8 Jul 2006 (CDT)

Option #8

{{{Image}}}
{{{Name}}}
Difficulty: {{{Difficulty}}} Starting HP: {{{StartingHP}}}
Arena: {{{Arena}}} Released: {{{ReleaseDate}}}
Status: Unknown Challenger ID: {{{ID}}}
Found by: {{{FoundBy}}}

This revision brings in an eighth parameter for setting the colour of the border - the idea is that the border colour corresponds to the arena the challenger is from. If unspecified (for backwards compatibility, mainly) it'll default to the battledome red. Basically, at the end of the template, include "island", "battle", "tyrannian", "water", "snow", "space", or "stone" (without quotes). For example,

{{BattleInfo|The Snowager|http://images.neopets.com/pets/closeattack/36_left.gif|650|700|65|Wand of the Air Faerie|Be attacked by The Snowager [http://www.neopets.com/winter/snowager.phtml here] (Your pet will lose HP)|snow}}

--Macbeth 01:12, 16 November 2009 (UTC)

And I like it. This is the wonder of stopping by and not knowing what happened for weeks. I get surprised by something pretty. :D --Jacob 16:43, 31 December 2009 (UTC)

Changing Format

Hey y'all. I'm changing the format of the battle info again. I find the colored borders really confusing. I always have to look up which color cooresponds to which arena. As such, I explicitily stating the arena in the information. Also, I am removing the "Steal" item in the table because I plan on listing ALL the weapons in the order than they are stolen for each opponent. (See Advisor Broo to see what I mean.) Sorry about editing with out explaining Macbeth, I was hoping to create an example before I talked about it.- Emerald Osprey 22:24, 28 November 2010 (CST)

Not at all, be bold and all. It'd be easy to do both the border and the arena: entry, though - have both read from the same variable. The colour coding is how the dome is identified in the 1-player challenge list, which was why it was included before. --Macbeth 22:41, 28 November 2010 (CST)
That's a good idea acutally. I have one problem though. Where the heck is the .css code for the battledome class stored? I can't find it for the life of me. :/ -Emerald Osprey 07:31, 29 November 2010 (CST)
Ha! I finally found it. It's on MediaWiki:Common.css. Dur. I feel silly for not looking there earlier. :P -Emerald Osprey 07:52, 29 November 2010 (CST)
That's right. The class was called as class="{{{8|battle}}}dome". If option 8 wasn't specified, it would default to 'battle', so it would read class="battledome". If it was set, say, to stone, it would read class="stonedome".
You can say, then, class="{{{6|battle}}}dome" at the top, and then later, in the arena row, '{{{6}}}' again. Then, the sixth option will both change the class and appear in the arena row. --Macbeth 16:06, 29 November 2010 (CST)