Template:Ouro content: Difference between revisions
Jump to navigation
Jump to search
Thunderforce (talk | contribs) No edit summary |
m (whitespace tweak) |
||
(25 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>To <!-- | <includeonly>To <!-- | ||
-->{{#switch: {{lc:{{{type|}}}}} | -->{{#switch: {{lc:{{{type|}}}}} | ||
| b | |||
| badge = get this badge | | badge = get this badge | ||
| m | |||
| mission = play this mission | | mission = play this mission | ||
| a | |||
| arc = play this arc | | arc = play this arc | ||
| #default = play this content | | #default = play this content | ||
Line 10: | Line 13: | ||
| v = villain | | v = villain | ||
| hv = hero or villain | | hv = hero or villain | ||
}} can select the | | #default = character | ||
{{#if:{{{name| | }} 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><noinclude>{{Documentation}}</noinclude> | |||
}} | |||
{{#if:{{{num| | |||
}} | |||
{{#if:{{{level|}}}}| | |||
}}. | |||
</includeonly> |
Latest revision as of 18:36, 21 September 2024
[edit] [ ] 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 = }}