I'm a doctor, not a mechanic

Template:Quote

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

{{{text}}}

[edit] Documentation

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

Usage[edit]

{{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[edit]