Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:;: Difference between revisions

Template page
Created page with '<noinclude>This shows a localized semicolon separator<span style="background:yellow"><!-- --></noinclude>{{#switch: {{LangSwitch| |en = Zinh-Po-space |fr =...'
 
m 11 revisions imported
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>This shows a localized semicolon separator<span style="background:yellow"><!--
<noinclude>This shows a localized semicolon separator<span style="background:yellow"><!--
--></noinclude>{{#switch: {{LangSwitch|
--></noinclude>{{#switch: {{LangSwitch|lang={{#if:{{{lang|}}}|{{{lang|}}}|{{PAGELANGUAGE}}}}
   |en = Zinh-Po-space
  | ar = Arab-Po-Spc
   |fr = Zinh-nnbsp-Po-space
  | br = Zinh-Spc-Po-Spc
   |ja = Hant-Po
   | en = Zinh-Po-Spc
   |zh = Hant-Po
  | el = Grek-Spc-Po-Spc
  | es = Zinh-Spc-Po-Spc
  | fa = Arab-Po-Spc
   | fr = Zinh-Spc-Po-Spc
  | it = Zinh-Spc-Po-Spc
   | ja = Hani-FwPo
  | oc = Zinh-Spc-Po-Spc
  | pt = Zinh-Spc-Po-Spc
  | ur = Arab-Po-Spc
   | zh = Hani-FwPo
   }}
   }}
| Zinh-Po-space = {{#switch:{{URLENCODE:{{int:semicolon-separator/{{#if:{{{lang|}}}|{{{lang|}}}|{{PAGELANGUAGE}}}}}}|QUERY}}
| Arab-Po-Spc = ؛<!--x-->&#32;
   |%3B = <nowiki/>;
| Grek-Spc-Po-Spc = &#x202F;·&#32;
   |#default = {{int:semicolon-separator/{{#if:{{{lang|}}}|{{{lang|}}}|{{PAGELANGUAGE}}}}}}
| Hani-FwPo = ;
| Zinh-Spc-Po-Spc = &#x202F;;&#32;
| Zinh-Po-Spc
| #default = {{#switch:{{URLENCODE:{{int:semicolon-separator/{{#if:{{{lang|}}}|{{{lang|}}}|{{PAGELANGUAGE}}}}}}|QUERY}}
   | %3B | %3B%20 = <nowiki />;
   | #default = {{int:semicolon-separator/{{#if:{{{lang|}}}|{{{lang|}}}|{{PAGELANGUAGE}}}}}}
   }}&#32;
   }}&#32;
| Zinh-nnbsp-Po-space = &#x202F;;&#32;
| Arab = &#32;<!--x-->؛<!--x-->&#32;
| Hant-Po = ;
}}<noinclude></span>with text immediately after it.
}}<noinclude></span>with text immediately after it.
{{Documentation}}
{{Documentation}}</noinclude>
Note that we can't tranclude <code><nowiki>{{int:semicolon-separator}}</nowiki></code> directly in Wikitext, because the ASCII semicolon that starts it is then wikified into a definition list with a defined term (and this breaks the sentences). We have to detect it (using URLENCODE) and then insert a <code><nowiki><nowiki/></nowiki></code> before the actual semicolon.
 
The URLENCODED value of <code><nowiki>{{int:semicolon-separator}}</nowiki></code> is:
* "{{URLENCODE:{{int:semicolon-separator/en}}|QUERY}}" in English
* "{{URLENCODE:{{int:semicolon-separator/fr}}|QUERY}}" in French
</noinclude>

Latest revision as of 07:05, 15 August 2026

This shows a localized semicolon separator; with text immediately after it.

Template documentation[ create · purge ]
This documentation is transcluded from Template:;/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.