Template:&/doc: Difference between revisions
Content added Content deleted
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum m (I think I inadvertently knocked off needed categories) |
||
Line 40: | Line 40: | ||
<!-- Template categories/interwikis here --> |
<!-- Template categories/interwikis here --> |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
[[Category:Formatting templates]] |
|||
</includeonly> |
</includeonly> |
Latest revision as of 22:37, 29 March 2022
[purge]
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more informationAny 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}}
|
&
| |
{{&|<}}
|
< | |
{{&|=}}
|
= | <- the '=' is treated as a parameter value |
{{&||}}
|
| | <- the '|' is treated as a parameter value |