Template:&
Appearance
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this template's documentation (edit) (about template documentation). |
No TemplateStyles exist (create). Remember to add after the opening <includeonly> tag:
|
<templatestyles src="Template:&/styles.css" />
|
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 |