Difference between revisions of "User talk:Hobbes"

From UFOpaedia
Jump to navigation Jump to search
Line 79: Line 79:
 
: The layout and appearance looks perfect to me, but I don't like the use of style templates within the table - guess what THEY conflict with?
 
: The layout and appearance looks perfect to me, but I don't like the use of style templates within the table - guess what THEY conflict with?
  
: Starting a cell with a ! instead of a | is enough to tell the wiki it's to be a header cell, there's no need to use a template for that.
+
: Starting a cell with a ! instead of a | is enough to tell the wiki it's to be a header cell, there's no need to use a template for that. I've hence modified the above table to do away with templates as an example.
  
 
: If adding it to the map pages as a template, could I also ask for a <nowiki>{{EU2012_Style}}</nowiki> tag to go in as well? Doesn't actually exist as yet, but the plan is to save a little time later when it does.
 
: If adding it to the map pages as a template, could I also ask for a <nowiki>{{EU2012_Style}}</nowiki> tag to go in as well? Doesn't actually exist as yet, but the plan is to save a little time later when it does.
  
 
: - <span style="font-size:xx-small">&nbsp;[[User:Bomb_Bloke|Bomb Bloke]] ([[User_talk:Bomb_Bloke|Talk]]/[[Special:Contributions/Bomb_Bloke|Contribs]])</span> 22:12, 27 April 2013 (EDT)
 
: - <span style="font-size:xx-small">&nbsp;[[User:Bomb_Bloke|Bomb Bloke]] ([[User_talk:Bomb_Bloke|Talk]]/[[Special:Contributions/Bomb_Bloke|Contribs]])</span> 22:12, 27 April 2013 (EDT)

Revision as of 02:13, 28 April 2013

Nav Boxes

How do you make them? I was thinking of setting up some for Enemy Unknown (2012), namely one for base buildings/addons, one for all equipment (backpack equipment, weapons and armor), one for Aliens, one for Classes, etc. etc. Leman Russ 18:16, 19 April 2013 (EDT)

Easiest way is to use an already existing template to create a new one, such as Template:Organizations_Navbar, which gives you this:
Apocalypse Insignia X-COM: Apocalypse: Organizations
The Good:Apoc xcom.png X-COM Apoc govt.png Government Apoc megapol.png Megapol
The Bad:Apoc aliens.png Alien Apoc sirius.png Cult of Sirius
The Ugly:Apoc cyberweb.png Cyberweb Apoc diablo.png Diablo Apoc energen.png Energen Apoc evonet.png Evonet Apoc extropians.png Extropians
Apoc gm.png General Metro Apoc gravball.png Grav Ball League Apoc lifetree.png Lifetree Apoc marsec.png Marsec
Apoc mutant.png Mutant Alliance Apoc nanotech.png Nanotech Apoc nutrivend.png Nutrivend Apoc osiron.png Osiron Apoc psyke.png Psyke
Apoc self.png S.E.L.F. Apoc sanctuary.png Sanctuary Clinic Apoc sensovision.png Sensovision Apoc solmine.png Solmine
Apoc sd.png Superdynamics Apoc synthemesh.png Synthemesh Apoc technocr.png Technocrats Apoc ts.png Transtellar

Or, if you click to edit the code:

<table width="75%" {{stdTable}} cellpadding="3" border="1">

<tr {{stdTable Sub_Heading}}><td colspan ="2">{{Apoc Icon}} <b>[[Apoc_Table|X-COM: Apocalypse]]:</b> [[Organizations]]</td></tr>

<tr><td width="80"><b>The Good:</b></td><td>[[Image:Apoc_xcom.png]] [[X-COM (Apocalypse)|X-COM]] [[Image:Apoc_govt.png]] [[Government]] [[Image:Apoc_megapol.png]] [[Megapol]]</td></tr>

<tr><td><b>The Bad:</b></td><td>[[Image:Apoc_aliens.png]] [[Aliens (Apocalypse)|Alien]] [[Image:Apoc_sirius.png]] [[Cult of Sirius]]</td></tr>

<tr><td><b>The Ugly:</b></td><td>[[Image:Apoc_cyberweb.png]] [[Cyberweb]] [[Image:Apoc_diablo.png]] [[Diablo]] [[Image:Apoc_energen.png]] [[Energen]] [[Image:Apoc_evonet.png]] [[Evonet]] [[Image:Apoc_extropians.png]] [[Extropians]]<br>[[Image:Apoc_gm.png]] [[General Metro]] [[Image:Apoc_gravball.png]] [[Grav Ball League]] [[Image:Apoc_lifetree.png]] [[Lifetree]] [[Image:Apoc_marsec.png]] [[Marsec]]<br>[[Image:Apoc_mutant.png]] [[Mutant Alliance]] [[Image:Apoc_nanotech.png]] [[Nanotech]] [[Image:Apoc_nutrivend.png]] [[Nutrivend]] [[Image:Apoc_osiron.png]] [[Osiron]] [[Image:Apoc_psyke.png]] [[Psyke]]<br>[[Image:Apoc_self.png]] [[S.E.L.F.]] [[Image:Apoc_sanctuary.png]] [[Sanctuary Clinic]] [[Image:Apoc_sensovision.png]] [[Sensovision]] [[Image:Apoc_solmine.png]] [[Solmine]]<br>[[Image:Apoc_sd.png]] [[Superdynamics]] [[Image:Apoc_synthemesh.png]] [[Synthemesh]] [[Image:Apoc_technocr.png]] [[Technocrats]] [[Image:Apoc_ts.png]] [[Transtellar]]</td></tr>

