Eldarya Wiki
Advertisement
Eldarya Wiki


What are the LOM templates?

The LOM templates were created with the intention of making the Love'o'Meter section of the episode guides easier on our editor's eyes. People who are new to HTML and/or Wikitext will be able to add answers without too much trouble either.

How does it work?

There are five templates that you work with. {{LOM}} is the main one and forms the backbone. {{red}}, {{blue}}, {{green}}, and {{twocolors}} are additional templates that automatically add color and formatting to the answers.

Coding
{{LOM
| line = I found this on the ground, is this yours?
| anA = {{red|A. I've been looking everywhere for that! Did you steal it?}}
| anB = {{blue|B. It is. Why do you ask?}}
| anC = {{twocolors|greenred=yes|C. Yes, thank you for bringing it to me!|with Randy}}
}}
Result

I found this on the ground, is this yours?

  • A. I've been looking everywhere for that! Did you steal it? -
  • B. It is. Why do you ask? =
  • C. Yes, thank you for bringing it to me! + (- with Randy)


What if Guardian starts the conversation?

In these cases, all you need to do is replace the "line" parameter with the "can" parameter and make sure to flag it as positive.

Code
{{LOM
| can = yes
| anA = A. (Since there was nothing to do, I walked around for awhile.)
| anB = B. (I think I'll visit Kyle.)
| anC = C. (*sigh* I'm so bored...)
}}
Outcome

  • A. (Since there was nothing to do, I walked around for awhile.)
  • B. (I think I'll visit Kyle.)
  • C. (*sigh* I'm so bored...)


What if there are two outcomes?

Sometimes, one answer can affect the affinity of two characters: the one you're talking to and one other character. In these cases, you'll need to use the "twocolors" template. This template has eight different combinations and replaces the "green", "red", and "blue" templates.

Code
{{LOM
| line = I wonder what it's like out there...
| anA = {{twocolors|greenblue=yes|A. Probably dull.|or}}
| anB = {{Twocolors|redgreen=yes|B. Oh, I've been there before. It's quite fun!|with Eli}}
| anC = {{Twocolors|bluegreen=yes|C. I wouldn't know... Strange, perhaps?|with Duncan}}
}}
Outcome

I wonder what it's like out there...

  • A. Probably dull. + (= or)
  • B. Oh, I've been there before. It's quite fun! - (+ with Eli)
  • C. I wouldn't know... Strange, perhaps? = (+ with Duncan)


What's the catch?

If you use the Classic editor, you won't be able to access visual mode. This is because using a template within a template is considered complex code. Whenever there's complex code, rich text editing is disabled, meaning the only way to edit a page is through source mode. Thankfully, the Visual editor doesn't have this problem.

Is there anything else?

That about covers the basics. You can find a collection of templates related to the main one here. Each template has a documentation page that gives you the syntax for that template, some examples to show you what it looks like, as well as links to complimentary templates.

Questions/Comments?

If you have any questions about the L'o'M template or would like to report a problem, don't hesitate to leave them on this blog post or over on my message wall.

Advertisement