Difference between revisions of "Help:Templates/String"

From TED Notepad
 
Line 17: Line 17:
 
</pre>
 
</pre>
 
A filter for text files would look like this: {{string|Text Files <nowiki>|</nowiki> *.txt}}.
 
A filter for text files would look like this: {{string|Text Files <nowiki>|</nowiki> *.txt}}.
 +
 +
[[Category:Help|{{PAGENAME}}]]

Revision as of 16:45, 10 July 2006

This template is to be used within the documentation for string values and phrases. Especially to express that a string like this is what the user should have chosen somewhere within a dialog.

Note: Use <nowiki>|</nowiki> to add a pipe into the string.

Examples

Search for phrase {{string|john}} within string {{string|hi johnny}} will fail, if
{{feature|Whole Words}} is turned on.

Search for phrase john within string hi johnny will fail, if Whole Words is turned on.


A filter for text files would look like this: {{string|Text Files | *.txt}}.

A filter for text files would look like this: Text Files | *.txt.