Difference between revisions of "User talk:Hobbes"

From UFOpaedia
Jump to navigation Jump to search
m
Line 68: Line 68:
 
:: Just made a few more and edits and I've moved it into [[Template: Maps Navbar (EU2012)]]. I'll add it later, along with the <nowiki>{{EU2012_Style}}</nowiki> tag, meanwhile I want to redo the maps pages. [[User:Hobbes|Hobbes]] 04:39, 28 April 2013 (EDT)
 
:: Just made a few more and edits and I've moved it into [[Template: Maps Navbar (EU2012)]]. I'll add it later, along with the <nowiki>{{EU2012_Style}}</nowiki> tag, meanwhile I want to redo the maps pages. [[User:Hobbes|Hobbes]] 04:39, 28 April 2013 (EDT)
 
::: And just added both the Navbar and the Style tag to all the map pages. I still want to redesign the map page format but that's for later. [[User:Hobbes|Hobbes]] 16:22, 30 April 2013 (EDT)
 
::: And just added both the Navbar and the Style tag to all the map pages. I still want to redesign the map page format but that's for later. [[User:Hobbes|Hobbes]] 16:22, 30 April 2013 (EDT)
 +
 +
::::In regards to the image layout on those pages, you may or may not find the code used in [[UP001.SPK-UP042.SPK|this article]] useful. - <span style="font-size:xx-small">&nbsp;[[User:Bomb_Bloke|Bomb Bloke]] ([[User_talk:Bomb_Bloke|Talk]]/[[Special:Contributions/Bomb_Bloke|Contribs]])</span> 02:54, 1 May 2013 (EDT)

Revision as of 06:54, 1 May 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): Missions/Maps/Map Info
Landed UFO Small Scout: RiverRiver ValleyLarge Scout: Creepy ForestHillsideAbductor: Farm OutskirtsWinding StreamSupply Ship: Forest GroveRocky Gorge
Crashed UFO Small Scout: BadlandsDirt Road MarshlandsQuagmireSmall Scout Farm (EW DLC)Small Scout Nuked City (EW DLC)Small Scout Roadhouse (EW DLC)Large Scout: Deep WoodsForest TrenchStonewallThe BarrensLarge Scout City (EW DLC)Abductor: CliffsideScorched EarthSupply Ship: Overlook AWildfireBattleship: Battleship 01Battleship 02
Abductions BarBoulevardCemetery GrandCommercial Alley (EU only)Commercial StreetConvenience Store (EU only)Demolition (EU only)Fast FoodGas Station (EU only)Highway BridgeHighway ConstructionIndustrial OfficeLiquor StoreMuseum (EU only)Office PaperPier AResearch Outpost (EU only)Rooftops ConstSlaughterhouse ASmall CemeteryStreet HurricaneStreet OverpassTrain StationTrainyardTruckstop (EU only)Commercial Alley EWI (EW DLC)Convenience Store EWI (EW DLC)Demolition EWI (EW DLC)Fast Food EWI (EW DLC)Gas Station EWI (EW DLC)Highway Construction EWI (EW DLC)Office Paper EWI (EW DLC)Research Outpost EWI (EW DLC)Street Overpass EWI (EW DLC)Truck Stop EWI (EW DLC)
Terror Site BarCommercial AlleyCommercial RestaurantCommercial StreetConvenience StoreStreet HurricaneHighway 1Military AmmoPolice StationOffice Paper (EW DLC)Pier A Terror (EW DLC)
Bomb Disposal Cemetery GrandHighway BridgeSlaughterhouse ATrain StationTrainyard
Asset Recovery Cemetery GrandIndustrial OfficePier AResearch OutpostStreet OverpassTruckstop
Extraction/Escort Extraction: Boulevard (EU only)Highway FallenMuseum (EU only)Street Hurricane (EW DLC)Escort: Commercial AlleyPier AResearch Outpost
Storyline Intro LevelAlien Base 01Alien Base 02Overseer: (Deep WoodsForest TrenchStonewallThe Barrens) • Temple Ship
Multiplayer BarBoulevardCemetery GrandPolice StationTrainyardObservatory (EW DLC)Rooftops Construction (EW DLC)Ruined Fishing Village (EW DLC)Stop 'N Gulp (EW DLC)Wrecked Pier (EW DLC)XCom HQ (EW DLC)
Slingshot DLC Friends in Low Places (Map)Confounding Light (Map)Gangplank (Map)
Enemy Within DLC Progeny: Portent (Map)Deluge (Map)Furies (Map)Other: Meld TutorialSite Recon (Map)EXALT Base Raid (Map)XCOM Base (Map)
Covert Operations Covert Data Recovery: BoulevardCommercial RestaurantDemolition EWIGas Station EWIHighway ConstructionIndustrial OfficeOffice Paper EWIPolice StationRooftops ConstTruck Stop EWICovert Extraction: Commercial Alley EWIConvenience Store EWIHighway Construction EWILiquor StoreMilitary AmmoPier A TerrorPortentResearch Outpost EWIStreet Overpass EWITrainyard


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. Er, in to the map pages, not the table template, that is to say.
-  Bomb Bloke (Talk/Contribs) 22:12, 27 April 2013 (EDT)
Just made a few more and edits and I've moved it into Template: Maps Navbar (EU2012). I'll add it later, along with the {{EU2012_Style}} tag, meanwhile I want to redo the maps pages. Hobbes 04:39, 28 April 2013 (EDT)
And just added both the Navbar and the Style tag to all the map pages. I still want to redesign the map page format but that's for later. Hobbes 16:22, 30 April 2013 (EDT)
In regards to the image layout on those pages, you may or may not find the code used in this article useful. -  Bomb Bloke (Talk/Contribs) 02:54, 1 May 2013 (EDT)