Template:Code and output

From Legacy Roblox Wiki
Jump to navigationJump to search

Example

{{code and output|code=
print("hello")
|output=
hello
}}
print("hello")
hello


{{code and output|fit=output|code=
print(#"A really really really long string, which might linewrap, and use up too much space. Blah blah blah!")
|output=
100
}}
100
print(#"A really really really long string, which might linewrap, and use up too much space. Blah blah blah!")
{{code and output|fit=code|code=
print(#"A really really really long string, which might linewrap, and use up too much space. Blah blah blah!")
|output=
100
}}
print(#"A really really really long string, which might linewrap, and use up too much space. Blah blah blah!")
100