FANDOM


 
Line 1: Line 1:
<includeonly>{{#vardefine:type|{{ucfirst:{{{type|}}}}}}}<!--
+
<includeonly>{{#vardefine:commonStyle|position: absolute; width: 150px; text-align: center; color: #fff; font-family: nintendoP_Skip-D_003, sans-serif; font-weight:bold; text-shadow: -1px -1px 2px #323232, 1px -1px 2px #323232, -1px 1px 2px #323232, 1px 1px 2px #323232; white-space: nowrap; }}<!--
-->{{#vardefine:style|position: absolute; transform: rotateZ(4deg); text-shadow: -1px -1px 0 #321E0A, 1px -1px 0 #321E0A, -1px 1px 0 #321E0A, 1px 1px 0 #321E0A; width: 150px; text-align: center}}<!--
+
--><div><div style="position: relative; width: 320px">[[File:Banner {{{bannerName|}}}.png|320px|link=]]
--><div style="position: relative; width: 350px">[[File:Banner {{{image|{{{text 2|}}}}}}.png|350px|link=]]
+
<div style="position: absolute; top: -0px; left: 0px; z-index:3;">[[File:Empty Space GHB.png|320px|link={{{link|}}}]]</div>
<!--
+
<div style="top: 22px; right: 0px; {{#var:commonStyle}} transform: rotate(5deg);">{{{text1|}}}</div>
----------------------- TEXT 1 -------------------------------
+
<div style="top: 50px; right: 0px; {{#var:commonStyle}} transform: rotate(4deg);">{{{text2|}}}</div>
--><b style="top: 26px; right: 5px; {{#var:style}}">{{#switch:{{#var:type}}
+
<div style="bottom: 3px; right: 0px; {{#var:commonStyle}}>{{{text3|}}}</div>
|Bound = [[{{{link 1|{{{text 1|}}}}}}|<span style="color: #fff">{{{text 1|}}}</span>]]
+
</div><span style="text-align:center">[[{{{link|}}}]]</span></div></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
|#default = {{{text 1|}}}}}</b>
 
<!--
 
----------------------- TEXT 2 -------------------------------
 
--><b style="top: 56px; right: 0; {{#var:style}}">{{#switch:{{#var:type}}
 
|Event
 
|Trial = {{{text 2|}}}
 
|#default = [[{{{link 2|{{{text 2|}}}}}}|<span style="color: #fff">{{{text 2|}}}</span>]]
 
}}</b>
 
<!--
 
----------------------- BANNER TYPE -------------------------------
 
--><b style="bottom: 4px; right: 5px; {{#var:style}}; transform: none; color: #ccc">{{#switch:{{#var:type}}
 
|Event = Event Map
 
|Trial = Trial Map
 
|#default = {{#var:type}} Hero Battle}}</b>
 
</div></includeonly><noinclude>{{-}}[[Category:Templates]]
 
Used to add text to [[Special Maps]] banners.
 
==Parameters==
 
<pre>
 
{{Banner
 
|type = //Bound | Grand (default is blank)
 
|text 1 =
 
|text 2 =
 
|link 1 = //page link in case text and link are not similar
 
|link 2 =
 
|image = //image name (optional)
 
}}
 
</pre>
 
 
Example:
 
{{Banner
 
|type = Bound
 
|text 1 = Cecilia
 
|text 2 = Lilina
 
|image = Lilina and Cecilia
 
}}
 
</noinclude>
 

Latest revision as of 02:29, February 17, 2018

Template:Banner/doc

Community content is available under CC-BY-SA unless otherwise noted.