Forum:"Class" on templates

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
Forums: Index > Village Dump > "Class" on templates
Note: This topic has been unedited for 6457 days. It is considered archived - the discussion is over.


If you edit Template:Zorkheader, you will see that there is the text "class="zorkclass"". You, know, right after the "{|" that starts the template's box off. It seems that it is what modifies the text colors, the bullet style and the background colour. How do these "classes" come about? How are they made? I'll assume they're added by admins. More importantly, is there a list of them?

Here is the template with "zorkclass":

{|class="zorkclass" width="100%" border="0" cellpadding="0" cellspacing="0" style="clear: both; border: solid 0px #000000; padding: 1px"
|-
|width="75%" bgcolor="#CCCCCC"|<span style="color:#000000;font-weight: bold;"> {{{1}}}</span>
|width="12%" bgcolor="#CCCCCC"|<span style="color:#000000;">Score: {{{2}}}</span>
|width="13%" bgcolor="#CCCCCC"|<span style="color:#000000;">Moves: {{{3}}}</span>
|-
|height="415" colspan="3" bordercolor="#F0F0F0" valign=top|
This is an ordinary sentence. [[Game:Zork|This is a test link.]]
*[[Game:Zork|Bulleted link test (Click here to play the actual game)]]
*This isn't a link, and is just an ordinary bulleted sentence.
|}
 {{{1}}} Score: {{{2}}} Moves: {{{3}}}

This is an ordinary sentence. This is a test link.

Here is the template without "zorkclass":

{|class="" width="100%" border="0" cellpadding="0" cellspacing="0" style="clear: both; border: solid 0px #000000; padding: 1px"
|-
|width="75%" bgcolor="#CCCCCC"|<span style="color:#000000;font-weight: bold;"> {{{1}}}</span>
|width="12%" bgcolor="#CCCCCC"|<span style="color:#000000;">Score: {{{2}}}</span>
|width="13%" bgcolor="#CCCCCC"|<span style="color:#000000;">Moves: {{{3}}}</span>
|-
|height="415" colspan="3" bordercolor="#F0F0F0" valign=top|
This is an ordinary sentence. [[Game:Zork|This is a test link.]]
*[[Game:Zork|Bulleted link test (Click here to play the actual game)]]
*This isn't a link, and is just an ordinary bulleted sentence.
|}
 {{{1}}} Score: {{{2}}} Moves: {{{3}}}

This is an ordinary sentence. This is a test link.

Thanks,

Another Pongo Flame Sandbox 14:51, 17 April 2007 (UTC)

Yeah, they're added by loser admins to this page. But, I don't know how they work myself. Well, I assume that first one below "For Zork related pages." is the background colour, then link colour, link visited color, link hover color, new link color.. pass on the next one, seems to be what the bullet points look like. I think it's a case of adding something like that to the list. Funny you should ask about this actually, cause I was wondering about it yesterday while trying to make something similar. I'm sure if I can summon Spang then he'd probably be able to do something, or give reason why he can't at least. —Braydie 16:46, 17 April 2007 (UTC)
/me pictures Braydie summoning Spang, presumably with some kind of weird occult spell or something. --Strange.PNG (but) Untrue  Whhhy?Whut?How? *Back from the dead* 18:27, 17 April 2007 (UTC)

It's called CSS. It's magic. Spang talk 04:30, 18 Apr 2007