Template:437 code: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq: {{{2|}}} |hex|{{#cargo_query:table=CodePage|fields=C|where=Hex="{{{1|}}}"}}|{{#cargo_query:table=CodePage|fields=C|where=Deci="{{{1|}}}"}}}}</includeonly...")
 
(revert)
Tag: Manual revert
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{2|}}} |hex|{{#cargo_query:table=CodePage|fields=C|where=Hex="{{{1|}}}"}}|{{#cargo_query:table=CodePage|fields=C|where=Deci="{{{1|}}}"}}}}</includeonly><noinclude>[[Category:Templates]]
<includeonly>{{#ifeq: {{{2|}}} |hex|{{#cargo_query:table=CodePage|fields=C|where=Hex="{{{1|}}}"}}|{{#cargo_query:table=CodePage|fields=C|where=Deci="{{{1|}}}"}}}}</includeonly><noinclude>[[Category:Templates]]


Template that autoqueries the associated codepage 437 code. You can specify 'hex' as second argument to make the template ask for the hex code (in the form of <code>\\u00__</code>)(to escape the backslash). It defaults to decimal.
Template that autoqueries the associated [[Modding:_Code_page_437|codepage 437 code]]. You can specify 'hex' as second argument to make the template ask for the hex code (in the form of <code>\\u00__</code>)(to escape the backslash). It defaults to decimal.


==Usage==
==Usage==

Latest revision as of 06:59, 10 April 2022


Template that autoqueries the associated codepage 437 code. You can specify 'hex' as second argument to make the template ask for the hex code (in the form of \\u00__)(to escape the backslash). It defaults to decimal.

Usage

{{437 code|69}}
Error: Table CodePage not found.
{{437 code|\\u004f|hex}}
Error: Table CodePage not found.