Template:Spell table row: Difference between revisions

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


Line 8: Line 8:


Parameters
Parameters
* ?secret: Is this a secret spell (default: false) - produces no column
* secret: Is this a secret spell (default: false) - produces no column
* ?level: The spell level (optional)
* level: The spell level (optional)
* ?name: The spell name
* name: The spell name
* ?runes: The spell's runes
* runes: The spell's runes
* userparam: Passed to [[Template:Runes]
* #userparam: Passed to [[Template:Runes]


this is meant to be used with Semantic MediaWiki queries with template format.
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.