Difference between revisions of "Template:TrophyInfo"

From Nookipedia, the Animal Crossing wiki
(Updating category)
(updating template design akin to Template:SpiritInfo; will need to update every template usage promptly to fit this new template setup.)
 
Line 1: Line 1:
<div class="nomobile">
+
<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;">
{| align="left" style="background: #daa520; border: 2px solid #bc8f8f; width: 50%; {{roundy|25px}}"
+
<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: #e6cda8; padding: 10px; {{roundyleft|25px}};" align="center" width="25%" rowspan="3" | {{{image|[[File:Nia.png|180px]]}}}
+
! style="width:40%; background: #e6cda8; text-align:center; {{roundytl|9px}} " {{!}} '''Description'''
| style="background: #f5deb3; padding: 3px; {{roundytr|25px}};" align="center" width="100%" colspan="3"|<big>{{#if:{{{number|}}}|<nowiki>#</nowiki>{{{number|}}}}} '''{{{name|{{PAGENAME}}}}}'''</big>
+
{{!}} 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: #f5deb3; padding: 10px;" align="center" width="60%" | {{#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; {{roundybr|25px}};" align="center" width="15%" | {{{obtain|This template is missing an obtainment method.}}}
+
{{!}} colspan="2" style="background:#ffffff; padding:0 0 0 6px; {{roundybr|9px}}" {{!}} {{{obtain|This template is missing an obtainment method.}}}
|}
 
{{Clear}}</div>
 
 
 
<div class="onlymobile">
 
{| align="left" style="background: #daa520; border: 2px solid #bc8f8f; width: 100%; {{roundy|25px}}"
 
|-
 
| style="background: #e6cda8; padding: 10px; {{roundyleft|25px}};" align="center" width="25%" rowspan="3" | {{{image|[[File:Nia.png|180px]]}}}
 
| style="background: #f5deb3; padding: 3px; {{roundytr|25px}};" align="center" width="100%" colspan="3"|<big>{{#if:{{{number|}}}|<nowiki>#</nowiki>{{{number|}}}}} '''{{{name|{{PAGENAME}}}}}'''</big>
 
|-
 
| style="background: #f5deb3; padding: 10px;" align="center" width="60%" | {{#if:{{{description-ntsc|}}}|'''NTSC-U:''' ''{{{description-ntsc|}}}''|''{{{description|This template is missing a description.}}}''}}{{#if:{{{description-pal|}}}|<br><br>'''PAL:''' ''{{{description-pal|}}}''}}
 
|-
 
| style="background: #f5deb3; padding: 10px; {{roundybr|25px}};" align="center" width="15%" | {{{obtain|This template is missing an obtainment method.}}}
 
 
|}
 
|}
{{Clear}}</div>
+
</div>
<noinclude>[[Category:Super Smash Bros. templates]]<pre>{{TrophyInfo
+
</div>
 +
</div>
 +
<noinclude>
 +
[[Category:Super Smash Bros. templates]]<pre>{{TrophyInfo
 
|number=
 
|number=
 
|name=
 
|name=

Latest revision as of 23:32, October 5, 2021

#

TrophyInfo

TrophyInfo

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