Template:Splash/doc: Difference between revisions
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 mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lua}} | |||
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> |
Latest revision as of 20:12, 8 August 2023
File:Lua logo.svg
This template uses Module:Splash, a script written in Lua.
This template creates a Minecraft-like splash text.
Argument[edit source]
Argument | Value | Note |
---|---|---|
splash |
splash |
Lets you choose the splash if desired. Do not use if a pseudo-random splash is wanted. |
Usage[edit source]
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.
This text is so small that you'll probably find it hard to read even at 1080p given how incredibly long it is, but at 1440p it should be fine!
You can also pass the splash
argument for a set splash:
This splash is not random! It uses the
splash
argument!