Difference between revisions of "User talk:Ath"

From Team Fortress Wiki
Jump to: navigation, search
(Kill notice crit)
Line 9: Line 9:
 
::You did it wrong, {{code|crit}} means the style is applied to {{code|<crit>}} tags which don't exist. {{code|.crit}} means anything using the ''class'' "crit". [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 21:08, 16 September 2010 (UTC)
 
::You did it wrong, {{code|crit}} means the style is applied to {{code|<crit>}} tags which don't exist. {{code|.crit}} means anything using the ''class'' "crit". [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 21:08, 16 September 2010 (UTC)
 
:::I did? Whoops. Thought I did .crit. {{n}}[[User:Smashman|<span class="bur">Smashman</span>]]<sub>&nbsp;([[User_talk:Smashman|talk]])</sub> {{bur}} 21:12, 16 September 2010 (UTC)
 
:::I did? Whoops. Thought I did .crit. {{n}}[[User:Smashman|<span class="bur">Smashman</span>]]<sub>&nbsp;([[User_talk:Smashman|talk]])</sub> {{bur}} 21:12, 16 September 2010 (UTC)
 +
:::: I've done a little research and the problem behind background-image/etc not working is the result of a "HTML Attribute sanitization" feature; If overridden it should work as intended, but doing so could possibly introduce security issues. Solutions to my mind could be protecting the template from non-authorised editing and setting an exclusion on it, or adding a rule to the Wiki's master stylesheet with the relevant CSS and assigning the killicon-containing span the relevant ID, this would be very hacky though. Probably better to go with my original idea as outline on the template's talk page. [[User:Ath|Ath]] 21:21, 16 September 2010 (UTC)

Revision as of 21:21, 16 September 2010

Version 2.2b

Didn't it add the cool Wiki linking too? :D  – Smashman (talk) 18:26, 8 September 2010 (UTC)

Oops! I'll add that now. Ath 18:28, 8 September 2010 (UTC)

Kill notice crit

Hey, I'm not sure the MediaWiki software allows background images to be defined like that, however, if you add a class to the div I can edit the main CSS page and define it with the background there. seb26 [talk] 20:56, 16 September 2010 (UTC)

That doesn't work either Seb. I tried that.  – Smashman (talk) 21:02, 16 September 2010 (UTC)
You did it wrong, crit means the style is applied to <crit> tags which don't exist. .crit means anything using the class "crit". seb26 [talk] 21:08, 16 September 2010 (UTC)
I did? Whoops. Thought I did .crit.  – Smashman (talk) 21:12, 16 September 2010 (UTC)
I've done a little research and the problem behind background-image/etc not working is the result of a "HTML Attribute sanitization" feature; If overridden it should work as intended, but doing so could possibly introduce security issues. Solutions to my mind could be protecting the template from non-authorised editing and setting an exclusion on it, or adding a rule to the Wiki's master stylesheet with the relevant CSS and assigning the killicon-containing span the relevant ID, this would be very hacky though. Probably better to go with my original idea as outline on the template's talk page. Ath 21:21, 16 September 2010 (UTC)