Difference between revisions of "Template:String"
From TED Notepad
Line 2: | Line 2: | ||
This template is to be used within documentation for values, either string, phrases or numeric values. Especially to express that a {{var|string like this}} is what the user has chosen somewhere within UI of TED Notepad. | This template is to be used within documentation for values, either string, phrases or numeric values. Especially to express that a {{var|string like this}} is what the user has chosen somewhere within UI of TED Notepad. | ||
= Preview = | = Preview = | ||
− | A filter for text files would look like this: {{var|Text Files|*.txt}}. | + | A filter for text files would look like this: {{var|Text Files <nowiki>|</nowiki> *.txt}}. |
= Usage = | = Usage = | ||
− | <pre>A filter for text files would look like this: {{var|Text Files|*.txt}}. | + | <pre>A filter for text files would look like this: {{var|Text Files <nowiki>|</nowiki> *.txt}}. |
</pre> | </pre> | ||
+ | Note: The <nowiki>|</nowiki> part is there because templates use pipes to distinguish parameters. | ||
</noinclude> | </noinclude> |
Revision as of 15:52, 23 February 2006
This template is to be used within documentation for values, either string, phrases or numeric values. Especially to express that a Template:Var is what the user has chosen somewhere within UI of TED Notepad.
Preview
A filter for text files would look like this: Template:Var.
Usage
A filter for text files would look like this: {{var|Text Files <nowiki>|</nowiki> *.txt}}.
Note: The <nowiki>|</nowiki> part is there because templates use pipes to distinguish parameters.