|
|
Line 1: |
Line 1: |
− | <includeonly><var>{{{1}}}</var></includeonly><noinclude> | + | <includeonly><var>{{{1}}}</var></includeonly><noinclude>#REDIRECT [[Help:Templates/String]]</noinclude> |
− | This template is to be used within documentation for string values and phrases. Especially to express that a {{string|string like this}} is what the user should have chosen somewhere within TED Notepad.
| |
− | = Preview =
| |
− | A filter for text files would look like this: {{string|Text Files <nowiki>|</nowiki> *.txt}}.
| |
− | | |
− | Search for phrase {{string|john}} within string {{string|hi johnny}} will fail, if
| |
− | {{feature|Whole Words}} is turned on.
| |
− | = Usage =
| |
− | <pre>
| |
− | A filter for text files would look like this: {{string|Text Files <nowiki>|</nowiki> *.txt}}.
| |
− | | |
− | Search for phrase {{string|john}} within string {{string|hi johnny}} will fail, if
| |
− | {{feature|Whole Words}} is turned on.
| |
− | </pre>
| |
− | Note: The <nowiki>|</nowiki> part is there because templates use pipes to distinguish parameters. We need to override that, as we want the pipe to be treated as a plain text.
| |
− | </noinclude><noinclude>[[Category:Templates]]</noinclude>
| |