Difference between revisions of "Template:ItemList"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) m (Text replacement - "width="(.*?)" style="" to "style="width: $1; ") |
|||
(32 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <!-- | + | <noinclude>{{Deprecated|replacement=[[Template:TableTop]]}}</noinclude> |
− | {{# | + | {{#switch:{{{game|}}} |
− | {{(!}} class="sortable" align="center" | + | <!-- DnM, DnM+, AC, DnMe+ Table --> |
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | + | | DnM |
+ | | AF | ||
+ | | DnM+ | ||
+ | | AF+ | ||
+ | | AC | ||
+ | | PG | ||
+ | | ACGC | ||
+ | | DnMe+ | ||
+ | | AFe+ = {{#if: {{{embed|}}}|<div {{#if: {{{collapsible|}}}|class="mw-collapsible mw-collapsed"|}} style="margin:auto; width:80%; background:#FFDD66; border: 4px solid #FFDD66; text-align:center; {{roundy}}"> | ||
+ | '''{{{title|Please enter a title.}}}''' | ||
+ | <div class="mw-collapsible-content">|}} | ||
+ | {{(!}} class="sortable {{#if: {{{embed|}}}||{{#if: {{{collapsible|}}}|collapsible collapsed|}}}}" {{#if: {{{embed|}}}||align="center"}} style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; {{#if: {{{embed|}}}||border: 4px solid #FFDD66;}} {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
Line 10: | Line 22: | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Feng Shui | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Feng Shui | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | ||
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px | + | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Info |
− | |||
{{!-}} | {{!-}} | ||
− | + | ||
<!-- ACWW Table --> | <!-- ACWW Table --> | ||
− | {{# | + | | ACWW |
− | {{(!}} class="sortable" align="center" | + | | WW = {{#if: {{{embed|}}}|<div {{#if: {{{collapsible|}}}|class="mw-collapsible mw-collapsed"|}} style="margin:auto; width:80%; background:#FFDD66; border: 4px solid #FFDD66; text-align:center; {{roundy}}"> |
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | + | '''{{{title|Please enter a title.}}}''' |
+ | <div class="mw-collapsible-content">|}} | ||
+ | {{(!}} class="sortable {{#if: {{{embed|}}}||{{#if: {{{collapsible|}}}|collapsible collapsed|}}}}" {{#if: {{{embed|}}}||align="center"}} style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; {{#if: {{{embed|}}}||border: 4px solid #FFDD66;}} {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
Line 26: | Line 40: | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Genres | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Genres | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | ||
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px | + | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Info |
− | |||
{{!-}} | {{!-}} | ||
− | + | ||
<!-- ACCF Table --> | <!-- ACCF Table --> | ||
− | {{# | + | | ACCF |
− | {{(!}} class="sortable" align="center" | + | | CF = {{#if: {{{embed|}}}|<div {{#if: {{{collapsible|}}}|class="mw-collapsible mw-collapsed"|}} style="margin:auto; width:80%; background:#FFDD66; border: 4px solid #FFDD66; text-align:center; {{roundy}}"> |
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | + | '''{{{title|Please enter a title.}}}''' |
+ | <div class="mw-collapsible-content">|}} | ||
+ | {{(!}} class="sortable {{#if: {{{embed|}}}||{{#if: {{{collapsible|}}}|collapsible collapsed|}}}}" {{#if: {{{embed|}}}||align="center"}} style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; {{#if: {{{embed|}}}||border: 4px solid #FFDD66;}} {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
Line 41: | Line 57: | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Genres | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Genres | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | ||
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px | + | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Info |
− | |||
{{!-}} | {{!-}} | ||
− | + | ||
<!-- ACNL Table --> | <!-- ACNL Table --> | ||
− | {{# | + | | ACNL |
− | {{(!}} class="sortable" align="center" | + | | NL = {{#if: {{{embed|}}}|<div {{#if: {{{collapsible|}}}|class="mw-collapsible mw-collapsed"|}} style="margin:auto; width:80%; background:#FFDD66; border: 4px solid #FFDD66; text-align:center; {{roundy}}"> |
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | + | '''{{{title|Please enter a title.}}}''' |
+ | <div class="mw-collapsible-content">|}} | ||
+ | {{(!}} class="sortable {{#if: {{{embed|}}}||{{#if: {{{collapsible|}}}|collapsible|}}}}" {{#if: {{{embed|}}}||align="center"}} style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; {{#if: {{{embed|}}}||border: 4px solid #FFDD66;}} {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
Line 54: | Line 72: | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Available From | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Available From | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Color(s) | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Color(s) | ||
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} [[Happy Room Academy|HHA]] Theme | + | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} [[Happy Room Academy|HHA]] Theme |
− | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | + | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Style |
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Size | ||
! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Info | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Info | ||
− | ! style="border-bottom:4px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{ | + | ! style="border-bottom:4px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Customize |
+ | {{!-}} | ||
+ | |||
+ | <!-- Wall & Flooring tables start here --> | ||
+ | |||
+ | <!-- DnM, DnM+, AC, DnMe+ Wall & Floor Table --> | ||
+ | | DnM wall | ||
+ | | DnM floor | ||
+ | | AF wall | ||
+ | | AF floor | ||
+ | | DnM+ wall | ||
+ | | DnM+ floor | ||
+ | | AF+ wall | ||
+ | | AF+ floor | ||
+ | | AC wall | ||
+ | | AC floor | ||
+ | | PG wall | ||
+ | | PG floor | ||
+ | | ACGC wall | ||
+ | | ACGC floor | ||
+ | | DnMe+ wall | ||
+ | | DnMe+ floor | ||
+ | | AFe+ wall | ||
+ | | AFe+ floor = {{(!}} class="sortable" align="center" style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; border: 4px solid #FFDD66; {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Sell Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Available From | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Group | ||
{{!-}} | {{!-}} | ||
− | |}}<noinclude> | + | |
+ | <!-- WW Wall & Floor Table --> | ||
+ | | WW wall | ||
+ | | WW floor | ||
+ | | ACWW wall | ||
+ | | ACWW floor = {{(!}} class="sortable" align="center" style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; border: 4px solid #FFDD66; {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Sell Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Available From | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Group | ||
+ | {{!-}} | ||
+ | |||
+ | <!-- CF Wall & Floor Table --> | ||
+ | | CF wall | ||
+ | | CF floor | ||
+ | | ACCF wall | ||
+ | | ACCF floor = {{(!}} class="sortable" align="center" style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; border: 4px solid #FFDD66; {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Sell Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Available From | ||
+ | {{!-}} | ||
+ | |||
+ | <!-- NL Wall & Floor Table --> | ||
+ | | NL wall | ||
+ | | NL floor | ||
+ | | ACNL wall | ||
+ | | ACNL floor = {{(!}} class="sortable" align="center" style="width: {{#if: {{{embed|}}}|100%|80%}}" cellspacing="0px" cellpadding="1px; background:#FFDD66; text-align:center; border: 4px solid #FFDD66; {{roundy}}" | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; background-color:#FFDD66; color:#000; {{roundytl|7px}}" {{!}} Item | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Image | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Buy Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Sell Price | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Color | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} [[Happy Room Academy|HHA]] Theme | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666;" {{!}} Style | ||
+ | ! style="border-bottom:4px solid #FFDD66; border-right: 2px solid #FFDD66; border-left: 2px solid #FFDD66; background-color:#FFFFCC; color:#666; {{roundyright}}" {{!}} Available From | ||
+ | {{!-}} | ||
+ | }}<noinclude> | ||
==Example== | ==Example== | ||
− | '''<nowiki>{{ItemList| | + | <tt>'''<nowiki>{{ItemList|game=AC}}</nowiki>{{tt|*|<nowiki>Parameters "DnM", "DnM+", "AC", and "DnMe+" will produce the same table</nowiki>}}''' produces:</tt> |
− | {{ItemList| | + | {{ItemList|game=AC}} |
|} | |} | ||
+ | <br> | ||
+ | <tt>'''<nowiki>{{ItemList|game=WW|collapsible=yes}}</nowiki>''' produces:</tt> | ||
+ | {{ItemList|game=WW|collapsible=yes}} | ||
+ | |} | ||
+ | <br> | ||
+ | <tt>'''<nowiki>{{ItemList|game=CF|embed=yes|title=This is a test}}</nowiki>''' produces:</tt> | ||
+ | {{ItemList|game=CF|embed=yes|title=This is a test}} | ||
+ | |} | ||
+ | </div> | ||
+ | </div> | ||
+ | <br> | ||
+ | <tt>'''<nowiki>{{ItemList|game=NL|embed=yes|collapsible=yes|title=This is a test}}</nowiki>''' produces:</tt> | ||
+ | {{ItemList|game=NL|embed=yes|collapsible=yes|title=This is a test}} | ||
+ | |} | ||
+ | </div> | ||
+ | </div> | ||
+ | <br> | ||
+ | {| align="center" width=90% style="background-color:#ff6666; text-align:center; {{roundy}}" | ||
+ | |'''Important:''' Use of the embed parameter (with non-wall/floor tables) creates two divs which must be closed <tt>"</div>"</tt> '''AFTER''' the table end markup <tt><nowiki>"|}"</nowiki></tt>. | ||
+ | |} | ||
+ | <br clear=all> | ||
+ | ===Wallpaper & flooring tables=== | ||
+ | Each game has a corresponding wallpaper and flooring table associated with it. This can be used be a stand-alone table, or can be embedded in other tables. | ||
+ | |||
+ | <tt>'''<nowiki>{{ItemList|game=AC wall}}</nowiki>{{tt|*|<nowiki>Parameters "DnM wall", "DnM+ wall", "AC wall", "DnMe+ wall", and "WW wall" will produce the same table</nowiki>}}''' produces:</tt> | ||
+ | {{ItemList|game=AC wall}} | ||
+ | |} | ||
+ | <br> | ||
+ | <tt>'''<nowiki>{{ItemList|game=CF wall}}</nowiki>''' produces:</tt> | ||
+ | {{ItemList|game=CF wall}} | ||
+ | |} | ||
+ | <br> | ||
+ | <tt>'''<nowiki>{{ItemList|game=NL wall}}</nowiki>''' produces:</tt> | ||
+ | {{ItemList|game=NL wall}} | ||
+ | |} | ||
+ | <br> | ||
==Usage== | ==Usage== | ||
− | Enter the appropriate abbreviation | + | <pre> |
+ | {{ItemList | ||
+ | |game= | ||
+ | |collapsible= | ||
+ | |embed= | ||
+ | |title= | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ===Parameters:=== | ||
+ | *'''game:''' Enter the appropriate abbreviation to display an item table with headings corresponding to that AC title. For ease of use the template accepts several abbreviation variations, as seen below. | ||
− | + | *'''collapsible:''' Enter any string to make the table collapsible. If no value is entered the table will not be collapsible. | |
+ | |||
+ | *'''embed:''' Enter any string to produce a table that allows for other tables to be embedded inside it (e.g. wall/floor tables) while maintaining column-sorting functionality. '''OR''' If a wall/floor table is designated in the game parameter, it will produce an embeddable wall/floor table. | ||
+ | |||
+ | *'''title:''' This parameter is only used in conjunction with embed. The embed parameter encapsulates the table(s) in a div; text placed in the title parameter will appear as the table heading. | ||
+ | |||
+ | <center> | ||
+ | {| class="wikitable" | ||
+ | ! colspan=2 height=25px| <big>Acceptable ''game'' Parameters</big> | ||
+ | |- | ||
+ | ! Furniture: | ||
+ | | DnM, AF, DnM+, AF+, AC, ACGC, PG, DnMe+, AFe+, WW, ACWW, CF, ACCF, NL, ACNL | ||
+ | |- | ||
+ | ! Wall/Floor: | ||
+ | | DnM wall, DnM floor, AF wall, AF floor, DnM+ wall, DnM+ floor, AF+ wall, AF+ floor, AC wall, AC floor, ACGC wall, ACGC floor, PG wall, PG floor, DnMe+ wall, DnMe+ floor, AFe+ wall, AFe+ floor, WW wall, WW floor, ACWW wall, ACWW floor, CF wall, CF floor, ACCF wall, ACCF floor, NL wall, NL floor, ACNL wall, ACNL floor | ||
+ | |} | ||
+ | </center> | ||
+ | '''Note:''' It does not matter whether one uses "AC wall" or "AC floor", they will result in the same table. | ||
− | + | [[Category:Table templates]] |
Latest revision as of 16:40, July 13, 2021
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Template:TableTop and all instances of this template should be updated to the linked template instead.
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Template:TableTop and all instances of this template should be updated to the linked template instead.
Example
{{ItemList|game=AC}}* produces:
Item | Image | Buy Price | Sell Price | Available From | Group | Feng Shui | Size | Info |
---|
{{ItemList|game=WW|collapsible=yes}} produces:
Item | Image | Buy Price | Sell Price | Available From | Group | Color(s) | Genres | Size | Info |
---|
{{ItemList|game=CF|embed=yes|title=This is a test}} produces:
This is a test
Item | Image | Buy Price | Sell Price | Available From | Color(s) | Genres | Size | Info |
---|
{{ItemList|game=NL|embed=yes|collapsible=yes|title=This is a test}} produces:
This is a test
Item | Image | Buy Price | Sell Price | Available From | Color(s) | HHA Theme | Style | Size | Info | Customize |
---|
Important: Use of the embed parameter (with non-wall/floor tables) creates two divs which must be closed "" AFTER the table end markup "|}". |
Wallpaper & flooring tables
Each game has a corresponding wallpaper and flooring table associated with it. This can be used be a stand-alone table, or can be embedded in other tables.
{{ItemList|game=AC wall}}* produces:
Item | Image | Buy Price | Sell Price | Available From | Group |
---|
{{ItemList|game=CF wall}} produces:
Item | Image | Buy Price | Sell Price | Available From |
---|
{{ItemList|game=NL wall}} produces:
Item | Image | Buy Price | Sell Price | Color | HHA Theme | Style | Available From |
---|
Usage
{{ItemList |game= |collapsible= |embed= |title= }}
Parameters:
- game: Enter the appropriate abbreviation to display an item table with headings corresponding to that AC title. For ease of use the template accepts several abbreviation variations, as seen below.
- collapsible: Enter any string to make the table collapsible. If no value is entered the table will not be collapsible.
- embed: Enter any string to produce a table that allows for other tables to be embedded inside it (e.g. wall/floor tables) while maintaining column-sorting functionality. OR If a wall/floor table is designated in the game parameter, it will produce an embeddable wall/floor table.
- title: This parameter is only used in conjunction with embed. The embed parameter encapsulates the table(s) in a div; text placed in the title parameter will appear as the table heading.
Acceptable game Parameters | |
---|---|
Furniture: | DnM, AF, DnM+, AF+, AC, ACGC, PG, DnMe+, AFe+, WW, ACWW, CF, ACCF, NL, ACNL |
Wall/Floor: | DnM wall, DnM floor, AF wall, AF floor, DnM+ wall, DnM+ floor, AF+ wall, AF+ floor, AC wall, AC floor, ACGC wall, ACGC floor, PG wall, PG floor, DnMe+ wall, DnMe+ floor, AFe+ wall, AFe+ floor, WW wall, WW floor, ACWW wall, ACWW floor, CF wall, CF floor, ACCF wall, ACCF floor, NL wall, NL floor, ACNL wall, ACNL floor |
Note: It does not matter whether one uses "AC wall" or "AC floor", they will result in the same table.