Difference between revisions of "Template:Rune Word table"

From Basin Wiki
Jump to navigation Jump to search
(how to add more cols)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
*Used to apply consistent format to Rune Word tables on rune pages
+
* Used to apply consistent format to Rune Word tables on rune pages
 
+
* My default the table shows 3 columns with item bases, which is enough for most rune words. Should additional columns be required, use the parameter <code>MaxItems</code> (max. 6).
  
 
[[Category:Templates (Diablo II)]]
 
[[Category:Templates (Diablo II)]]
Line 13: Line 13:
 
!width=6% align=left class="unsortable"|Item 2
 
!width=6% align=left class="unsortable"|Item 2
 
!width=6% align=left class="unsortable"|Item 3
 
!width=6% align=left class="unsortable"|Item 3
{{#ifexpr: {{{MaxItems|3}}} > 3 | !width=6% align=left class="unsortable"|Item 4 }}
+
{{#ifexpr: {{{MaxItems|3}}} > 3 | !width=6% align=left class="unsortable"{{!}}Item 4}}
{{#ifexpr: {{{MaxItems|3}}} > 4 | !width=6% align=left class="unsortable"|Item 5 }}
+
{{#ifexpr: {{{MaxItems|3}}} > 4 | !width=6% align=left class="unsortable"{{!}}Item 5}}
{{#ifexpr: {{{MaxItems|3}}} > 5 | !width=6% align=left class="unsortable"|Item 6 }}
+
{{#ifexpr: {{{MaxItems|3}}} > 5 | !width=6% align=left class="unsortable"{{!}}Item 6}}
 
!width=3%|[[Socket]]
 
!width=3%|[[Socket]]
 
!width=3% class="unsortable"|1
 
!width=3% class="unsortable"|1

Latest revision as of 13:08, 19 February 2026

  • Used to apply consistent format to Rune Word tables on rune pages
  • My default the table shows 3 columns with item bases, which is enough for most rune words. Should additional columns be required, use the parameter MaxItems (max. 6).


Rune Word Item 1 Item 2 Item 3


Socket 1 2 3 4 5 6 LoD Patch LoD Ladder D2R Patch D2R Ladder Rlvl