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

From Terminals
Jump to: navigation, search
m (switch style if link begins with # or not)
m
Line 1: Line 1:
 
<noinclude>==Template==
 
<noinclude>==Template==
 
</noinclude><includeonly>{{#if:{{{2|}}}<!--
 
</noinclude><includeonly>{{#if:{{{2|}}}<!--
-->{{#ifeq:#|{{#sub:{{{2}}}|0|1}}<!--
+
-->|{{#ifeq:#|{{#sub:{{{2}}}|0|1}}<!--
 
   -->| style="background-color: lightgreen;" <!--
 
   -->| style="background-color: lightgreen;" <!--
 
   -->| style="background-color: pink;" <!--
 
   -->| style="background-color: pink;" <!--
 
   -->}} {{!}} [[{{{2}}}|'''{{{1}}}''']]<!--
 
   -->}} {{!}} [[{{{2}}}|'''{{{1}}}''']]<!--
 +
-->| '''{{{1}}}'''<!--
 
-->}}</includeonly><noinclude>
 
-->}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude
 
</noinclude

Revision as of 05:43, 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