This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
Template talk:Infobox victims: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Orne got colored links working |
imported>Admin |
||
| Line 12: | Line 12: | ||
</PRE> |
</PRE> |
||
I will check out the other wiki later and see how they managed to do it. It may be that the Admin there added special code to the .CSS files on the site. --[[User:Orne|Orne]] 09:59, 12 January 2007 (EST) |
I will check out the other wiki later and see how they managed to do it. It may be that the Admin there added special code to the .CSS files on the site. --[[User:Orne|Orne]] 09:59, 12 January 2007 (EST) |
||
:See [[MediaWiki:Common.css]] for some custom CSS used here. I can always add to it if you have some CSS that would be helpful. ([[User:Admin|Admin]] 10:36, 12 January 2007 (EST)) |
|||
:* Ha! I got it. The "trick" is to use the FONT tag around text after the pipe in the wiki link. See: [[the map|<FONT color=red>the map</FONT>]], [[the map|<FONT color=orange>the map</FONT>]], [[the map|<FONT color=yellow>the map</FONT>]], [[the map|<FONT color=green>the map</FONT>]], [[the map|<FONT color=blue>the map</FONT>]], [[the map|<FONT color=indigo>the map</FONT>]], [[the map|<FONT color=violet>the map</FONT>]] --[[User:Orne|Orne]] 10:10, 12 January 2007 (EST) |
:* Ha! I got it. The "trick" is to use the FONT tag around text after the pipe in the wiki link. See: [[the map|<FONT color=red>the map</FONT>]], [[the map|<FONT color=orange>the map</FONT>]], [[the map|<FONT color=yellow>the map</FONT>]], [[the map|<FONT color=green>the map</FONT>]], [[the map|<FONT color=blue>the map</FONT>]], [[the map|<FONT color=indigo>the map</FONT>]], [[the map|<FONT color=violet>the map</FONT>]] --[[User:Orne|Orne]] 10:10, 12 January 2007 (EST) |
||
Revision as of 15:36, 12 January 2007
Colors and Links
I thought it'd be cool to make Sylar's infobox really dark, or black. Unfortunately, the blue links on the box look like crap against the black. However, Memory Alpha's dark background, for instance, looks terrific with the blue links. I tried copying similar colors, but to no avail - still a big pile of poop. Can some kind soul either help me out or give me some insight? Much obliged! - RyanGibsonStewart (talk) 19:29, 11 January 2007 (EST)
- I think what you need to do is create a DIV with a style element that adjusts the link colors. I'll put something together in a couple minutes. --Orne 21:35, 11 January 2007 (EST)
- Thanks, Orne, I'd really appreciate that. (I'm learning, I'm learning...) - RyanGibsonStewart (talk) 21:54, 11 January 2007 (EST)
- Sorry I didn't get back to posting last night. I didn't get a lot of sleep, and I started getting cranky. In CSS style sheets, the way you would do it is add color parameters using "pseudo" properties of the Anchor <A> element. I couldn't really get it to work, because the "right" way to do it is to create a new class in the Style section in the Header of the web page (the <HEAD> tag), and in the BODY of the page, assign the class to the specific anchor (using <A class="...">). Wiki does not allow you to create your own anchors, and the [[ ]] notation does not allow you to add classes to the links. Furthermore, if I added the code to a DIV tag that wrapped around the link, I still couldn't get the link to inherit the correct colors.
- Thanks, Orne, I'd really appreciate that. (I'm learning, I'm learning...) - RyanGibsonStewart (talk) 21:54, 11 January 2007 (EST)
<STYLE>
A:link {color: #FF0000}
A:visited {.....
</STYLE>
I will check out the other wiki later and see how they managed to do it. It may be that the Admin there added special code to the .CSS files on the site. --Orne 09:59, 12 January 2007 (EST)
- See MediaWiki:Common.css for some custom CSS used here. I can always add to it if you have some CSS that would be helpful. (Admin 10:36, 12 January 2007 (EST))