Template:&/doc
Appearance
| Documentation subpage |
|---|
| View this documentation's related template: Template:& (edit). |
| Template styles: CSS styles (edit). |
Example(s)
[edit source]| code | gives | |
|---|---|---|
{{&|nbsp}}
|
| |
{{&|bull}}
|
• | |
{{&|lt}}
|
< | |
{{&|#32}}
|
  | |
{{&|<}}
|
< | |
{{&|=}}
|
= | <- the '=' is treated as a parameter value |
{{&||}}
|
| | <- the '|' is treated as a parameter value |
Template Data
[edit source]Any HTML character entity name or number recognized by the wiki can be passed as an argument, and its HTML character entity reference (&''name''; or &#''number'';) is returned. Without this template, &amp;''name''; or &amp;#''number'';would need to be used. A keyboard character can be sent instead of the entity name, however not all characters have been coded.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Enter the HTML entity to prefix, without using & in front. | String | required |
| 2 | 2 | If empty, produces the HTML entity for pipe as the result . | String | optional |