Difference between revisions of "Template:2x/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>LLarson
(→‎Usage: “Repeats whatever is entered into it twice” → “Repeats whatever is entered into it”)
blackwiki>Milker
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 +
 +
== Description ==
 +
Repeats what you enter '''two''' times.
  
 
== Usage ==
 
== Usage ==
Repeats whatever is entered into it.
+
{{tlx|2x|your text here}}
 +
 
 +
== Example ==
 +
{| class="wikitable"
 +
|-
 +
! Code !! Result
 +
|-
 +
| {{tlx|2x|Red Sox!}} || {{2x|Red Sox!}}
 +
|}
 +
 
 +
== See also ==
 +
* {{tl|1x}}
 +
* {{tl|2x}}
 +
* {{tl|3x}}
  
Example:
 
;Code
 
{{tlx|2x|Go Red Sox!}}
 
;Result
 
{{2x|Go Red Sox!}}
 
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>
<!-- Categories go here and interwikis go in Wikidata. -->
+
<!-- ADD CATEGORIES HERE, and INTERWIKIS IN WIKIDATA -->
[[Category:Text-specific formatting and function templates]]
+
[[{{ns:Category}}:Text-specific formatting and function templates]]
}}</includeonly>
+
</includeonly>

Revision as of 14:05, 6 January 2020

Description

Repeats what you enter two times.

Usage

{{2x|your text here}}

Example

Code Result
{{2x|Red Sox!}} Red Sox!Red Sox!

See also