Template:Spell table row: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
m (Fix SMW syntax)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tr {{#ifeq:{{{?secret|0}}}|true|style="background: #fee"}}>
<includeonly><tr {{#ifeq:{{{secret|false}}}|true|style="background: #fee"}}>
{{#if:{{{?level|}}}|<td>{{#ifeq:{{{?level}}}|0|Special|{{{?level}}}}}</td>}}
{{#if:{{{level|}}}|<td>{{#ifeq:{{{level}}}|0|Special|{{{level}}}}}</td>}}
<td>[[{{{?name}}}]]</td>
<td>[[{{{name}}}]]</td>
<td>{{Runes|{{{?runes}}}|names=1|meanings={{#if:{{{userparam|}}}|0|1}}|size={{#if:{{{userparam|}}}|16|32}}}}</td>
<td>{{Runes|{{{runes}}}|#userparam={{{#userparam|}}}}}</td>
</tr></includeonly>
</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.