Difference between revisions of "Template:Infobox/List Skillvals/query template"
From Salem Wiki
m (Adding code) |
m (changed visual for collapsing) |
||
Line 1: | Line 1: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
− | + | --><table class="wikitable mw-collapsible" width="auto"><!-- | |
− | --><table class="wikitable mw-collapsible"><!-- | + | --><tr><th>[[:Category:Skill Values|Skill Values]]</th></tr><!-- |
− | --><tr | + | *** INFO *** |
− | + | --><tr><td style="padding:0 0 0 0;"><!-- | |
− | + | --><table class="wikitable sortable" style="width:100%; margin:0 0 0 0;"><!-- | |
− | + | *** HEADER *** | |
− | + | --><tr><!-- | |
− | --><tr style=" | + | --><th width="80%">Name</th><!-- |
− | -->< | + | --><th width="20%">val</th><!-- |
− | + | --></tr><!-- | |
− | + | *** ROWS *** | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | --><tr style="text-align:right;"><!-- | + | -->[[Arts & Crafts]] {{PropVals/getIcon|Arts & Crafts}}<!-- |
− | + | --></td><!-- | |
− | + | --><td>{{{?Arts|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Cloak & Dagger]] {{PropVals/getIcon|Cloak & Dagger}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Cloak|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Faith & Wisdom]] {{PropVals/getIcon|Faith & Wisdom}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Faith|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Frontier & Wilderness]] {{PropVals/getIcon|Frontier & Wilderness}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Frontier|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Hammer & Nail]] {{PropVals/getIcon|Hammer & Nail}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Hammer|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Hunting & Gathering]] {{PropVals/getIcon|Hunting & Gathering}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Hunting|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Law & Lore]] {{PropVals/getIcon|Law & Lore}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Law|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Mines & Mountains]] {{PropVals/getIcon|Mines & Mountains}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Mines|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Pots & Pans]] {{PropVals/getIcon|Pots & Pans}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Pots|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Sparks & Embers]] {{PropVals/getIcon|Sparks & Embers}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Sparks|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Stocks & Cultivars]] {{PropVals/getIcon|Stocks & Cultivars}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Stocks|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Sugar & Spice]] {{PropVals/getIcon|Sugar & Spice}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Sugar|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Thread & Needle]] {{PropVals/getIcon|Thread & Needle}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Thread|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
− | + | -->[[Natural Philosophy]] {{PropVals/getIcon|Natural Philosophy}}<!-- | |
− | + | --></td><!-- | |
− | + | --><td>{{{?Natural|0}}}</td><!-- | |
− | + | --></tr><!-- | |
− | + | --><tr style="text-align:right;"><!-- | |
− | + | --><td><!-- | |
+ | -->[[Perennial Philosophy]] {{PropVals/getIcon|Perennial Philosophy}}<!-- | ||
+ | --></td><!-- | ||
+ | --><td>{{{?Perennial|0}}}</td><!-- | ||
+ | --></tr><!-- | ||
+ | --></table><!-- | ||
+ | --></td></tr><!-- | ||
--></table><!-- | --></table><!-- | ||
--></onlyinclude><noinclude>{{documentation}}</noinclude> | --></onlyinclude><noinclude>{{documentation}}</noinclude> |
Revision as of 22:05, 8 July 2012
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?)