Difference between revisions of "Template:;"

From relax wiki
Jump to navigation Jump to search
m (1 revision imported: The current Wikipedia Template:key press template.)
 
m (Switch from the imported {{informative template}} to the relax {{template info}} template)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
&#59;<noinclude>
 
&#59;<noinclude>
 +
{{template info|1=
 +
__NOTOC__
 +
== Goal ==
 +
This template will add a semicolon <nowiki>;</nowiki> inside a template parameter, as using that directly would break the template.
  
{{Documentation}}
+
== Usage ==
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
+
<pre>{{;}}</pre>
 +
 
 +
An alternative method is to use
 +
&lt;nowiki&gt;<nowiki>;</nowiki>&lt;/nowiki&gt;
 +
 
 +
== Examples ==
 +
 
 +
=== Standalone ===
 +
{{obr}};{{cbr}}
 +
{{;}}
 +
 
 +
=== URL ===
 +
http://test_xyz.com?x{{obr}};{{cbr}}b
 +
http://test_xyz.com?x{{;}}b
 +
 
 +
=== Infobox ===
 +
{{obr}}infobox
 +
{{!}} label1 = {{obr}};{{cbr}}
 +
{{!}} data1  = test
 +
{{cbr}}
 +
 
 +
{{infobox
 +
| label1 = {{;}}
 +
| data1  = test
 +
| float  = none
 +
}}
 +
 
 +
== Related templates ==
 +
* {{tl|!}}
 +
* {{tl|!-}}
 +
* {{tl|!!}}
 +
* {{tl|{{=}}}}
 +
 
 +
[[Category:Punctuation templates]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 13:52, 23 October 2020

;

Template documentation

Goal

This template will add a semicolon ; inside a template parameter, as using that directly would break the template.

Usage

{{;}}

An alternative method is to use

<nowiki>;</nowiki>

Examples

Standalone

{{;}}

;

URL

http://test_xyz.com?x{{;}}b

http://test_xyz.com?x;b

Infobox

{{infobox
| label1 = {{;}}
| data1  = test
}}
; test

Related templates