Difference between revisions of "Template:TrophyInfo"

From Nookipedia, the Animal Crossing wiki
(updating template design akin to Template:SpiritInfo; will need to update every template usage promptly to fit this new template setup.)
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| align="left" style="background: #daa520; border: 2px solid #bc8f8f; width: 60%; {{roundy|25px}}"
+
<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="background: #f5deb3; padding: 10px; {{roundy|25px}};" align="center" width="100%" colspan="3" |
+
! style="width:40%; background: #e6cda8; text-align:center; {{roundytl|9px}} " {{!}} '''Description'''
===== {{{name|{{PAGENAME}}}}} =====
+
{{!}} 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'''
| style="background: #f5deb3; padding: 10px; {{roundy|25px}};" align="center" width="20%" | {{{image}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundybr|9px}}" {{!}} {{{obtain|This template is missing an obtainment method.}}}
| style="background: #ffdead; padding: 10px; {{roundyleft|25px}};" align="center" width="70%" | ''{{{description|This is missing a description!}}}''
+
|}
| style="background: #ffdead; padding: 10px; {{roundyright|25px}};" align="center" width="10%" | {{{obtain|This is missing an obtainment method!}}}
+
</div>
|}<br clear=all>
+
</div>
<noinclude>[[Category:Templates]]
+
</div>
<pre>
+
<noinclude>
{{TrophyInfo
+
[[Category:Super Smash Bros. templates]]<pre>{{TrophyInfo
|image=  
+
|number=
|description=  
+
|name=
|obtain=  
+
|image=
}}
+
|description=
</pre>
+
|obtain=
</noinclude>
+
}}</pre></noinclude>

Latest revision as of 00:32, October 6, 2021

#

TrophyInfo

TrophyInfo

Description This template is missing a description.
Acquisition This template is missing an obtainment method.
{{TrophyInfo
|number=
|name=
|image=
|description=
|obtain=
}}