Community Central
Community Central
(message)
No edit summary
Line 31: Line 31:
 
:::Where does the script go?--[[User:Andrew_Schlieffen|<span style="border-bottom:1px dotted; cursor:help;" title="Most Active on Modern Wikia">Andrew Schlieffen</span>]]<small> ([[User talk:Andrew_Schlieffen|talk]] &middot; [[Special:Contributions/Andrew_Schlieffen|contr]])</small> 21:17, April 27, 2011 (UTC)
 
:::Where does the script go?--[[User:Andrew_Schlieffen|<span style="border-bottom:1px dotted; cursor:help;" title="Most Active on Modern Wikia">Andrew Schlieffen</span>]]<small> ([[User talk:Andrew_Schlieffen|talk]] &middot; [[Special:Contributions/Andrew_Schlieffen|contr]])</small> 21:17, April 27, 2011 (UTC)
 
::::In MediaWiki:Wikia.js, along with the code above. Also make sure to replace 'HTML for clock goes here' in the above code. {{User:Monchoman45/SigReal|21:34,4/27/2011}}
 
::::In MediaWiki:Wikia.js, along with the code above. Also make sure to replace 'HTML for clock goes here' in the above code. {{User:Monchoman45/SigReal|21:34,4/27/2011}}
  +
  +
::::Yeah, I tried embedding a weather widget and it wont work. <big>[http://modernsociety.wikia.com/wiki/MediaWiki:Wikia.js Check code here]</big>.--[[User:Andrew_Schlieffen|<span style="border-bottom:1px dotted; cursor:help;" title="Most Active on Modern Wikia">Andrew Schlieffen</span>]]<small> ([[User talk:Andrew_Schlieffen|talk]] &middot; [[Special:Contributions/Andrew_Schlieffen|contr]])</small> 20:54, April 28, 2011 (UTC)

Revision as of 20:54, 28 April 2011

Forums: Index Community Central Forum Embedding and HTML
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.
Archive
Note: This topic has been unedited for 4740 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


  1. How would I add this clock to my wiki? http://www.widgetbox.com/widget/digital-clock-widget
  2. Is it possible to add an mp3 or radio embedded code to your wiki and make it work.
  3. How do you edit the Pages on this wiki slot like Runescape Wiki I want to put either my clock on there or something else?

Code I want to embed for my wiki <embed src='http://www.shoutcast.com/media/popupPlayer_V19.swf?stationid=http://yp.shoutcast.com/sbin/tunein-station.pls?id=1415249&play_status=1' quality='high' bgcolor='#ffffff' width='398' height='104' name='popupPlayer_V19' align='middle' allowScriptAccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' ></embed>

Can it be done?

--Andromeda Vadum 02:36, April 27, 2011 (UTC)

Yes - put that into a MediaWiki page, like MediaWiki:Shoutcast-player or something similar, and then put <verbatim>MediaWiki:Shoutcast-player</verbatim> on the page where you want it.  Monchoman45  Talk  Contribs  Skystone  13:42,4/27/2011 
Mp3 widget 2

Music Widget 2

Mp3 widget 1

Music Widget 1

Okay, *sigh* is there any way to put these widgets onto you wiki by copying the HTML code or the Embed Code? It would also be helpful if you can answer questions 1, 2, and 3 please.--Andromeda Vadum 19:22, April 27, 2011 (UTC)
Yes, as I said, you put the HTML in a MediaWiki page and use verbatim tags to display it. That works for clocks and any other widget you can find.  Monchoman45  Talk  Contribs  Skystone  19:28,4/27/2011 


I displayed it here http://modernsociety.wikia.com/wiki/Unseen_MediaWiki_Content and my code for it is here http://modernsociety.wikia.com/wiki/MediaWiki:Shoutcast-player. It wont work. Dont I have to put it in Wikia.css or Wikia.js?--Andrew Schlieffen (talk · contr) 20:45, April 27, 2011 (UTC)
I'm seeing it just fine. Clear your cache, and see if it's still not there.  Monchoman45  Talk  Contribs  Skystone  20:53,4/27/2011 
Its there. Can you help me with question #3 now.--Andrew Schlieffen (talk · contr) 20:55, April 27, 2011 (UTC)
That can be done with JS. You'll want $(function() {$('.WikiaPagesOnWikiModule').append('HTML for clock here');}); in your MediaWiki:Wikia.js, as well as the script for the clock.  Monchoman45  Talk  Contribs  Skystone  21:06,4/27/2011 
Where does the script go?--Andrew Schlieffen (talk · contr) 21:17, April 27, 2011 (UTC)
In MediaWiki:Wikia.js, along with the code above. Also make sure to replace 'HTML for clock goes here' in the above code.  Monchoman45  Talk  Contribs  Skystone  21:34,4/27/2011 
Yeah, I tried embedding a weather widget and it wont work. Check code here.--Andrew Schlieffen (talk · contr) 20:54, April 28, 2011 (UTC)