Talk:Battle of Endor

From ImperialWiki
Jump to: navigation, search

Battle Template

Battle of Endor
Date
Location Endor
Result Rebel Alliance victory
Combatants
Galactic Empire Rebel Alliance
Commanders
Admiral Piett Admiral Ackbar
Forces
Death Star, Executor, assorted ISDs Mixed group
Casualties
? ?


In Wikipedia when they discuss a movie, strategy game, battle, etc, there's a box in the top-right corner which has a brief run down of the statistics - force dispositions on both sides, and a one/two sentence synopsis. How do you do that? I think it would be very useful for us to adopt a similar convention. --BountyHunterSAx (ForgotToSign)

All it needs is someone to figure out how to set up a template. --Ted C 11:50, 16 November 2007 (EST)
I try my hand at doing a template if someone can list the parameters we'd pass to it. Mad 12:31, 16 November 2007 (EST)
Wikipedia uses...
  • Name of battle
  • Date
  • Location
  • Result
  • Combatants
  • Commanders
  • Forces
  • Casualties
Combatants, Commanders, and Forces rows are split into two columns. --Ted C 13:11, 16 November 2007 (EST)
Heroes Wiki has an article on designing templates that might be helpful. --Ted C 13:27, 16 November 2007 (EST)
I don't know what you mean exactly by parameters we'd pass to it; can you clarify that? Also - if we do adopt this idea it might also be useful to do the same for the DeathStar page, and to effectively turn the specifications heading into the stat-box. --BountyHunterSAx 12:50, 16 November 2007 (EST)
Templates have parameters passed to them, like functions in programming. For example, a simple template could be {{HelloWorldTemplate|firstName=Bob}} and then the template would create a centered box with lots of fancy markup that says "Hello World! Meet Bob." Then I could call the template again, and get the same fancy box but with a different name.
So, basically, I'd need the various entries we'd enter in. Like you said, force dispositions, synopsis, etc. Except with the "etc" defined... - Mad 13:01, 16 November 2007 (EST)

I added a sample template: Template:BattleQuickInfo. It still needs some work on formatting. I included it here to play around with (feel free to fix anything, either in the data entered on this page or on the template itself). I'll try to improve the formatting a bit, but I don't know when I'll have anything useful. Mad 14:02, 16 November 2007 (EST)

Personal tools