Template:2DesignFriendBox/Kingdom: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:FriendBoxes]]</noinclude>{{#if: {{{kingdompic|}}} | {{#vardefine:pic|{{{kingdompic}}}}} | {{#vardefine:pic|noface.jpg}}}}
<noinclude>[[Category:FriendBoxes]]</noinclude>{{#if: {{{kingdompic|}}} | {{#vardefine:pic|{{{kingdompic}}}}} | {{#vardefine:pic|noface.jpg}}}}
{|class="infobox" style="border:0px solid #3b587e; border-radius: 15px; width:320px; font-size:100%; background:#f0f0f0; text-align:center; margin-left:20px;" align="right"
{|class="infobox" style="border:0px solid #3b587e; border-radius: 15px; width:320px; font-size:100%; background:#f0f0f0; text-align:center; margin-left:20px;" align="right"
! align="center" colspan="4" bgcolor="#5380FB" style="border-radius: 15px; background-color: #3BACD1; color:#FFF;" | <div style="translate: -10px -25px; width:70px; height:70px; position: absolute; background-color: #3BACD1; clip-path: polygon(37% 28%, 38% 21%, 33% 19%, 28% 20%, 25% 24%, 23% 29%, 23% 35%, 23% 41%, 25% 45%, 39% 46%, 38% 43%, 38% 38%, 37% 34%);"></div><div class="nomobile" style="rotate:(75deg); transform: scaleX(-1); translate: 363% -35%; width:70px; height:70px; position: absolute; background-color: #3BACD1; clip-path: polygon(37% 28%, 38% 21%, 33% 19%, 28% 20%, 25% 24%, 23% 29%, 23% 35%, 23% 41%, 25% 45%, 39% 46%, 38% 43%, 38% 38%, 37% 34%)"></div><div class="hidedesktop" style="rotate:(75deg); transform: scaleX(-1); translate: 385% -38%; width:70px; height:70px; position: absolute; background-color: #3BACD1; clip-path: polygon(37% 28%, 38% 21%, 33% 19%, 28% 20%, 25% 24%, 23% 29%, 23% 35%, 23% 41%, 25% 45%, 39% 46%, 38% 43%, 38% 38%, 37% 34%)"></div>{{{name|{{PAGENAME}}}}}
! align="center" colspan="4" bgcolor="#5380FB" style="border-radius: 15px; background-color: #3BACD1; color:#FFF; font-size:1.15em;" | <div style="translate: -10px -25px; width:70px; height:70px; position: absolute; background-color: #3BACD1; clip-path: polygon(37% 28%, 38% 21%, 33% 19%, 28% 20%, 25% 24%, 23% 29%, 23% 35%, 23% 41%, 25% 45%, 39% 46%, 38% 43%, 38% 38%, 37% 34%);"></div><div class="nomobile" style="rotate:(75deg); transform: scaleX(-1); translate: 363% -35%; width:70px; height:70px; position: absolute; background-color: #3BACD1; clip-path: polygon(37% 28%, 38% 21%, 33% 19%, 28% 20%, 25% 24%, 23% 29%, 23% 35%, 23% 41%, 25% 45%, 39% 46%, 38% 43%, 38% 38%, 37% 34%)"></div><div class="hidedesktop" style="rotate:(75deg); transform: scaleX(-1); translate: 385% -38%; width:70px; height:70px; position: absolute; background-color: #3BACD1; clip-path: polygon(37% 28%, 38% 21%, 33% 19%, 28% 20%, 25% 24%, 23% 29%, 23% 35%, 23% 41%, 25% 45%, 39% 46%, 38% 43%, 38% 38%, 37% 34%)"></div>{{{name|{{PAGENAME}}}}}
|-
|-
| align="center" colspan="4" |
| align="center" colspan="4" |
<tabber>
<tabber>
|-|Initial=
|-|Initial=
[[File:{{#setmainimage:{{#var:pic}}}}|300x300px]]
[[File:{{#setmainimage:{{#var:pic}}}}|220x300px]]
<div class="center">{{{rarity}}}</div>
<div class="center">{{{rarity}}}</div>
|-|Awakened=
|-|Awakened=
{{#ifexist:File:{{{awakenpic}}}|[[File:{{{awakenpic}}}|300x300px]]|[[File:Noface.jpg|300x300px|link=File:{{{awakenpic}}}]]}}
{{#ifexist:File:{{{awakenpic}}}|[[File:{{{awakenpic}}}|220x300px]]|[[File:Noface.jpg|220x300px|link=File:{{{awakenpic}}}]]}}
<div class="center">{{{rarity}}}</div>
<div class="center">{{{rarity}}}</div>
</tabber>
</tabber>