Skip to content
This repository was archived by the owner on Jun 6, 2021. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 1.49 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.49 KB

GW2 Scratch Tips & Tricks

A collection of Guild Wars 2 tips and tricks.

http://gw2scratch.com/tips/

Contributing

Any kind of contribution is very much welcome. Feel free to create an issue if you find an inaccuracy, a typo or even if you think of something that should be included. Pull requests are also welcome.

The text of the tips is located in the tips.html file.

The tip template

The tips.html file uses a very simple template system. To generate the actual html file, run the convert script:

./convert.py tips.html output.html

The system implemented by simple regex replace in convert.py. Do not expect it to do anything intelligent. Only things in parantheses are taken out and placed into the current tip template, they may be multiline, use any html tag. Do not swap usefulness and importance, do not add extra attributes, all of these changes would make the tip get silently ignored.

<scr-tip usefulness="(5)" importance="(5)">
  <tip-title>(Tip Title)</tip-title>
  <tip-desc>(Detailed Description)</tip-desc>
</scr-tip>

The contribute template

Empty sections contain contribute template which is also replaced in convert.py. If adding something to a section with this template, remove it.

<scr-contribute>

HTML + CSS

The webpage uses the Bulma CSS framework.

Images

The images/ folder contains screenshots from Guild Wars 2 relevant to the tips.