Difference between revisions of "Template:TrophyInfo"
From Nookipedia, the Animal Crossing wiki
SuperAlpaca (talk | contribs) |
PanchamBro (talk | contribs) (updating template design akin to Template:SpiritInfo; will need to update every template usage promptly to fit this new template setup.) |
||
(22 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {| | + | <div style="display: grid; vertical-align: top; background: #f5deb3; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #daa520; max-width: 700px; padding: 2px;"> |
+ | <div class="flex-container"> | ||
+ | <div class="flex-item" style="margin: 0 auto; background: #ffffff; {{roundy|9px}}; text-align: center; padding: 10px; max-width: 250px;"> | ||
+ | <div style="float: left; position: absolute; background: #e6cda8; border-radius: 15px; color: #000000; padding: 5px;"><small>#{{#invoke:formatnum|main|lang=en|{{{number|}}}}}{{#if:{{{number2|}}}|<br>#{{#invoke:formatnum|main|lang=en|{{{number2|}}}}}}}</small></div> | ||
+ | <div style="display: table; height: 100%; width: 100%;"> | ||
+ | <div style="display: table-cell; vertical-align: middle;"> | ||
+ | [[File:{{{image|Nia.png}}}|{{{image-size|100px}}}|{{SUBPAGENAME}}]]<br>{{#if:{{{image2|}}}|<br>{{#if:{{{image2|}}}|[[File:{{{image2}}}|{{{imagesize2|100px}}}|{{SUBPAGENAME}}]]|}}}}<br>'''{{{name|{{PAGENAME}}}}}'''{{#if:{{{subname|}}}|<br>''{{{subname|{{PAGENAME}}}}}''}} | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="flex-item"> | ||
+ | {| style="display: inline-table; width: 100%; height: 100%;" | | ||
|- | |- | ||
− | + | ! style="width:40%; background: #e6cda8; text-align:center; {{roundytl|9px}} " {{!}} '''Description''' | |
− | + | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundytr|9px}}" {{!}} {{#if:{{{description-ntsc|}}}|'''NTSC-U:''' ''{{{description-ntsc|}}}''|''{{{description|This template is missing a description.}}}''}}{{#if:{{{description-pal|}}}|<br><br>'''PAL:''' ''{{{description-pal|}}}''}} | |
− | + | {{!-}} | |
− | + | {{!-}} | |
− | + | ! style="background: #e6cda8; text-align:center; {{roundybl|9px}}" {{!}} '''Acquisition''' | |
− | | | + | {{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundybr|9px}}" {{!}} {{{obtain|This template is missing an obtainment method.}}} |
− | + | |} | |
− | |}< | + | </div> |
− | <noinclude>[[Category: | + | </div> |
− | <pre> | + | </div> |
− | {{TrophyInfo | + | <noinclude> |
− | |image= | + | [[Category:Super Smash Bros. templates]]<pre>{{TrophyInfo |
− | |description= | + | |number= |
− | |obtain= | + | |name= |
− | }} | + | |image= |
− | </pre> | + | |description= |
− | </noinclude> | + | |obtain= |
+ | }}</pre></noinclude> |