Difference between revisions of "Template:CFArtInfo"

From Nookipedia, the Animal Crossing wiki
m (Making availability note small)
m (Sentence case)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
<noinclude>{{#cargo_declare:
 +
_table=cf_art
 +
|name = String
 +
|image = String
 +
|image_url = String
 +
|has_fake = Boolean
 +
|buy_price = Integer
 +
|sell = Integer
 +
|availability = String
 +
|availability_note = String
 +
|authenticity = String
 +
|width = Float
 +
|length = Float
 +
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 +
_table=cf_art
 +
|name = {{{name|{{PAGENAME}}}}}
 +
|image = {{{image|}}}
 +
|image_url = {{filepath:{{{image|}}}}}
 +
|has_fake = Yes
 +
|buy_price = {{{buy-price|}}}
 +
|sell = {{{sell-price|}}}
 +
|availability = {{{availability|}}}
 +
|availability_note = {{{availability-note|}}}
 +
|authenticity = {{{authenticity|}}}
 +
|width = {{{art-width|}}}
 +
|length = {{{art-length|}}}
 +
}}}}</includeonly>
 
{{Art Info
 
{{Art Info
|bordercolor    = e1a884
 
|primarycolor  = f0d3c1
 
|secondarycolor = e1a884
 
 
|image          = {{{image|}}}
 
|image          = {{{image|}}}
 
|imagesize      = 128px
 
|imagesize      = 128px
 
|imagesize2    = 128px
 
|imagesize2    = 128px
|caption        = {{{art-name|Unknown}}}<br><small>{{{author|Unknown}}}, {{{year|Unknown}}}<br>{{{art-style|Unknown}}}</small>
+
|label          = Buy price
|label          = Description
+
|data          = {{Currency|Bells|{{{buy-price|}}}}}
|data          = ''{{{description|Unknown}}}''
+
|label2        = Sell price
|label2        = Buy Price
+
|data2          = {{Currency|Bells|{{{sell-price|}}}}}{{#ifeq:{{{has-fake|Yes}}}|Yes|{{Note|name=Forgery|Sells for 10 Bells if it is a forgery.}}|}}
|data2          = {{Currency|Bells|{{{buy-price|}}}}}
+
|label3         = Obtain from
|label3        = Sell Price
+
|data3         = {{Availability|{{{availability|Unknown}}}}} {{#if:{{{availability-note|}}} | <small>({{{availability-note|}}})</small> | }}
|data3          = {{Currency|Bells|{{{sell-price|}}}}}{{Note|name=Forgery|Sells for 10 Bells if it is a forgery.}}
+
|label4         = Authenticity
|label4         = Obtain from
+
|data4         = {{{authenticity|Unknown}}}
|data4         = {{Availability|{{{availability|Unknown}}}}} {{#if:{{{availability-note|}}} | <small>({{{availability-note|}}})</small> | }}
+
|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}}
 
}}
 
}}
 
{{Note list}}
 
{{Note list}}
<noinclude>{{Documentation}}[[Category:Templates]][[Category:Project Museum]]</noinclude>
+
<noinclude>{{Documentation}}[[Category:Cargo templates]][[Category:Templates]][[Category:Project Museum]]</noinclude>

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

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

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

Buy price  Bells
Sell price  Bells[nb 1]
Obtain from Unknown
Authenticity Unknown
Furniture size 1.0 x 1.0
  1. Sells for 10 Bells if it is a forgery.

Template documentation (view)


More Cargo templates