Template:Ouro content: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
(aaargh i do not understand whitespace in templates)
m (whitespace tweak)
 
(4 intermediate revisions by one other user not shown)
Line 14: Line 14:
   | hv = hero or villain
   | hv = hero or villain
   | #default = character
   | #default = character
}} can select the {{#if:{{{name|}}}| "{{{name}}}"}} arc {{#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:{{{level|}}}| {{#ifeq: 50 | {{{level}}} | at level 50 | in the {{{level}}} level range}}}}. {{#if:{{{add|}}}| {{{add}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{#if:{{{add|}}}| {{{add}}}}}</includeonly>
<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 = }}