Template:Spell table row: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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}}}|userparam={{{userparam|}}}}}}}</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.

Revision as of 22:35, 17 November 2012


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.