Difference between revisions of "Template:Infobox fragrance"

From blackwiki
Jump to navigation Jump to search
imported>Status
(add)
imported>Status
(Undid revision 531577160 by Status (talk))
Line 6: Line 6:
 
{{#ifeq:{{{Image}}}|none| |[[Image:{{{Image}}}|{{min|230|{{{Image size|}}}}}px|{{{Name}}}]]}}| }}
 
{{#ifeq:{{{Image}}}|none| |[[Image:{{{Image}}}|{{min|230|{{{Image size|}}}}}px|{{{Name}}}]]}}| }}
 
{{#if:{{{Caption|}}} | <div style="font-size: 1em; line-height: 1.4em;">{{{Caption}}}</div>
 
{{#if:{{{Caption|}}} | <div style="font-size: 1em; line-height: 1.4em;">{{{Caption}}}</div>
}}
 
{{#if:{{{Image2|}}}|
 
{{#ifeq:{{{Image2}}}|none| |[[Image:{{{Image2}}}|{{min|230|{{{Image size|}}}}}px|{{{Name}}}]]}}| }}
 
{{#if:{{{Caption2|}}} | <div style="font-size: 1em; line-height: 1.4em;">{{{Caption2}}}</div>
 
 
}}
 
}}
 
|-
 
|-

Revision as of 06:17, 6 January 2013

{{{Name}}}
Fragrance by {{{Endorsed by}}}
Template documentation[view] [edit] [history] [purge]

Usage

Full code
{{Infobox fragrance
|name = 
|image = 
|image_size = 
|image_alt =
|caption = 
|endorsed_by = 
|type = 
|notes =
|top_note =
|heart_note =
|base_note =
|released = <!--{{Start date|YYYY|MM|DD}}-->
|label = 
|tagline = 
|flankers =
|predecessor = 
|successor =
|url = <!--{{URL|example.com}}-->
}}

Example

{{{Name}}}
Fragrance by {{{Endorsed by}}}
{{Infobox fragrance
|name = Glow by JLo
|image = Bad Title Example.png
|image_size = 
|image_alt =
|caption = 
|endorsed_by = [[Jennifer Lopez]]
|type = Women's fragrance
|notes = [[Orange (fruit)|Orange]], [[grapefruit]], [[jasmine]], [[orris]], [[Iris (plant)|iris]]es, [[vanilla]], [[musk]]
|top_note =
|heart_note =
|base_note =
|released = {{start date|2002|09}}
|label = [[Coty, Inc.]]
|tagline = Fresh-Sexy-Clean
|flankers = {{Collapsible list 
  |title = Flanker fragrances
  |framestyle = border:none; padding:0;
  |1= [[Miami Glow by JLo]]
  |2= [[Love at First Glow by JLo]]
  |3= [[Glow After Dark by JLo]]
  |4= [[Sunkissed Glow by JLo]]
  |5= [[Blue Glow by JLo]]
  |6= [[L.A. Glow by JLo]]
}}
|predecessor = n/a
|successor = [[Still Jennifer Lopez]]
|url = 
}}

es:Plantilla:Ficha de perfume it:Template:Profumo pt:Predefinição:Info/Fragrância