Template:Furniture by Category Table: Difference between revisions

Gloompyon (talk | contribs)
Update for secondary typing
oops don't need debug anymore
 
(34 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl:
<includeonly>{{#dpl:
|namespace =  
|namespace   =
|category = Furniture<&>{{{1}}}<&>{{{2}}}
|category    = Furniture by Quality and ID<&>{{{1}}}
|uses     = Template:Furniture Infobox
|category    = {{{2}}}
|include   = {Furniture Infobox}:%PAGE%:number:%PAGE%{{#if:{{{notype|}}}||:type}},quality,set,color,material
|notcategory = Removed
|table     = class="wikitable sortable" style="width: 100%",-,Image,No.,Name{{#if:{{{notype|}}}||,Type}},Quality,Set,Color,Material
|uses        = Template:Furniture Infobox
|tablerow  = [[File:%% Icon.png|50px|link=%%]],%%,[[%%]]{{#if:{{{notype|}}}||,%%}},%%,%%,%%
|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 Tables}}</noinclude>
}}
{{!}}}
|table-id=8444}}}}</includeonly><noinclude>{{Documentation|type=DPL Table}}</noinclude>