Foreword

Welcome to the fan-made Live A Hero Wiki! Basically all the contributors (which are like 2~3 people so far) discuss issues in #lah-wiki channel of LAH Discord (Herocord). Feel free to report bugs there.

Create account for wiki edit

For all potential wiki contributors, you need to sign up for a free Github account, which is the website where this wiki is hosted.

Edit a page

Every page should have a “View source” link on top. It will lead you to the edit page in Github. If you don’t have a Github account, you will be prompted to make one.

After that, if you are a new contributor, you may be asked to “fork” the repository, just agree with it. What this means is you will be editing a copied version of the Wiki before it goes through our review process.

You will now see a simple editing interface. Most pages are written in Markdown syntax. Please see our Writing Guide.

Once you are done, you can click “Propose changes” and follow the instructions to create a “Pull Request”. A Wiki collaborator will review your change and accept it.

For existing Wiki collaborator, you can just choose “Commit directly to the master branch” and click “Commit changes” to skip the review process.

Please feel free to fix typos and phrasings.

Keep in mind that vandalism is reversible, but the punitive measures you’ll face for committing this is not.

When editing articles, please try to write objectively and formally about the topics at hand while using proper English. Avoid writing in the first person, casual figures of speech, spelling and grammatical errors, et cetera unless appropriate for the situation. Information should be accurately and concisely conveyed, and article contributions should reflect this goal.

Instructions on specific tasks

Translate voice line

Take Ryekie for example source code

  1. To translate the “relation” line, add RELATION = "<translation>"
    • New line should be written as <br>
{% include voice-table.html resourceName="exio"
...
RELATION = "hello world"
...
%}
Field names Notes
h_gachaResult, s_gachaResult Gacha summon lines
APPRECIATION, DAILY, EVENTA, EVENTB, EVENTC, EVENTD, HERO, HERO2, PLAYER, PLAYER2, RELATION, TOUCH, TOUCH2, TRAIN, TRAINED Only some characters may have EVENTC, EVENTD, HERO2 and PLAYER2
battleStart, action, attack, skill, skillA, skillB, special, smallDamage, bigDamage, win, lose, assist, assisted, loveIndexMax, rankMax, salesStart, salesEnd If a hero character has more than one voice line for their own skill, use skillA and skillB

Check syntax error for voice-table.html

  1. Go to regex101 website
  2. Paste the following code to the “Regular Expression” field
  3. Paste your voice-table.html inner syntax into “Test string” field
  4. Check that every line in “Test string” should be fully highlighted, otherwise there is syntax error to be fixed
([\w-]+)\s*=\s*(?:"([^"\\]*(?:\\.[^"\\]*)*)"|'([^'\\]*(?:\\.[^'\\]*)*)'|([\w.-]+))