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

From Salem Wiki
Jump to: navigation, search
m (Changed styling to use the custom stylesheet file's rules.)
m (Somehow using concept doesn't work here)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<onlyinclude><!--
 
<onlyinclude><!--
--><table class="Infobox mw-collapsible"><!--
+
--><table class="Infobox mw-collapsible {{#if: {{{userparam|}}}
--><tr class="IBheader"><th>[[:Category:Skill Values|Skill Values]]</th></tr><!--
+
| {{#ifeq: {{{userparam|}}} | no | | mw-collapsed}}
 +
| {{#ifeq: {{{collapsed|no}}} | no | | mw-collapsed}}
 +
}}" style="float:none;"><!--
 +
--><tr class="IBheader"><!--
 +
--><th><!--
 +
--><span>{{#if:{{#ask: [[IsinGameMenu::Technologies]] [[{{{?|{{FULLPAGENAME}} }}}]] |link=none}}
 +
| Required
 +
| Provided
 +
}} [[Skills|skill]] [[Proficiencies|proficiency]]:<!--
 +
--></span><!--
 +
--></th><!--
 +
--></tr><!--
 
*** INFO ***
 
*** INFO ***
 
--><tr class="IBinfo"><td class="IBboth"><!--
 
--><tr class="IBinfo"><td class="IBboth"><!--
Line 120: Line 131:
 
--></td></tr><!--
 
--></td></tr><!--
 
--></table><!--
 
--></table><!--
--></onlyinclude><noinclude>{{-}}{{documentation}}</noinclude>
+
--></onlyinclude><noinclude>{{documentation}}</noinclude>

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'