Anonymous user
Template:Splash/doc: Difference between revisions
m
New splash argument
imported>Ttv pedro270707 (Created page with "This template creates a Minecraft-like splash text. == Usage == To use this template, simply type <code><nowiki>{{splash}}</nowiki></code> in your page. The splash is pseudo-random. The list of splashes used is located at Module:Splash/splashes. An important thing to note is that the splash's <code>position</code> is <code>absolute</code>, meaning you may run into unexpected behavior. <div style="position: relative; display: inline-block; left: 150px;">{{splash}}</...") |
imported>Ttv pedro270707 m (New splash argument) |
||
Line 1: | Line 1: | ||
This template creates a Minecraft-like splash text. | This template creates a Minecraft-like splash text. | ||
== Argument == | |||
{| class="wikitable" | |||
!Argument!!Value!!Note | |||
|- | |||
|<code>splash</code>||<code>splash</code>||Lets you choose the splash if desired. Do not use if a pseudo-random splash is wanted. | |||
|} | |||
== Usage == | == Usage == | ||
To use this template, simply type <code><nowiki>{{splash}}</nowiki></code> in your page. The splash is pseudo-random. The list of splashes used is located at [[Module:Splash/splashes]]. An important thing to note is that the splash's <code>position</code> is <code>absolute</code>, meaning you may run into unexpected behavior. | To use this template, simply type <code><nowiki>{{splash}}</nowiki></code> in your page. The splash is pseudo-random. The list of splashes used is located at [[Module:Splash/splashes]]. An important thing to note is that the splash's <code>position</code> is <code>absolute</code>, meaning you may run into unexpected behavior. | ||
<div style="position: relative; display: | <div style="position: relative; display: block; width: 200px; height: 40px; margin-bottom: 100px;">{{splash}}</div> | ||
You can also pass the <code>splash</code> argument for a set splash: | |||
<div style="position: relative; display: block; width: 200px; height: 40px;">{{splash|splash=This splash is not random! It uses the <code>splash</code> argument!}}</div> |