FANDOM


(Created page with "<includeonly>{{#vardefine:commonStyle|position: absolute; width: 150px; text-align: center; color: #fff; font-family: nintendoP_Skip-D_003, sans-serif; font-weight:bold; text-...")
 
Line 1: Line 1:
<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; }}<!--
+
<includeonly>{{#vardefine:type|{{ucfirst:{{{type|}}}}}}}<!--
--><div><div style="position: relative; width: 320px">[[File:Banner {{{bannerName|}}}.png|320px|link=]]
+
-->{{#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 style="position: absolute; top: -0px; left: 0px; z-index:3;">[[File:Empty Space GHB.png|320px|link={{{link|}}}]]</div>
+
--><div style="position: relative; width: 350px">[[File:Banner {{{image|{{{text 2|}}}}}}.png|350px|link=]]
<div style="top: 22px; right: 0px; {{#var:commonStyle}} transform: rotate(5deg);">{{{text1|}}}</div>
+
<!--
<div style="top: 50px; right: 0px; {{#var:commonStyle}} transform: rotate(4deg);">{{{text2|}}}</div>
+
----------------------- TEXT 1 -------------------------------
<div style="bottom: 3px; right: 0px; {{#var:commonStyle}}>{{{text3|}}}</div>
+
--><b style="top: 26px; right: 5px; {{#var:style}}">{{#switch:{{#var:type}}
</div><span style="text-align:center">[[{{{link|}}}]]</span></div></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
+
|Bound = [[{{{link 1|{{{text 1|}}}}}}|<span style="color: #fff">{{{text 1|}}}</span>]]
  +
|#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>

Revision as of 02:25, February 17, 2018


Used to add text to Special Maps banners.

Parameters

{{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)
}}

Example:

{{#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; }}
[[]]
Community content is available under CC-BY-SA unless otherwise noted.