Difference between revisions of "User:Tvol"

From UFOpaedia
Jump to navigation Jump to search
Line 68: Line 68:
 
* Classes for {{tl|TopBox}} and all it's children.
 
* Classes for {{tl|TopBox}} and all it's children.
  
==Scratch Pad==
+
<span class="ability" id="" style="display: inline-block; padding: 13px 13px 13px 13px;"><!--
 
 
[[File:UIPerk_runandgun.png|link=Assault_(LW2)]]
 
 
 
===Abilities Template===
 
 
 
<span class="ability" id="" style="display: inline-block; {{ #ifexpr: 1 | padding: 13px 13px 13px 13px;|}}"><!--
 
 
--><div class="abilityImageContainer" id="" style="position: relative; display: inline-block;"><!--
 
--><div class="abilityImageContainer" id="" style="position: relative; display: inline-block;"><!--
 
--><div class="abilityImage" id=""><!--
 
--><div class="abilityImage" id=""><!--
          -->[[File:LW_AbilityAggression.png|38px| Aggression {{ #if:  | {{!}} link=  |}}]]<!--
+
-->[[File:LW_AbilityAggression.png|38px| Aggression ]]<!--
 
         --></div><!--
 
         --></div><!--
 
         -->{{ #ifexpr: 1<!--
 
         -->{{ #ifexpr: 1<!--
 
         -->|<div class="abilityInfoIcon" id="" style="position: absolute; height: 18px; width: 18px; left: 30px; top: 26px;"><!--
 
         -->|<div class="abilityInfoIcon" id="" style="position: absolute; height: 18px; width: 18px; left: 30px; top: 26px;"><!--
         -->[[File:XCOM2_infoIcon_custom_1.png|18px|{{ Template:Aggression (LW2)/Info }}]]<!--
+
         -->[[File:XCOM2_infoIcon_custom_1.png|18px|
 +
* Gain +5 critical chance for each enemy you can see, up to a maximum of 30.
 +
* Units visible at squadsight ranges do confer bonus.]]<!--
 
             --></div><!--
 
             --></div><!--
 
         -->|}}<!--
 
         -->|}}<!--
Line 96: Line 92:
 
     -->|}}<!--
 
     -->|}}<!--
 
--></span>
 
--></span>
 
 
{{Ability_(LW2)/Sandbox
 
  | s_image = LW_AbilityAggression.png
 
  | s_caption = Aggression
 
  | s_name = Aggression
 
  | s_descr = Gain +5 critical chance for each enemy you can see, up to a maximum of 30. Does not include enemies in Squadsight range.
 
  | s_templateName = Template:Aggression (LW2)
 
  | s_id = aggression_LW
 
  {{ #if: 1 | {{!}} b_name = 1 |}}
 
  {{ #if:  | {{!}} b_descr = {{{b_descr}}} |}}
 
  {{ #if: 1 | {{!}} b_info = 1 |}}
 
  {{ #if:  | {{!}} b_table = {{{b_table}}} |}}
 
}}
 
 
 
inline{{Ability_(LW2)/Sandbox
 
| s_image = UIPerk_runandgun.png
 
| s_name = Run and Gun
 
| s_caption = Run and Gun
 
| s_link = Assault_(LW2)
 
| s_descr = Take an action after dashing. Three-turn cooldown.
 
| s_pageName =  Bacon!?!
 
}} text
 
 
 
 
{{Ability_(LW2)/Sandbox
 
  | s_image = LW_AbilityAggression.png
 
  | s_caption = Aggression
 
  | s_name = Aggression
 
  | s_descr = Gain +5 critical chance for each enemy you can see, up to a maximum of 30. Does not include enemies in Squadsight range.
 
  | s_pageName = Template:Aggression (LW2)
 
}}
 
 
===Active Tree===
 
 
{{Class Tree (LW2)/Sandbox
 
|Squaddie1=
 
|Squaddie2={{Run and Gun (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|Squaddie3={{Stun (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|Subclass1=Raider
 
|Subclass2=Breacher
 
|LCorporal1={{Slug Shot (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|LCorporal2={{Electroshock (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|LCorporal3={{Lightning Reflexes (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|Corporal1={{Trench Gun (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|Corporal2={{Arc Pulser (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|Corporal3={{Close and Personal (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|Sergeant1={{Killer Instinct (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|Sergeant2={{Stun Gunner (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|Sergeant3={{Fortify (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|StaffSgt1={{Extra Conditioning (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|StaffSgt2={{Aggression (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|StaffSgt3={{Formidable (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|TechSgt1={{Hit and Run (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|TechSgt2={{Rapid Fire (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|TechSgt3={{Close Encounters (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|GunSgt1={{Bring 'Em On (LW2) | b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1 }}
 
|GunSgt2={{Close Combat Specialist (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|GunSgt3={{Untouchable (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|MSgt1={{Street Sweeper (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|MSgt2={{Chain Lightning (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
|MSgt3={{Lethal (LW2) | b_name = 1 | b_descr = 1 | b_info = 0 | b_table = 1 }}
 
}}
 
 
 
=== Table Finagling ===
 
 
{| class="wikitable" style="margin: 1em 0 1em 0; background-color: #17181a; border: 1px #83c0ce solid; border-collapse: collapse; text-align: center; color:#83c0ce; width: 100%; empty-cells: hide;"
 
| style="width: 10%;" | Col1
 
| style="width: 90%;" colspan="12" | Col12
 
|-
 
|- style="vertical-align:middle; font-size:130%;"
 
| | '''Rank'''
 
| style="border-color:#83c0ce; width: 90%;" colspan="12" | '''Ability'''
 
|-
 
| A rank
 
|width="22.5%" colspan="3"| Col3
 
|width="22.5%" colspan="3"| Col3
 
|width="22.5%" colspan="3"| Col3
 
|width="22.5%" colspan="3"| Col3
 
|- vertical-align="middle"
 
| style="border-width: 0 2px 0 0; border-color:#83c0ce;" |
 
| style="border:none; background-color:black; width: 30%;" colspan="4" | '''''{{{Subclass1}}}'''''
 
| style="border:none; background-color:black; width: 30%;" colspan="4" |
 
| style="border:none; background-color:black; width: 30%;" colspan="4" | '''''{{{Subclass2}}}'''''
 
|-
 
| Another rank
 
|width="30%" colspan="4"| Col4
 
|width="30%" colspan="4"| Col4
 
|width="30%" colspan="4"| Col4
 
|-
 
| style="width: 10%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
| style="width: 7.5%; border: none;"  |
 
|}
 

Revision as of 02:44, 5 February 2017

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).

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.
Aggression
* Gain +5 critical chance for each enemy you can see, up to a maximum of 30. * Units visible at squadsight ranges do confer bonus.
Aggression
Gain +5 critical chance for each enemy you can see, up to a maximum of 30. Does not include enemies in Squadsight range.