</table> To create the template, just write the link for it, for instance Template: Aliens (EU2012), click and start editing. Just edit/replace/add what you want. After you've done a template, you'll have to add it to all the relevant pages by adding at the bottom the following code: {{Aliens (EU2012)}} Hobbes 18:58, 19 April 2013 (EDT)

Got a number of them out. How do they look? Only one that I can think of that still needs doing is one for classes. Leman Russ 13:16, 26 April 2013 (EDT)
Looking good, but only two comments. It might be a good idea to have added a Navbar suffix on the end of the template names. The other is perhaps to use wiki table markup for the outer/main boxes. NKF 16:37, 26 April 2013 (EDT)
NKF, could you please post here an example of wiki table markup? I'm not sure exactly myself of the difference. Hobbes 21:02, 26 April 2013 (EDT)
Sure. I'll use wiki table markup to replicate the example navbar above. Check the source.


Apocalypse Insignia X-COM: Apocalypse: Organizations
The Good: Apoc xcom.png X-COM Apoc govt.png Government Apoc megapol.png Megapol
The Bad: Apoc aliens.png Alien Apoc sirius.png Cult of Sirius
The Ugly: Apoc cyberweb.png Cyberweb Apoc diablo.png Diablo Apoc energen.png Energen Apoc evonet.png Evonet Apoc extropians.png Extropians
Apoc gm.png General Metro Apoc gravball.png Grav Ball League Apoc lifetree.png Lifetree Apoc marsec.png Marsec
Apoc mutant.png Mutant Alliance Apoc nanotech.png Nanotech Apoc nutrivend.png Nutrivend Apoc osiron.png Osiron Apoc psyke.png Psyke
Apoc self.png S.E.L.F. Apoc sanctuary.png Sanctuary Clinic Apoc sensovision.png Sensovision Apoc solmine.png Solmine
Apoc sd.png Superdynamics Apoc synthemesh.png Synthemesh Apoc technocr.png Technocrats Apoc ts.png Transtellar


It's the same result, but has the advantage of being tidier to maintain. For nested tables, you can throw HTML tables inside and not make it one big block of greater/less-than symbols and slashes. ;) NKF 21:34, 26 April 2013 (EDT)
I'd quite like to see one done for the maps, though it may require a reduced font size in order to fit everything in without massive page bloat. -  Bomb Bloke (Talk/Contribs) 18:17, 26 April 2013 (EDT)
Might be better to use only the loading screen images on the Navbar. I'll look into it later Hobbes 06:12, 27 April 2013 (EDT)
How about something like this?
EU2012 Badge XCOM: Enemy Unknown (2012): Maps
Landed UFO RiverRiver ValleyCreepy ForestHillsideFarm OutskirtsWinding StreamForest GroveRocky Gorge
Crashed UFO BadlandsDirt Road MarshlandsQuagmireDeep WoodsForest TrenchHillsideStonewallThe BarrensCliffsideScorched EarthOverlook AWildfire Battleship 01 Battleship 02
Abductions BarBoulevardCemetery GrandCommercial AlleyCommercial StreetConvenience StoreDemolitionFast FoodGas StationHighway BridgeHighway ConstructionIndustrial OfficeLiquor StoreOffice PaperPier APolice StationResearch OutpostRooftops ConstSlaughterhouse ASmall CemeteryStreet HurricaneStreet OverpassTrain StationTrainyardTruckstop
Terror/Council Commercial RestaurantHighway 1Military AmmoPolice StationBoulevardHighway FallenMuseumLow FriendsConfounding LightGangplank
Storyline Intro LevelAlien Base 01Alien Base 02Temple Ship

Hobbes 20:20, 27 April 2013 (EDT)

The layout and appearance looks perfect to me, but I don't like the use of style templates within the table - guess what THEY conflict with?
Starting a cell with a ! instead of a | is enough to tell the wiki it's to be a header cell, there's no need to use a template for that. I've hence modified the above table to do away with templates as an example.
If adding it to the map pages as a template, could I also ask for a {{EU2012_Style}} tag to go in as well? Doesn't actually exist as yet, but the plan is to save a little time later when it does.
-  Bomb Bloke (Talk/Contribs) 22:12, 27 April 2013 (EDT)