Difference between revisions of "Help:Templates/String"

From TED Notepad
(stringb)
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}}.
 +
 +
<pre>
 +
A filter for text files would look like this: {{stringb|Text Files <nowiki>|</nowiki> *.txt}}.
 +
</pre>
 +
A filter for text files would look like this: {{stringb|Text Files <nowiki>|</nowiki> *.txt}}.
  
 
[[Category:Help|{{PAGENAME}}]]
 
[[Category:Help|{{PAGENAME}}]]

Revision as of 09:48, 28 September 2013

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.

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

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