Difference between revisions of "Template:Infobox/List Skillvals/query template"
From Salem Wiki
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>[[: | + | | {{#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> | + | --></onlyinclude><noinclude>{{documentation}}</noinclude> |
Latest revision as of 14:14, 5 August 2012
Provided skill proficiency: | ||
---|---|---|
|
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:
- Manual:Collapsible elements
- Help:Selecting pages
- Help:Displaying information
- Help:Template format.
- Help:Inline queries to see how an inline query can use this to format the display of query results.
- Extension:FormatNum
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'
Visit Template:Infobox/List Skillvals/query template/doc to edit this text! (How does this work?)