Difference between revisions of "Template:HHPRequirement"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) m |
PanchamBro (talk | contribs) (chaning template colors and adding roundy) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| style="background-color: | + | <noinclude>{{#cargo_declare: |
+ | _table=hhp_facility_category | ||
+ | |facility = String | ||
+ | |room = String | ||
+ | |category = String | ||
+ | |requirement = Integer | ||
+ | |items = Text | ||
+ | }}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store: | ||
+ | _table=hhp_facility_category | ||
+ | |facility = {{{facility|{{PAGENAME}}}}} | ||
+ | |room = {{{room|}}} | ||
+ | |category = {{{category|}}} | ||
+ | |requirement = {{{requirement|}}} | ||
+ | |items = [ {{#forargs: item | key | value | {{#ifexpr: {{#var: key}} > 1 | , }} {"item-name": "{{{item{{#var: key}}|}}}"} }} ] | ||
+ | }}}}</includeonly>{{(!}} style="background-color:#fbe36a; {{roundy|9px}}" | ||
|- | |- | ||
| style="width:100px" | [[File:{{{category-image|{{{category|Chairs}}}}}} HHP Category Icon.png|100px|class=sprite|link=]] | | style="width:100px" | [[File:{{{category-image|{{{category|Chairs}}}}}} HHP Category Icon.png|100px|class=sprite|link=]] | ||
− | | rowspan=2 style="background-color:# | + | | rowspan=2 style="background-color:#f5e9b3; width:200px" | <div style="font-family:Coustard; text-align:center;">List:</div> |
− | {| | + | {| style="width:100%;" |
− | |||
|- | |- | ||
− | |{{#forargs: item | + | | style="height: 200px !important; overflow-x: hidden; overflow-y: auto; padding: 4px; display: inline-block; width: 95%;" | {{#forargs: item |
| key | | key | ||
| value | | value | ||
Line 12: | Line 25: | ||
|} | |} | ||
|- | |- | ||
− | | style="background-color:# | + | | style="background-color:#f5e9b3; text-align: center; font-family:Coustard;" | {{{category|Chairs}}}<br>×{{{requirement|}}} |
|} | |} | ||
{{Clear}}<noinclude>[[Category:Templates]]</noinclude> | {{Clear}}<noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 13:57, March 15, 2022
This template defines the table "hhp_facility_category". View table.
List:
| |
Chairs × |