Template:&

From Portals of Phereon Wiki
Revision as of 19:56, 19 July 2019 by gamepedia>Ferretwings (Created page with "{{#if:{{{1}}} |{{#if:{{{1|}}}|&{{#switch:{{{1}}} |!=<nowiki/>#33<!-- the nowiki/ is necessary for displaying the # sign--> |"=quot<!--"--> |#=<nowiki/>#35 |$=<nowiki/>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view | edit | purge]Documentation

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;) will be 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.

This template will be used most predominately in the DPL Manual.

Examples

code gives
{{&|nbsp}} &nbsp;
{{&|bull}} &bull;
{{&|lt}} &lt;
{{&|#32}} &#32;
{{&|<}} &lt;
{{&|=}} &#61; <- the '=' is treated as a parameter value
{{&||}} &#124; <- the '|' is treated as a parameter value

[view | edit | purge]The above documentation is transcluded fromTemplate:&/doc.