This Forum has been archived

Forums: Admin Central Index Technical Help Quotes with URL links
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.


For the last day I've created an article talking of an upcoming POTC attraction called "The Legend of Captain Jack Sparrow" down at POTC Wiki. The reason I'm putting that is, our only sources regarding the attraction are from other websites, blogs, etc. Our Wiki, as far as I can see, doesn't have the Template in which we can make quotes with external links. I tried to see if I can make the template myself, using this quote from Wookiepedia for was terribly unsuccessful.

So if anyone who is good with these things can help me with this matter, I'd be most grateful. --J Fan SigOn Stranger Tides, Arkham City 19:03, May 2, 2012 (UTC)

I edited w:c:pirates:Template:Quote a little. Let me know if this is what you meant. Otherwise you should revert my edit. --  pecoes  19:30, May 02, 2012 (UTC) 
Pretty much, yes. Though I'd prefer the source button looking like "[src]"(right now it looks like "src" and has an arrow added on it)....but if it's not possible, I'll take it. However, it can't be used at the Quote template as it kinda messes up the ones in use, which are a lot. I could just copy and paste it in creating the template, right?
Thanks for the help, BTW. ;) --J Fan SigOn Stranger Tides, Arkham City 20:05, May 2, 2012 (UTC)
Yes, you should probably create a new template. But don't just copypaste it, update its documentation too, so people will know what it's for! Let me know the URL when you're done! --  pecoes  20:33, May 02, 2012 (UTC) 
Of course. I meant copypasting the coding in which the template is set up. I got it set up here. Thanks again for the help! --J Fan SigOn Stranger Tides, Arkham City 21:03, May 2, 2012 (UTC)

(Reset indent) Okay, to get those single brackets you should write the link like this:

<sup class="noprint"><nowiki>[</nowiki>[{{{3|}}} src]<nowiki>]</nowiki></sup>

Removing that arrow symbol behind the [src] is not so easy. You will have to edit your wiki's CSS and add something like this:

.no-sprite a.external:after {
    background: none !important;
    content: none !important;

That will give you a class "no-sprite" with which you can switch off the arrow symbol:

<sup class="noprint no-sprite"><nowiki>[</nowiki>[{{{3|}}} src]<nowiki>]</nowiki></sup>
--  pecoes  22:02, May 02, 2012 (UTC)