User:Tvol

From UFOpaedia
Revision as of 21:28, 6 February 2017 by Tvol (talk | contribs) (→‎Scratch Pad)
Jump to navigation Jump to search

Contacting Me

I'm hanging-out on the XCOM discord server if you want to chat directly or over voice (dependent on availability and what I'm doing at the time).


Useful Things

Regex pair to convert line breaks to HTML comments: \n(\s*)(.) >> <!--\n$1-->$2 And back: <!--\n(\s*)--> >> \n$1

Colours guide (for my own personal sanity and possibly yours; this should be formalized in CSS and not on a random page).

Mockup from @Mavoc via Discord for the Ability template.

TODO

Templates

This is my todo list for templates. If you want to help me by doing any of this below, go for it. I won't mind. Really. Really I won't.

Roughly in order of priority.

To Create

  • {{Disambiguation}} : Disambiguation page.
  • {{Stub}} : Article stubs.
  • {{Sandbox}} : Mark sandboxes as such.
  • {{Candidate for deletion}} and {{Delete}} : Mark pages for deletion.
  • {{Subpage Handler}} : Check for various subpages and display links if they exist, e.g. /Info , /Sandbox. Also allow for manual addition of at least three subpages. (A line of inline-blocks in a div should work well.)
  • Templates that can be used to dynamically construct weapons with their appropriate mods. (That'll be a joy I'm sure. Overlaying one image on another is hard enough. It may not even be possible to do via HTML. Composited images and a stupid-huge switch function may be required. This is very low priority.)

To Edit

Stat Progression (LW2)
Ability (LW2)
  • {{Ability_(LW2)}}
  • Support inline use by inserting the name in front.
  • CSS Required : Display div with info text and invert colour of info icon when info icon is hovered over.
Documentation

Create documentation for:

Images

  • Upload Folders: Alerts, Corpses, DarkEvents, Equipment, Events, Facilities, Icons, POIs, Schematics, Research, Weapons.
  • Compose Todo and Shortcut icons and upload.

CSS

Anything here will require access to the site's CSS to do.

  • Fix {{related}} link colours.
  • {{Ability (LW2)}} : Display div with info text and invert colour of info icon when info icon is hovered over.

Classes to Create

  • CSS Strongly Recommended {{Style}} : Style templates for XCOM table and XCOMPsi table. Do so for rows as well. Do so for anything I touch in future. This is the entirely wrong way to do this. It should be handled by CSS classes, but since I don't have access to the CSS here will have to make do. These tables will not be portable between skins because of this (though no less so than the current versions). This could be handled by one switch function. And it's still a very bad idea because it will start to significantly effect server load if called constantly (which it will be because table styles have to be set for every cell when CSS is unavailable).
  • xcom2table : like wikitable but formatted with reasonable defaults for XCOM 2.
  • All classes in {{Ability (LW2)}}.
  • Classes for {{TopBox}} and all it's children.