This Forum has been archivedVisit the new Forums
Related wiki: The Sims Wiki
At the moment our "Era" or "Game" template is rather crude: The Sims Wiki - Template:Era. The template I'm speaking of adds a small icon to the far right side of articles, inline with the article header. We did it be positioning a div with an absolute postion. This works fine unless you usde Sitenotice in which case the template is not moved down along with the rest of the article, so my question is: How do we make it do that?
I found an example in The Vault. It uses some JS and CSS and I was wondering if all that was really neccesary just to make it move when using Sitenotice.
- The Vault - Template:Game
- The Vault - MediaWiki:Common.css (About 1/3 of the way down labelled "GAME ICONS")
- The Vault - MediaWiki:Common.js (Almost at the very top)
The best way to know for sure whether it'll work is to test it out. If it doesn't work, the wiki could be missing other necessary code somewhere else, so you could ask someone on The Vault who's familiar with JS and CSS for more help if you need it. Hopefully it works though! - Brandon Rhea(talk) 19:01, September 3, 2010 (UTC)