Template talk:CheckPointNavigation: Difference between revisions

From LoadingReadyWiki
Jump to navigationJump to search
m New page: Would it be possible to make the background an image instead of just a solid matte of color? That could be interesting. --KK
 
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Would it be possible to make the background an image instead of just a solid matte of color? That could be interesting. --KK
Would it be possible to make the background an image instead of just a solid matte of color? That could be interesting. --KK
----
Since apparently MediaWiki tables use CSS (style="some CSS here") it shouldn't be too hard:
background: url(<nowiki>http://url.to/image.png</nowiki>) repeat top #AC1628
With, of course, any adjustments as necessary (like maybe a different backup color or only repeat-x or something).  Now we just need an image to put there. //EA
I'll whip up an image to show what I'm thinking of tomorrow, if I don't get lazy. --KK
After a bit of html/css hacking we now have coloured links. I had to change the template signature though. One problem is that now the first and last videos have [[|]] instead of blank. I have no way of fixing this unless Paul installs an extension to allow boolean expressions in the templates. The extension would allow for some other wizardry as well. [[User:Lord Chrusher|Lord Chrusher]] 12:45, 2 June 2011 (UTC)
Nice. Can we make the picture link to the main [[CheckPoint]] article instead of having the links below it? Should that picture be bigger? --KK
--
I know I just edited this, and I'm using Space Edit over here, but I had a thought. I was thinking, "Hey, why don't we just have the link at the end say "Latest Video" and it would go to a page that says "Latest Video: You got here because you clicked that, bla bla." But then I realized we'd also need one for the Premiere Video as well, and it just didn't seem practical.
In theory, we could take the double brackets out of the template and include them in the links in the page itself, and we'd be free to say "Don't make that a link." The only other way i can think of doing it is having special Navigations for Premiere and Latest episodes, which is needless. --KK
With this version of MediaWiki you can not use images as links. To make the text a different colour the code has to be inside the brackets. Should we ask Paul about adding extensions? We can always hard code each premiere. [[User:Lord Chrusher|Lord Chrusher]] 12:16, 3 June 2011 (UTC)

Latest revision as of 12:16, 3 June 2011

Would it be possible to make the background an image instead of just a solid matte of color? That could be interesting. --KK


Since apparently MediaWiki tables use CSS (style="some CSS here") it shouldn't be too hard:

background: url(http://url.to/image.png) repeat top #AC1628

With, of course, any adjustments as necessary (like maybe a different backup color or only repeat-x or something). Now we just need an image to put there. //EA

I'll whip up an image to show what I'm thinking of tomorrow, if I don't get lazy. --KK

After a bit of html/css hacking we now have coloured links. I had to change the template signature though. One problem is that now the first and last videos have [[|]] instead of blank. I have no way of fixing this unless Paul installs an extension to allow boolean expressions in the templates. The extension would allow for some other wizardry as well. Lord Chrusher 12:45, 2 June 2011 (UTC)

Nice. Can we make the picture link to the main CheckPoint article instead of having the links below it? Should that picture be bigger? --KK

--

I know I just edited this, and I'm using Space Edit over here, but I had a thought. I was thinking, "Hey, why don't we just have the link at the end say "Latest Video" and it would go to a page that says "Latest Video: You got here because you clicked that, bla bla." But then I realized we'd also need one for the Premiere Video as well, and it just didn't seem practical.

In theory, we could take the double brackets out of the template and include them in the links in the page itself, and we'd be free to say "Don't make that a link." The only other way i can think of doing it is having special Navigations for Premiere and Latest episodes, which is needless. --KK

With this version of MediaWiki you can not use images as links. To make the text a different colour the code has to be inside the brackets. Should we ask Paul about adding extensions? We can always hard code each premiere. Lord Chrusher 12:16, 3 June 2011 (UTC)