Template:FileBox/sandbox
From Gentoo Wiki
Jump to:navigation
Jump to:search
No parameter | |
---|---|
Wiki code | {{FileBox}}
|
Main version | {{{1}}}
|
Sandbox version |
|
Parameters: filename=/tmp/file, 1=Some text/code. | |
---|---|
Wiki code | {{FileBox|filename=/tmp/file|1=Some text/code.}}
|
Main version | Some text/code.
|
Sandbox version |
|
Parameters: title=FileBox example, 1=Some text/code. | |
---|---|
Wiki code | {{FileBox|title=FileBox example|1=Some text/code.}}
|
Main version | Some text/code.
|
Sandbox version |
|
Parameters: title=FileBox example, filename=/tmp/file, 1=Some text/code. | |
---|---|
Wiki code | {{FileBox|title=FileBox example|filename=/tmp/file|1=Some text/code.}}
|
Main version | Some text/code.
|
Sandbox version |
|
Parameters: title=FileBox example, filename=/tmp/file, lang=bash, 1=#!/bin/bash echo "Hello, world!" | |
---|---|
Wiki code | {{FileBox|title=FileBox example|filename=/tmp/file|lang=bash|1=#!/bin/bash
echo "Hello, world!"
}}
|
Main version | #!/bin/bash
echo "Hello, world!"
|
Sandbox version |
|
Parameters: title=FileBox example, filename=/tmp/file, lang=bash, collapse-output=true, 1=#!/bin/bash echo "Hello, world!" | |
---|---|
Wiki code | {{FileBox|title=FileBox example|filename=/tmp/file|collapse-output=true|lang=bash|1=#!/bin/bash
echo "Hello, world!"
echo "my third line"
echo "my fourth line"
}}
|
Main version | #!/bin/bash
echo "Hello, world!"
echo "my third line"
echo "my fourth line"
|
Sandbox version |
|
Note
This is the template sandbox page for Template:FileBox (diff).
See also the companion subpage for test cases.
This is the template sandbox page for Template:FileBox (diff).
See also the companion subpage for test cases.