Template:Quote

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 18:36, 11 March 2008 by imported>Wormbo
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{text}}}

[edit] Documentation

This template encloses quoted text in a box with an optional source

Usage

{{quote
| Keep an eye on the Unreal log while you're testing your scripts. [...]
| [[udn2:UnrealScriptReference|UDN UnrealScript Reference]]
}}

Keep an eye on the Unreal log while you're testing your scripts. The UnrealScript runtime often generates useful warnings in the log that notify you of nonfatal problems that are occuring.

With separated source text and page name:

{{quote
| Keep an eye on the Unreal log while you're testing your scripts. [...]
|UDN UnrealScript Reference|udn2:UnrealScriptReference}}

Keep an eye on the Unreal log while you're testing your scripts. The UnrealScript runtime often generates useful warnings in the log that notify you of nonfatal problems that are occuring.

Also works with URLs:

{{quote
| Keep an eye on the Unreal log while you're testing your scripts. [...]
| UDN UnrealScript Reference
| http://udn.epicgames.com/Two/UnrealScriptReference.html#UnrealScript%20programming%20strategy
}}

Keep an eye on the Unreal log while you're testing your scripts. The UnrealScript runtime often generates useful warnings in the log that notify you of nonfatal problems that are occuring.

...or with named parameters:

{{quote
| text = Keep an eye on the Unreal log while you're testing your scripts. [...]
| src  = UDN UnrealScript Reference
| url  = udn2:UnrealScriptReference
}}
{{quote
| text = Keep an eye on the Unreal log while you're testing your scripts. [...]
| src  = UDN UnrealScript Reference
| url  = http://udn.epicgames.com/Two/UnrealScriptReference.html#UnrealScript%20programming%20strategy
}}

Keep an eye on the Unreal log while you're testing your scripts. The UnrealScript runtime often generates useful warnings in the log that notify you of nonfatal problems that are occuring.

Keep an eye on the Unreal log while you're testing your scripts. The UnrealScript runtime often generates useful warnings in the log that notify you of nonfatal problems that are occuring.

This form is recommended. It is more robust than the version with three unnamed parameters, because it can handle whitespace around the parameter values as it occurs if formatting the template like shown above. The following example displays the problem:

{{quote
| Keep an eye on the Unreal log while you're testing your scripts. [...]
| UDN UnrealScript Reference
| udn2:UnrealScriptReference
}}

Keep an eye on the Unreal log while you're testing your scripts. The UnrealScript runtime often generates useful warnings in the log that notify you of nonfatal problems that are occuring.

[[ udn2:UnrealScriptReference

| UDN UnrealScript Reference

]]


See also