Difference between revisions of "Template:Infobox/List Skillvals/query template"

From Salem Wiki
Jump to: navigation, search
m (toggle for collapsed)
m (preparation for Techs move)
Line 6: Line 6:
 
--><tr class="IBheader"><!--
 
--><tr class="IBheader"><!--
 
--><th><!--
 
--><th><!--
--><span>{{#ifeq:
+
Remove the 'Learning' condition line when move is completed
Learning
+
--><span>{{#if:{{#ask: [[Category:Technologies]] [[{{{?|{{FULLPAGENAME}} }}}]]
| {{#show: {{{?|{{FULLPAGENAME}} }}}
+
OR [[Category:Learning]] [[{{{?|{{FULLPAGENAME}} }}}]]
|?IsinGameMenu
+
|link=none}}
|link=none
 
}}
 
 
| Required
 
| Required
 
| Provided
 
| Provided

Revision as of 11:31, 18 July 2012

Provided skill proficiency:
Nameval


Template documentation (for the template shown above, sometimes hidden or invisible)

Description

This template is used to format the output-results of the SMW-Query used in {{Infobox/List Skillvals}}.
See these pages for more documentation:

Syntax

It accepts 2 named parameters to control the collapsed state.

  • userparam
    If assigned anything other than 'no', it will be collapsed by default.
  • collapsed
    This parameter will only be checked if userparam has an empty value.
    If assigned anything other than 'no', it will be collapsed by default.
    It defaults to 'no'