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

From Salem Wiki
Jump to: navigation, search
m (typo)
m (Somehow using concept doesn't work here)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude><!--
 
<onlyinclude><!--
--><table class="Infobox mw-collapsible" style="float:none;"><!--
+
--><table class="Infobox mw-collapsible {{#if: {{{userparam|}}}
 +
| {{#ifeq: {{{userparam|}}} | no | | mw-collapsed}}
 +
| {{#ifeq: {{{collapsed|no}}} | no | | mw-collapsed}}
 +
}}" style="float:none;"><!--
 
--><tr class="IBheader"><!--
 
--><tr class="IBheader"><!--
 
--><th><!--
 
--><th><!--
--><span>{{#ifeq:
+
--><span>{{#if:{{#ask: [[IsinGameMenu::Technologies]] [[{{{?|{{FULLPAGENAME}} }}}]] |link=none}}
Learning
 
| {{#show: {{{?|{{FULLPAGENAME}} }}}
 
|?IsinGameMenu
 
|link=none
 
}}
 
 
| Required
 
| Required
 
| Provided
 
| Provided
}} [[:Category:Skill Values|Skill Values]]:<!--
+
}} [[Skills|skill]] [[Proficiencies|proficiency]]:<!--
 
--></span><!--
 
--></span><!--
 
--></th><!--
 
--></th><!--

Latest revision as of 14:14, 5 August 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'