Difference between revisions of "Template:NHArtInfo"

From Nookipedia, the Animal Crossing wiki
(Adding image URLs to Cargo)
m (Sentence case)
 
(18 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
_table=nh_art
 
_table=nh_art
 
|name = String
 
|name = String
 +
|item_page = Page
 +
|item_page_fake = Page
 
|image = String
 
|image = String
 
|image_url = String
 
|image_url = String
|fake = Boolean
+
|has_fake = Boolean
 
|fake_image = String
 
|fake_image = String
 
|fake_image_url = String
 
|fake_image_url = String
 +
|texture = String
 +
|texture_url = String
 +
|fake_texture = String
 +
|fake_texture_url = String
 
|art_name = String
 
|art_name = String
 
|author = String
 
|author = String
 
|year = String
 
|year = String
 
|art_style = String
 
|art_style = String
 +
|art_type = String
 
|description = Text
 
|description = Text
 
|buy_price = Integer
 
|buy_price = Integer
|sell_price = Integer
+
|buy_wikitext = Wikitext string
 +
|sell = Integer
 
|availability = String
 
|availability = String
 
|availability_note = String
 
|availability_note = String
Line 22: Line 30:
 
_table=nh_art
 
_table=nh_art
 
|name = {{{name|{{PAGENAME}}}}}
 
|name = {{{name|{{PAGENAME}}}}}
 +
|item_page = Item:{{{name|{{PAGENAME}}}}} (New Horizons)
 +
|item_page_fake = {{#if:{{{fake-image|}}} | Item:{{{name|{{PAGENAME}}}}} (fake) (New Horizons) }}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|image_url = {{filepath:{{{image|}}}}}
 
|image_url = {{filepath:{{{image|}}}}}
|fake = {{#if:{{{fake-image|}}} | Yes | No }}
+
|has_fake = {{#if:{{{fake-image|}}} | Yes | No }}
 
|fake_image = {{{fake-image|}}}
 
|fake_image = {{{fake-image|}}}
 
|fake_image_url = {{filepath:{{{fake-image|}}}}}
 
|fake_image_url = {{filepath:{{{fake-image|}}}}}
 +
|texture = {{{texture|{{{image|}}}}}}
 +
|texture_url = {{filepath:{{{texture|}}}}}
 +
|fake_texture = {{{fake-texture|{{{fake-image|}}}}}}
 +
|fake_texture_url = {{filepath:{{{fake-texture|}}}}}
 
|art_name = {{{art-name|}}}
 
|art_name = {{{art-name|}}}
 
|author = {{{author|}}}
 
|author = {{{author|}}}
 
|year = {{{year|}}}
 
|year = {{{year|}}}
 
|art_style = {{{art-style|}}}
 
|art_style = {{{art-style|}}}
 +
|art_type = {{{art-type|Painting}}}
 
|description = {{{description|}}}
 
|description = {{{description|}}}
 
|buy_price = {{{buy-price|}}}
 
|buy_price = {{{buy-price|}}}
|sell_price = {{{sell-price|}}}
+
|buy_currency = {{{buy-currency|}}}
 +
|buy_wikitext = {{#ifeq:{{{buy-price|}}}|NA|NA|{{Currency|Bells|{{{buy-price|}}}}}}}
 +
|sell = {{{sell-price|}}}
 
|availability = {{{availability|}}}
 
|availability = {{{availability|}}}
 
|availability_note = {{{availability-note|}}}
 
|availability_note = {{{availability-note|}}}
Line 41: Line 58:
 
}}}}</includeonly>
 
}}}}</includeonly>
 
{{Art Info
 
{{Art Info
|bordercolor    = e1a884
 
|primarycolor  = f0d3c1
 
|secondarycolor = e1a884
 
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}
 
|imagesize      = 128px
 
|imagesize      = 128px
Line 49: Line 63:
 
|imagesize2      = 128px
 
|imagesize2      = 128px
 
|caption        = {{{art-name|Unknown}}}<br><small>{{{author|Unknown}}}, {{{year|Unknown}}}<br>{{{art-style|Unknown}}}</small>
 
|caption        = {{{art-name|Unknown}}}<br><small>{{{author|Unknown}}}, {{{year|Unknown}}}<br>{{{art-style|Unknown}}}</small>
|caption2      = {{#if:{{{fake-image|}}} | Fake {{PAGENAME}} | }}
+
|label          = Museum description
|label          = Description
 
 
|data          = ''{{{description|Unknown}}}''
 
|data          = ''{{{description|Unknown}}}''
|label2        = Buy Price
+
|label2        = Buy price
 
|data2          = {{Currency|Bells|{{{buy-price|}}}}}
 
|data2          = {{Currency|Bells|{{{buy-price|}}}}}
|label3        = Sell Price
+
|label3        = Sell price
|data3          = {{Currency|Bells|{{{sell-price|}}}}} {{#if:{{{fake-image|}}} | {{Note|name=Forgery|Cannot be sold if it's a forgery.}} | }}
+
|data3          = {{Currency|Bells|{{{sell-price|}}}}}{{#if:{{{fake-image|}}} |{{Note|name=Forgery|Cannot be sold if it is a forgery.}} | }}
 
|label4        = Obtain from
 
|label4        = Obtain from
 
|data4          = {{Availability|{{{availability|Unknown}}}}} {{#if:{{{availability-note|}}} | ({{{availability-note|}}}) | }}
 
|data4          = {{Availability|{{{availability|Unknown}}}}} {{#if:{{{availability-note|}}} | ({{{availability-note|}}}) | }}
 
|label5        = Authenticity
 
|label5        = Authenticity
 
|data5          = {{{authenticity|Unknown}}}
 
|data5          = {{{authenticity|Unknown}}}
|labelend      = Furniture Size
+
|labelend      = Furniture size
 
|dataend        = {{Size|{{{art-width|1.0}}}|{{{art-length|1.0}}}|imgsize=30x30px}}
 
|dataend        = {{Size|{{{art-width|1.0}}}|{{{art-length|1.0}}}|imgsize=30x30px}}
 
}}<noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Project Museum]]</noinclude>
 
}}<noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Project Museum]]</noinclude>

Latest revision as of 19:55, January 5, 2024

This template defines the table "nh_art". View table.

Have an image of the art?
Then please upload it!
Unknown
Unknown, Unknown
Unknown


Museum description Unknown
Buy price  Bells
Sell price  Bells
Obtain from Unknown
Authenticity Unknown
Furniture size 1.0 x 1.0

Template documentation (view)


More Cargo templates