Error creating thumbnail: File missing Join our Discord!
If you have been locked out of your account you can request a password reset here.

Template:Space/doc: Difference between revisions

From Internet Movie Firearms Database - Guns in Movies, TV and Video Games
Jump to navigation Jump to search
(Created page with "==Purpose== This template inserts the specified number of non-breaking spaces (1 to 30) passed in parameter 1, as a string of " " characters repeated. == Usage == Us...")
 
No edit summary
 
Line 10: Line 10:
*"This is a{{tlc|space|15}}test" →"This is a{{space|15}}test"
*"This is a{{tlc|space|15}}test" →"This is a{{space|15}}test"
:The template {{tl|space}} is limited to adding '''30 spaces'''.
:The template {{tl|space}} is limited to adding '''30 spaces'''.
<noinclude>[[Category:Template documentation]]
</noinclude>

Latest revision as of 19:23, 1 April 2023

Purpose

This template inserts the specified number of non-breaking spaces (1 to 30) passed in parameter 1, as a string of "&nbsp;" characters repeated.

Usage

Using {{space}} can be used inline to create alignment between adjacent text lines, or to space out titles, etc. It takes a numeric argument (up to 30) after the pipe and provides that many consecutive spaces.

Examples

  • "This is a{{space|2}}test" →"This is a  test"
  • "This is a{{space|7}}test" →"This is a       test"
  • "This is a{{space|15}}test" →"This is a               test"
The template {{space}} is limited to adding 30 spaces.