Difference between revisions of "Template:NHArtInfo"
From Nookipedia, the Animal Crossing wiki
m (colors are swapped) |
AlexBot2004 (talk | contribs) 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 | ||
− | | | + | |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 = | + | |art_type = String |
+ | |description = Text | ||
|buy_price = Integer | |buy_price = Integer | ||
− | | | + | |buy_wikitext = Wikitext string |
+ | |sell = Integer | ||
|availability = String | |availability = String | ||
|availability_note = String | |availability_note = String | ||
− | | | + | |authenticity = String |
− | | | + | |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|}}} | ||
− | | | + | |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|}}} | ||
− | | | + | |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|}}} | ||
− | | | + | |authenticity = {{{authenticity|}}} |
− | | | + | |width = {{{art-width|}}} |
+ | |length = {{{art-length|}}} | ||
}}}}</includeonly> | }}}}</includeonly> | ||
{{Art Info | {{Art Info | ||
− | |||
− | |||
− | |||
|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> | ||
− | + | |label = Museum description | |
− | |label = | ||
|data = ''{{{description|Unknown}}}'' | |data = ''{{{description|Unknown}}}'' | ||
− | |label2 = Buy | + | |label2 = Buy price |
|data2 = {{Currency|Bells|{{{buy-price|}}}}} | |data2 = {{Currency|Bells|{{{buy-price|}}}}} | ||
− | |label3 = Sell | + | |label3 = Sell price |
− | |data3 = {{Currency|Bells|{{{sell-price|}}}}} {{#if:{{{fake-image|}}} | {{Note|name=Forgery|Cannot be sold if it | + | |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 | + | |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: | + | }}<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.
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.