Difference between revisions of "Template:NHPhoto"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (adding height to posters/photos using switch statements) |
Cephalobot (talk | contribs) m (Text replacement - " | languages = Name" to " | languages = Names") |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 20: | Line 20: | ||
|custom_kits = Integer | |custom_kits = Integer | ||
|custom_body_part = String | |custom_body_part = String | ||
+ | |cyrus_price = Integer | ||
|grid_size = String | |grid_size = String | ||
|length = Float | |length = Float | ||
Line 46: | Line 47: | ||
|availability2 = {{{availability2|}}} | |availability2 = {{{availability2|}}} | ||
|availability2_note = {{{availability2-note|}}} | |availability2_note = {{{availability2-note|}}} | ||
− | |customizable = {{{customizable|}}} | + | |customizable = {{#if: {{{customizable|}}} | Yes | No }} |
|custom_kits = {{{custom-kits|}}} | |custom_kits = {{{custom-kits|}}} | ||
|custom_body_part = {{{custom-body-part|}}} | |custom_body_part = {{{custom-body-part|}}} | ||
+ | |cyrus_price = {{{cyrus-price|}}} | ||
|grid_size = {{{grid-size|}}} | |grid_size = {{{grid-size|}}} | ||
|length = {{{length|}}} | |length = {{{length|}}} | ||
Line 61: | Line 63: | ||
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} | |identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} | ||
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} | |en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} | ||
+ | |type = {{#switch: {{{category|}}}|Photos = Photo|Posters = Poster}} | ||
|engb_name = {{{engb-name|}}} | |engb_name = {{{engb-name|}}} | ||
|de_name = {{{de-name|}}} | |de_name = {{{de-name|}}} | ||
Line 132: | Line 135: | ||
| label2 = Customize | | label2 = Customize | ||
− | | data2 = {{#if:{{{cyrus-price|}}}{{{customizable|}}}|{{#if:{{{cyrus-price|}}}|{{Availability|Cyrus|nb=true}}: {{Currency|Bells|{{{cyrus-price|}}}}}<br />|}}{{#if:{{{customizable|}}}|[[File | + | | data2 = {{#if:{{{cyrus-price|}}}{{{customizable|}}}|{{#if:{{{cyrus-price|}}}|{{Availability|Cyrus|nb=true}}: {{Currency|Bells|{{{cyrus-price|}}}}}<br />|}}{{#if:{{{customizable|}}}|[[File:{{{custom-kit-type|Customization Kit}}} NH Customization Icon.png|22px|link=|Remake kit]] {{{custom-kits|}}} {{{custom-kit-type|kit}}}{{#ifexpr:{{{custom-kits|}}} > 1|s|}}<br />}}{{#if:{{{variation1|}}}|[[File:Customization NH Icon.png|22px|link=|Variations]] {{#expr:{{#if:{{{variation1|}}}|1|0}}+{{#if:{{{variation2|}}}|1|0}}+{{#if:{{{variation3|}}}|1|0}}+{{#if:{{{variation4|}}}|1|0}}+{{#if:{{{variation5|}}}|1|0}}+{{#if:{{{variation6|}}}|1|0}}+{{#if:{{{variation7|}}}|1|0}}+{{#if:{{{variation8|}}}|1|0}}}} variations{{#if:{{{customizable-variation|}}}||{{#if:{{{pattern1|}}}| (Cyrus only)}}}}}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}|<br />}}[[File:Fabric NH Icon.png|22px|link=|Patterns]] {{#expr:{{#if:{{{pattern1|}}}|1|0}}+{{#if:{{{pattern2|}}}|1|0}}+{{#if:{{{pattern3|}}}|1|0}}+{{#if:{{{pattern4|}}}|1|0}}+{{#if:{{{pattern5|}}}|1|0}}+{{#if:{{{pattern6|}}}|1|0}}+{{#if:{{{pattern7|}}}|1|0}}+{{#if:{{{pattern8|}}}|1|0}}}} patterns|}}|No customization options.}}{{#if:{{{custom-pattern-part|}}}{{{custom-body-part|}}}|{{#if:{{{cyrus-price|}}}||[[Category:New Horizons items with missing Cyrus price parameters]]}}}} |
| label3 = HHA points | | label3 = HHA points | ||
Line 153: | Line 156: | ||
| widebottomdata2 = {{{notes|}}} | | widebottomdata2 = {{{notes|}}} | ||
− | | languages = | + | | languages = Names |
| ja-name = {{{ja-name|}}} | | ja-name = {{{ja-name|}}} | ||
| ko-name = {{{ko-name|}}} | | ko-name = {{{ko-name|}}} |
Revision as of 11:00, May 13, 2022
This template defines the table "nh_photo". View table.
| ||||||||
Buy price | Sell price | |||||||
---|---|---|---|---|---|---|---|---|
Not for sale | Unknown | |||||||
Size | ||||||||
0.0 × 0.0
| ||||||||
Obtain via | ||||||||
Customize | No customization options. | |||||||
Colors | Unknown
Unknown
| |||||||
Variations | ||||||||
None
| ||||||||
Names in other languages
Unknown
Unknown Unknown Unknown
Unknown
Unknown Unknown Unknown
Unknown Unknown Unknown Unknown |
No documentation for Template:NHPhoto exists. Create it.