Template:Spell table row: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
m (Fix SMW syntax)
Line 2: Line 2:
{{#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}}}|userparam={{{userparam|}}}}}</td>
<td>{{Runes|{{{?runes}}}|#userparam={{{#userparam|}}}}}</td>
</tr></includeonly><noinclude>
</tr></includeonly><noinclude>



Revision as of 11:18, 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.