FANDOM


This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Horizontally Scrolling Text
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 1461 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


What I'm trying to do is make an automatically scrolling text near the top of the main page of my wiki ([1]). One line in height, it basically just loops whatever I've put into it. It will be used to give news updates and what not. Can anyone help me out with this?

Here's an example: [2], see how under the heading it has sideways scrolling text showing how items are valued (lame site for an example, but it was the first I found). Stavrok (talk) 05:25, July 23, 2012 (UTC)


Here's the basic code that does that on the page you linked:

<marquee behavior="scroll" direction="left" scrollamount="3">Here's some news for you...</marquee>

Note: To make this work, you'll have to put it on a MediaWiki page and then use <verbatim></verbatim> tags. For example, you could edit your http://universaltriumvirate.wikia.com/wiki/MediaWiki:Mainpagenews page, copy/pasting that code I put above. Then, to make it appear on your home page, you'd type: <verbatim>Mainpagenews</verbatim> 20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 05:33 UTC, Mon, 23 July 2012

It should be possible, yes. The reason it's not working the way you tried it is because you tried to put wikitext (a wikilink + a template) in a MediaWiki page. <verbatim></verbatim> tags render the content as pure HTML (hence the term "verbatim"). So if you want to use an image, you have to use the corresponding HTML. You can't use wikitext. Example:
<img alt="Increase.png" src="http://images1.wikia.nocookie.net/__cb20120103193133/universaltriumvirate/images/thumb/d/d9/Increase.png/11px-Increase.png" width="11" height="11">
20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 07:16 UTC, Mon, 23 July 2012
  • Oh right, that makes sense, can't believe I didn't remember that. Thank you much, I really appreciate it! Stavrok (talk) 07:23, July 23, 2012 (UTC)

Additional Follow Up Question

I want to do the same thing except in the sidebar if that is in any way possible (I doubt it is since I've never seen something like that), is there any way to edit the sidebar and put templates/scrolling text like what this forum thread is about in the sidebar? 03:31, July 28, 2012 (UTC)

^ Can anyone help me with this? 17:38, August 2, 2012 (UTC)
Unfortunately, you are not allowed to do that (though it is possible to do). Modifying the siderail (the part on the right side of the screen where it has modules that say "Recent Wiki Activity" or "Recent Photos") for all viewers of a wiki is considered a violation of Wikia's Terms of Use. You are of course free to customize the siderail for yourself personally (e.g. by putting code in your wikia.js or global.js), but you can't do it for an entire wiki. 20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 19:55 UTC, Thu, 02 August 2012
What about the left sidebar? That's what I meant, with the search bar, navigation, community, etc. is there any way to adjust that or add something like scrolling text onto there? Stavrok (talk) 22:57, August 2, 2012 (UTC)
Left sidebar? You must mean for the Monobook skin, as there is no left sidebar in the default Wikia skin. You can edit MediaWiki:Sidebar to change your Monobook navigation, but no, you can't do scrolling text. 20px_Rin_Tohsaka_Avatar.png Mathmagician ƒ(♫) 00:36 UTC, Fri, 03 August 2012
Community content is available under CC-BY-SA unless otherwise noted.