Difference between revisions of "Template:Fossil Info"

From Nookipedia, the Animal Crossing wiki
(Rm extra closing div)
(Increase width)
Line 1: Line 1:
<div style="vertical-align: top; background: #{{{primarycolor|b3b3b3}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #{{{bordercolor|4d4d4d}}}; padding: 2px; width: 250px;">
+
<div style="vertical-align: top; background: #{{{primarycolor|b3b3b3}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #{{{bordercolor|4d4d4d}}}; padding: 2px; width: 300px;">
 
<div style="margin: 0 auto; background: #ffffff; {{roundy|11px}}; text-align: center; padding: 10px;">
 
<div style="margin: 0 auto; background: #ffffff; {{roundy|11px}}; text-align: center; padding: 10px;">
 
{{#if:{{{number|}}}|<div style="float: left; position: absolute; background: #{{{secondarycolor|d9d9d9}}}; border-radius: 15px; color: #FFFFFF; padding: {{#ifexpr:{{{number|0}}}>9|3px|0px}} 5px;"><small>#{{{number|}}}</small></div> | }}
 
{{#if:{{{number|}}}|<div style="float: left; position: absolute; background: #{{{secondarycolor|d9d9d9}}}; border-radius: 15px; color: #FFFFFF; padding: {{#ifexpr:{{{number|0}}}>9|3px|0px}} 5px;"><small>#{{{number|}}}</small></div> | }}

Revision as of 22:34, October 11, 2020

Have an image of this fossil?
Then please upload it!

{{{label}}}

Usage

{{Fossil Info
|bordercolor    = 
|primarycolor   = 
|secondarycolor = 
|title          = 
|image          =
|caption        =
|image2         =
|caption2       =
|label          = 
|data           = 
|label2         = 
|data2          = 
|label3         = 
|data3          = 
|label4         = 
|data4          = 
|label5         = 
|data5          = 
|label6         = 
|data6          = 
|label7         = 
|data7          = 
|label8         = 
|data8          = 
|label9         = 
|data9          = 
|label10        = 
|data10         = 
|label11        = 
|data11         = 
|labelend       = 
|dataend        = 
}}