Template:Furniture by Category Table: Difference between revisions

either i'm tripping or this had an excess param
oops don't need debug anymore
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl:
<includeonly>{{#dpl:
|namespace =  
|namespace   =  
|category = Furniture by Number<&>{{{1}}}<&>{{{2}}}
|category   = Furniture by Quality and ID<&>{{{1}}}
|uses     = Template:Furniture Infobox
|category    = {{{2}}}
|include  = {Furniture Infobox}{{#if:{{{nonumber|}}}||:number}}:%PAGE%:%PAGE%{{#if:{{{notype|}}}||:type}}:quality{{#if:{{{noset|}}}||:set}}
|notcategory = Removed
|table    = class="wikitable sortable",-{{#if:{{{nonumber|}}}||,No.}},Image,Name{{#if:{{{notype|}}}||,Type}},Quality{{#if:{{{noset|}}}||,Set}}
|uses       = Template:Furniture Infobox
|tablerow  = <!--
|resultsheader = There are %PAGES% [[furniture]] matching the selected category:
-->{{#if:{{{nonumber|}}}||%%}}<!--
|noresultsheader = No [[furniture]] match the selected category.
-->,[[File:%% Icon.png|50px|link=%%]]<!--
|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:{{{notype|}}}||,[[%%]]}}<!--
-->{{#if:{{{noset|}}}||,²{#ifexist:%%¦[[%%]]¦%%}²<!---->}}<!--
-->,%%<!--
-->,%%<!--
-->{{#if:{{{noset|}}}||,[[%%]]}}
-->{{#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 Tables}}</noinclude>
}}
{{!}}}
|table-id=8444}}}}</includeonly><noinclude>{{Documentation|type=DPL Table}}</noinclude>