Template:&: Difference between revisions

From Portals of Phereon Wiki
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/>...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 12:34, 1 December 2019

[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.