Template:Splash/doc: Difference between revisions

From BTA-Mirror
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: inline-block; left: 150px;">{{splash}}</div>
<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>

Revision as of 15:28, 12 March 2023

This template creates a Minecraft-like splash text.

Argument

Argument Value Note
splash splash Lets you choose the splash if desired. Do not use if a pseudo-random splash is wanted.

Usage

To use this template, simply type {{splash}} 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 position is absolute, meaning you may run into unexpected behavior.

Shut up, sit down and eat!

You can also pass the splash argument for a set splash:

This splash is not random! It uses the splash argument!