Template:437 code: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(revert)
Tag: Manual revert
 
Line 1: Line 1:
<noinclude>{{cleanup}}</noinclude>
<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]]



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.