Template:Ouro content: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
m (whitespace tweak)
 
Line 15: Line 15:
   | #default = character
   | #default = character
}} can select the {{#if:{{{name|}}}| "{{{name}}}"}} entry {{#if:{{{num|}}}| with number {{{num}}}}}
}} can select the {{#if:{{{name|}}}| "{{{name}}}"}} entry {{#if:{{{num|}}}| with number {{{num}}}}}
{{#if:{{{level|}}}| {{#ifeq: 50 | {{{level}}} | at level 50 | in the {{{level}}} level range}}}}. {{#if:{{{add|}}}| {{{add}}}}}</includeonly>
{{#if:{{{level|}}}| {{#ifeq: 50 | {{{level}}} | at level 50 | in the {{{level}}} level range}}}}. {{#if:{{{add|}}}| {{{add}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:36, 21 September 2024

[edit] [purge] Documentation

Usage

This template is used to give brief information about content's availability in Ouro.

Parameters

type
Indicates what kind of content it is. Legal values:
  • badge (or 'b'): "get this badge"
  • mission (or 'm'): "play this mission"
  • arc (or 'a'): "play this arc"
  • default is "play this content"
align
Indicates which "alignment" the content is for. Legal values:
  • h: hero
  • v: villain
  • hv: hero and villain
  • default is "character"
name
The name of the arc (eg name = Can has cheeseburger). The template functions if this is omitted.
num
The number of the arc (eg num = 6.25). The template functions if this is omitted. If you don't have "name" or "num" you're probably doing something wrong.
level
The level range (eg level=5-10). The template functions if this is omitted, but with whitespace before the trailing full stop, sorry.
add
Any additional information (eg add = The badge is got in the fourth mission.).

Empty template

{{ouro content | type =  | align =  | name =  | num =  | level = }}