模板:&/doc

出自Terraria Wiki
跳至導覽 跳至搜尋

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, &name; or &#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}}  
{{&|bull}} •
{{&|lt}} <
{{&|#32}}  
{{&|<}} &lt;
{{&|=}} &#61; <- the '=' is treated as a parameter value
{{&||}} &#124; <- the '|' is treated as a parameter value