Template:Spell table row: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Fix SMW syntax) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<tr {{#ifeq:{{{ | <includeonly><tr {{#ifeq:{{{secret|false}}}|true|style="background: #fee"}}> | ||
{{#if:{{{ | {{#if:{{{level|}}}|<td>{{#ifeq:{{{level}}}|0|Special|{{{level}}}}}</td>}} | ||
<td>[[{{{ | <td>[[{{{name}}}]]</td> | ||
<td>{{Runes|{{{ | <td>{{Runes|{{{runes}}}|#userparam={{{#userparam|}}}}}</td> | ||
</tr> | </tr></includeonly><noinclude> | ||
A row in a table of spells | |||
Parameters | |||
* secret: Is this a secret spell (default: false) - produces no column | |||
* level: The spell level (optional) | |||
* name: The spell name | |||
* runes: The spell's runes | |||
* #userparam: Passed to [[Template:Runes] | |||
this is meant to be used with Semantic MediaWiki queries with template format. |
Latest revision as of 11:24, 27 October 2019
A row in a table of spells
Parameters
- secret: Is this a secret spell (default: false) - produces no column
- level: The spell level (optional)
- name: The spell name
- runes: The spell's runes
- #userparam: Passed to [[Template:Runes]
this is meant to be used with Semantic MediaWiki queries with template format.