Difference between revisions of "Template:NHArtInfo"

From Nookipedia, the Animal Crossing wiki
m (colors are swapped)
m (Sentence case)
 
(25 intermediate revisions by 6 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
|fake = Boolean
+
|image_url = String
 +
|has_fake = Boolean
 
|fake_image = String
 
|fake_image = 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
|description = String
+
|art_type = String
 +
|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
|art_width = Float
+
|authenticity = String
|art_length = Float
+
|width = Float
 +
|length = Float
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 
_table=nh_art
 
_table=nh_art
|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|}}}
|fake = {{#if:{{{fake-image|}}} | Yes | No }}
+
|image_url = {{filepath:{{{image|}}}}}
 +
|has_fake = {{#if:{{{fake-image|}}} | Yes | No }}
 
|fake_image = {{{fake-image|}}}
 
|fake_image = {{{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|}}}
|art_width = {{{art-width|}}}
+
|authenticity = {{{authenticity|}}}
|art_length = {{{art-length|}}}
+
|width = {{{art-width|}}}
 +
|length = {{{art-length|}}}
 
}}}}</includeonly>
 
}}}}</includeonly>
 
{{Art Info
 
{{Art Info
|bordercolor    = ff8c00
 
|primarycolor  = ffd76B
 
|secondarycolor = ff8c00
 
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}
 
|imagesize      = 128px
 
|imagesize      = 128px
Line 43: 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|}}}) | }}
|labelend      = Furniture Size
+
|label5        = Authenticity
 +
|data5          = {{{authenticity|Unknown}}}
 +
|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: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