Editing
User talk:Kaneco
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Styling == Hey. I've created this [[User:Atlas/Template:Map locations|proof-of-concept template]] today, but to implement it the way I really want to, I'd need some complex styling. Seeing that <code><style></code> tags inside mediawiki pages do not parse, and pseudo-selectors don't work in inline CSS, I'd need to add some lines to the master CSS file. Speaking of that, there is a ''lot'' of inline CSS in our template. Which is fine, but inline styling irks me to no end. So again, adding styles to that master CSS would clean up a lot of our code. I'm not asking for any kind of access whatsoever, but it'd be good if I could make some adjustments myself. Doing it by proxy is acceptable, but some work is simply trial-and-error, and doing that by proxy would take a lot of time. I haven't figured out a good way myself yet, but if you have an idea, let me know. β[[User:Atlas|Atlas]] ([[User talk:Atlas|talk]]) 11:44, 30 July 2013 (WEST) :FTP access should be enough, yes. Thanks a lot. And yeah, the way I thought about it, when you hover over the dots (later to be markers) the name of the area will pop up. β[[User:Atlas|Atlas]] ([[User talk:Atlas|talk]]) 15:45, 30 July 2013 (WEST) :Actually... FTP access won't be necessary. I'm dumb and didn't do my research, there's a page on the wiki that carries all custom CSS across all skins. Which is perfect for my uses. (I might need sysop permissions though. More detail [http://www.mediawiki.org/wiki/Thread:Project:Forum/Common.css_~_Where_is_it%3F here]. If you don't want to give me sysop, you can just do [http://stackoverflow.com/questions/161747/how-to-allow-mediawiki-logged-user-to-edit-common-css this]) β[[User:Atlas|Atlas]] ([[User talk:Atlas|talk]]) 15:47, 30 July 2013 (WEST) ::For some reason, that page works now, and it didn't before - I couldn't edit it. That's weird, but good. I don't think I'll need FTP access. β[[User:Atlas|Atlas]] ([[User talk:Atlas|talk]]) 09:36, 31 July 2013 (WEST) ::By the way, the template is now fully functional. Have a look at it and let me know what do you think. β[[User:Atlas|Atlas]] ([[User talk:Atlas|talk]]) 11:19, 31 July 2013 (WEST) :::I'll address all the points one by one: :::* I can make it work outside of the table, I can also make it uncollapsed by default/make a parameter that determines if it should be collapsed or uncollapsed. The only thing is, I think it takes too much space, so I think it should be collapsed by default. :::* The image needs to be fixed-width (I'll specify why further). At the moment it's 800px wide. I can make the table 800px wide too if needed. :::* All spots are parameter-based. You do not need any specific privileges. As of now, there's up to 15 locations supported. All you need to do to get a location is: 1) get a map image and upload it to the wiki, 2) set its width to 800px, 3) set up the [[:File:Map marker.png|markers]] in an image editing program (Photoshop) in the places you need, 4) get the X/Y pixel coordinates for the top right corner of every marker. The X/Y coordinates require the image to be of static size, not percentage-based, because if you change the image size, you change the coordinates. And making the coordinates upscale depending on resolution would ''probably'' be possible, but is overkill in my opinion. :::It's a work-in-progress, so the format is pretty much up for discussion now, and I'm willing to make changes. β[[User:Atlas|Atlas]] ([[User talk:Atlas|talk]]) 13:15, 31 July 2013 (WEST)
Summary:
Please note that all contributions to comp.tf may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
comp.tf:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
User page
Discussion
English
Views
Read
Edit source
Add topic
View history
More
Refresh
Search
Navigation
Main page
Recent changes
Random page
Help the Wiki!
Info for editors
Editing guidelines
Top contributors
Administration team
comp.tf
Discord
Steam Group
Youtube Channel
Twitter
Competitive TF2
teamfortress.tv
r/truetf2
EssentialsTF
ETF2L
RGL
ozfortress
AsiaFortress
UGC League
Tools
What links here
Related changes
User contributions
Logs
View user groups
Special pages
Page information