Mostly Harmless

Difference between revisions of "Unreal Wiki:Sandbox"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(testing uscript highlighting)
m
 
(33 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
Do not edit the area above the separator line, please.
 
Do not edit the area above the separator line, please.
 
 
----
 
----
 
+
UIComp_DrawImage custom subclasses:
* This correctly replaces, but for obvious reasons doesn't produce links correctly: [[{{#replace:a,b,c|,|]], [}}]]
+
{{#dpl:
* This doesn't even apply #replace: [[{{#replace:a,b,c|,|]], [[}}]]
+
|category=Subclasses of UIComp_DrawImage{{!}}Subclasses of UIComp_DrawImage (UE3)}{{!}}Subclasses of UIComp_DrawImage (UT3)
* This works, but is very ugly: {{#replace:{{#replace:@@{{#replace:a,b,c|,|~~, @@}}~~ | ~ | ] }} | @ | [ }}
+
|category=Custom classes{{!}}Custom UE3-specific classes{{!}}Custom UT3-specific classes
* Still ugly, but a bit better: {{concat|[|[{{#replace:a,b,c|,|{{concat|]|], [|[}}}}]|]}}
+
|namespace={{#if:UE3|{{!}}UE3}}{{!}}User
 
+
|format=,[[%PAGE%|%TITLE%]],,
<uscript>
+
|inlinetext=,&#32;
class TestCommandlet extends Commandlet;
+
|shownamespace=false
 
+
|replaceintitle=/ (?!\()/,_
function int Main(string Args)
+
|resultsheader=\n;Known custom subclasses&#58;:
{
+
|oneresultheader=\n;Known custom subclass&#58;:
  DynamicLoadObject(Args, class'Class');
+
|noresultsheader=<nowiki></nowiki>
 
+
|allowcachedresults=true
  return 0;
+
}}
}
+
</uscript>
+

Latest revision as of 01:55, 9 August 2015

Do not edit the area above the separator line, please.


UIComp_DrawImage custom subclasses: