A bit of coding help
79,381pages on
this wiki
this wiki
Forum page
This Forum has been archived
Visit the new ForumsForums: Index → Community Central Forum → A bit of coding help
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 782 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.
Hi, I'm an admin and bureaucrat from the Battlefield Wiki and I could use a little help with our Infobox/map template. There's a field called "Map" and when used next to our Equipment/BF1942 template (or any of our "Equipment" templates), it makes a large space, as if it took the entire span of the article space (see here for an example). Can anyone fix this? SSDGFCTCT9(Talk) x10px x10px x10px x10px 20:49, March 30, 2011 (UTC)
- The template itself has a
<br style="clear:both">at the end. That means it makes sure it 'clears' the right side (the other long template) after the table. Removing that line will fix your problem. Rappy 21:36, March 30, 2011 (UTC)<nowiki>'d. Monchoman45 Talk Contribs Skystone 21:39,3/30/2011
- I tried fixing that, but due to the fact that the
clearproperty is used multiple times, both in templates and in Wikia.css definitions, I wasn't able to do it. I guess you'll have to decide if you either want to block floating to the left of the Infobox/map template (by modifying Wikia.cssinfoboxclass) or you want to block floating to the right of the Equipment templates (by modifying theclearproperties in the template). You can't have both. Sovq 21:48, March 30, 2011 (UTC)
- I tried fixing that, but due to the fact that the
- Heh, I was was trying to to that the similar way but whenever I made changes to the Equipment/BF1942 template, no changes appeared in the Guadalcanal#Battlefield_1943 section. Now I see the section is not using that template -.-. I guess I was out of caffeine in my system ;) Sovq 06:32, March 31, 2011 (UTC)