Template:Furniture by Category Table: Difference between revisions
m forgot that sets also don't make sense lol .-. |
oops don't need debug anymore |
||
| (28 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#dpl: | <includeonly>{{#dpl: | ||
|namespace = | |namespace = | ||
|category | |category = Furniture by Quality and ID<&>{{{1}}} | ||
|uses | |category = {{{2}}} | ||
| | |notcategory = Removed | ||
| | |uses = Template:Furniture Infobox | ||
|resultsheader = There are %PAGES% [[furniture]] matching the selected category: | |||
|noresultsheader = No [[furniture]] match the selected category. | |||
|format = ,,, | |||
}}{{#ifeq:{{#dpl: | |||
|namespace = | |||
|category = Furniture by Quality and ID<&>{{{1}}} | |||
|category = {{{2}}} | |||
|notcategory = Removed | |||
|uses = Template:Furniture Infobox | |||
|resultsheader = %PAGES% | |||
|noresultsheader = 0 | |||
|format = ,,, | |||
}}|0||<!-- | |||
-->{{#tag:table-progress-tracking| | |||
{{{!}} class="wikitable sortable tdc1 tdc2 tdc3" | |||
!Icon | |||
!Name | |||
{{#if:{{{notype|}}}||<th>Type</th>}} | |||
{{#if:{{{noset|}}}||<th>Set</th>}} | |||
!Size | |||
!Color | |||
!Material | |||
!Source | |||
{{!}}- | |||
{{#dpl: | |||
|namespace = | |||
|category = Furniture by Quality and ID<&>{{{1}}} | |||
|category = {{{2}}} | |||
|notcategory = Removed | |||
|uses = Template:Furniture Infobox | |||
|include = {Furniture Infobox}:%PAGE%:%PAGE%{{#if:{{{notype|}}}||:type}}{{#if:{{{noset|}}}||:set}}:size:color:material:source | |||
|table = ,- | |||
|tablerow = data-row-id="%PAGEID%"¦²{Card¦mini=1¦%%}²<!-- | |||
-->,[[%%]]<!-- | |||
-->{{#if:{{{notype|}}}||,[[%%]]}}<!-- | |||
-->{{#if:{{{noset|}}}||,²{#ifexist:%%¦[[%%]]¦%%}²<!---->}}<!-- | |||
-->,%%<!-- | |||
-->{{#if:{{{nocolor|}}}||,²{Array¦%%¦;¦<ul><li>[[{item}]]</li></ul>¦sort=1}²}}<!-- | |||
-->{{#if:{{{nomaterial|}}}||<!-- | |||
-->,²{Array<!-- | |||
-->¦1 = %%<!-- | |||
-->¦2 = ;<!-- | |||
-->¦3 = <ul><li>^2{Material Link¹{item}¹}^2</li></ul><!-- | |||
-->¦template = 1<!-- | |||
-->¦sort=1<!-- | |||
-->}²<!-- | |||
-->}}<!-- | |||
-->,<ul>²{Array¦%%¦;¦<li>{item}</li>}²</ul> | |||
|format = ,,, | |||
|ordermethod = sortkey | |ordermethod = sortkey | ||
}}</includeonly><noinclude>{{Documentation|type=DPL | }} | ||
{{!}}} | |||
|table-id=8444}}}}</includeonly><noinclude>{{Documentation|type=DPL Table}}</noinclude> | |||