Changes
added specific doc-text at bottom, linking to Template:Str_index_any/doc for categories.
<noinclude><!--
-======================================================================
- Str_index_code - Get character code from {1} at location {2}
-======================================================================
--></noinclude>{{{{{|safesubst:}}}ifeq
| x{{{{{|safesubst:}}}#if:1|{{{1|}}} }}<noinclude><!--
--></noinclude>| x{{{{{|safesubst:}}}padleft:{{{1|}}}| {{{2|0}}} }}<noinclude><!--
then str >= length so get character...
--></noinclude>| 3 ={{{{{|safesubst:}}}str_index/decode
| {{{{{|safesubst:}}}str index/getcode
|nocategory={{{nocategory|}}}
|*{{{{{|safesubst:}}}padleft:|{{{2|1}}}|{{{1|z}}}}}*|{{{{{|safesubst:}}}padleft:|{{{{{|safesubst:}}}#expr:{{{2|1}}}-1}} |{{{1|}}}|}}|}}|}}<noinclude><!--
else string end, so skip {Str index/getcode}
--></noinclude>| 4 =<noinclude><!--
--></noinclude>}}<noinclude>
{{Documentation|content=
The '''[[Template:Str_index_code]]''' extracts a character from parameter 1, at the location in parameter 2, using an encode/decode method for handling special markup characters. Any character can be extracted, including: colon, semicolon, [[asterisk]] ('*') and hashmark ('<small>#</small>').
{{Template:Str_index_any/doc}}
}}
</noinclude>
-======================================================================
- Str_index_code - Get character code from {1} at location {2}
-======================================================================
--></noinclude>{{{{{|safesubst:}}}ifeq
| x{{{{{|safesubst:}}}#if:1|{{{1|}}} }}<noinclude><!--
--></noinclude>| x{{{{{|safesubst:}}}padleft:{{{1|}}}| {{{2|0}}} }}<noinclude><!--
then str >= length so get character...
--></noinclude>| 3 ={{{{{|safesubst:}}}str_index/decode
| {{{{{|safesubst:}}}str index/getcode
|nocategory={{{nocategory|}}}
|*{{{{{|safesubst:}}}padleft:|{{{2|1}}}|{{{1|z}}}}}*|{{{{{|safesubst:}}}padleft:|{{{{{|safesubst:}}}#expr:{{{2|1}}}-1}} |{{{1|}}}|}}|}}|}}<noinclude><!--
else string end, so skip {Str index/getcode}
--></noinclude>| 4 =<noinclude><!--
--></noinclude>}}<noinclude>
{{Documentation|content=
The '''[[Template:Str_index_code]]''' extracts a character from parameter 1, at the location in parameter 2, using an encode/decode method for handling special markup characters. Any character can be extracted, including: colon, semicolon, [[asterisk]] ('*') and hashmark ('<small>#</small>').
{{Template:Str_index_any/doc}}
}}
</noinclude>