Difference between revisions of "Template:StickerInfo"

From Nookipedia, the Animal Crossing wiki
(Updating category)
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="nomobile">
+
<noinclude>{{#cargo_declare:
{| align="left" style="background: #daa520; border: 2px solid #bc8f8f; width: 50%; {{roundy|25px}}"
+
_table=ssbb_sticker
 +
|number = Integer
 +
|name = String
 +
|image = String
 +
|image_url = String
 +
|effect = String
 +
|fighters = List (,) of String
 +
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 +
_table=ssbb_sticker
 +
|number = {{{number|}}}
 +
|name = {{{name|{{PAGENAME}}}}}
 +
|image = {{{image|}}}
 +
|image_url = {{filepath:{{{image|}}}}}
 +
|effect = {{{effect|}}}
 +
|fighters = {{{fighters|}}}
 +
}}}}</includeonly><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; {{roundy|9px}}; text-align: center; padding: 10px; max-width: 250px;">
 +
<div style="float: left; position: absolute; background: #ffffff; border-radius: 15px; color: #000000; padding: 5px;"><small>#{{#invoke:formatnum|main|lang=en|{{{number|}}}}}</small></div>
 +
<div style="display: table; height: 100%; width: 100%;">
 +
<div style="display: table-cell; vertical-align: middle;">
 +
[[File:{{{image|Nia.png}}}|class=sprite|{{SUBPAGENAME}}]]<br>'''{{{name|{{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="background: #e6cda8; {{roundytl|9px}}; text-align:center; width:50%" | '''Effect'''
| 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: #e6cda8; {{roundytr|9px}} text-align:center;" {{!}} '''Fighters'''
 
|-
 
|-
| style="background: #f5deb3; padding: 10px;" align="center" width="60%" | {{{effect|Effect unknown}}}
+
| style="background:#ffffff; {{roundybl|9px}} padding:0 0 0 6px; text-align:center;" | {{{effect|}}}
|-
+
| colspan="2" style="background:#ffffff; {{roundybr|9px}} padding:0 0 0 6px; text-align:center;" | {{#invoke:Items|outputStickersFighters|{{{fighters|}}}}}
| style="background: #f5deb3; padding: 10px; {{roundybr|25px}};" align="center" width="15%" | {{{fighters|Fighters unknown}}}
 
|}
 
{{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%" | {{{effect|}}}
 
|-
 
| style="background: #f5deb3; padding: 10px; {{roundybr|25px}};" align="center" width="15%" | {{{fighters|}}}
 
 
|}
 
|}
{{Clear}}</div>
+
</div>
<noinclude>[[Category:Super Smash Bros. templates]]<pre>{{TrophyInfo
+
</div>
|number=
+
</div>{{clear}}<noinclude>{{Documentation}}[[Category:Super Smash Bros. templates]][[Category:Cargo templates]]</noinclude>
|name=
 
|image=
 
|effect=
 
|fighters=
 
}}</pre></noinclude>
 

Latest revision as of 18:49, December 24, 2022

This template defines the table "ssbb_sticker". View table.

#

StickerInfo
StickerInfo

Effect Fighters

No documentation for Template:StickerInfo exists. Create it.