Difference between revisions of "Template:CodeChart/Char/sandbox"

From Terminals
Jump to: navigation, search
m (no bold on regular cell)
m (anchors are terminal)
Line 2: Line 2:
 
</noinclude><includeonly>{{#if:{{{2|}}}<!--
 
</noinclude><includeonly>{{#if:{{{2|}}}<!--
 
-->|{{#ifeq:#|{{#sub:{{{2}}}|0|1}}<!--
 
-->|{{#ifeq:#|{{#sub:{{{2}}}|0|1}}<!--
 +
  -->| style="background-color: pink;" <!--
 
   -->| style="background-color: lightgreen;" <!--
 
   -->| style="background-color: lightgreen;" <!--
  -->| style="background-color: pink;" <!--
 
 
   -->}} {{!}} [[{{{2}}}|'''{{{1}}}''']]<!--
 
   -->}} {{!}} [[{{{2}}}|'''{{{1}}}''']]<!--
 
-->| {{{1}}}<!--
 
-->| {{{1}}}<!--

Revision as of 05:46, 16 January 2013

Template

[edit] [history] [purge] Documentation icon Template documentation

This template is used to format a character cell in a control sequence code chart. The arguments are:

  • Required: The character in the cell
  • The link target for the cell. For a character terminating an escape sequence, use an anchor target like #cursor-address and explain the escape sequence on the same page with an anchor. For a non-terminal character in the escape sequence, link to a subpage of the current page like /ESC. Terminating characters and non-terminating characters are styled with different background colors to readily distinguish between them.

</noinclude