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

From blackwiki
Jump to navigation Jump to search
blackwiki>Swpb
m (9 revisions imported)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
+
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) -->
 +
 
 +
== Description ==
 +
Repeats what you enter twice.
  
 
== Usage ==
 
== Usage ==
Repeats whatever is entered into it twice.
+
{{tlx|2x|your text here}}
 +
 
 +
== Example ==
 +
{| class="wikitable"
 +
|-
 +
! Code !! Result
 +
|-
 +
| {{tlx|2x|Red Sox!}} || {{2x|Red Sox!}}
 +
|}
  
Example:
+
== See also ==
;Code
+
* {{tl|1x}}
{{tlx|2x|Go Red Sox!}}
+
* {{tl|2x}}
;Result
+
* {{tl|3x}}
{{2x|Go Red Sox!}}
 
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
+
<!-- Add categories below this line, and interwikis at Wikidata -->
 
[[Category:Text-specific formatting and function templates]]
 
[[Category:Text-specific formatting and function templates]]
 +
[[Category:Wikipedia utility templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:55, 14 October 2020

Description

Repeats what you enter twice.

Usage

{{2x|your text here}}

Example

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

See also