How do I edit the templates?


  • Please log in to reply
2 replies to this topic

#1 admo

admo

    Squaddie

  • Members
  • Pip
  • 1 posts

Posted 28 January 2017 - 06:50 PM

I'm not sure where to find all the templates for skills, I see things are being overhauled and I don't want to mess with that but suppression and run and gun are swapped.

#2 NKF

NKF

    Mr. Badger in disguise

  • Site Staff
  • PipPipPipPipPip
  • 4,444 posts
  • Gender:Male
  • Location:In my mind

Posted 29 January 2017 - 05:45 AM

Short of doing a search for all pages and filtering them by the template namespace, or typing in the URL in directly, I think the easiest way to get to the template is to edit the page that the template is being used on. Then have a look underneath the buttons for saving or previewing the page. There should be a list of templates used on the page that you can expand and then go to the template you want to edit.

- NKF.
NKF - finally built a gaming PC in 2020 (though not any of that RGB nonsense). Can now play games up to '89!

#3 Tvol

Tvol

    Squaddie

  • Members
  • Pip
  • 2 posts

Posted 08 February 2017 - 11:05 PM

Just for the benefit of anyone else reading: The perk/ability templates are made-up of two templates. The base template ( Ability (LW2) ) and the individual perk templates. The latter provide the data for each perk so it's in one spot, the former is what actually handles everything.

All perks for XCOM 2 or LW2 are categorized under Perks (XCOM 2) and Perks (LW2), respectively. (Or at least they would be; XCOM 2 perks are not using any templates. That whole section could use an overhaul.)

I've stopped overhauling things for the time being. Without access to the site CSS, managing all the style tags for everything was quickly getting out-of-hand.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users