This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Template:FileBox/testcases
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
Note
This is the template test case page for Template:FileBox and its sandbox version. You may have to to update the examples.
This is the template test case page for Template:FileBox and its sandbox version. You may have to to update the examples.
CollapseNo parameter | |
---|---|
Wiki code | {{FileBox}}
|
Main version | FILE {{{filename}}} {{{1}}} |
Sandbox version | FILE {{{filename}}}
|
CollapseParameters: filename=/tmp/file, 1=Some text/code. | |
---|---|
Wiki code | {{FileBox|filename=/tmp/file|1=Some text/code.}}
|
Main version | FILE /tmp/file Some text/code. |
Sandbox version | FILE /tmp/file Some text/code. |
CollapseParameters: title=FileBox example, 1=Some text/code. | |
---|---|
Wiki code | {{FileBox|title=FileBox example|1=Some text/code.}}
|
Main version | FILE {{{filename}}} FileBox exampleSome text/code. |
Sandbox version | FILE {{{filename}}} FileBox exampleSome text/code. |
CollapseParameters: 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 | FILE /tmp/file FileBox exampleSome text/code. |
Sandbox version | FILE /tmp/file FileBox exampleSome text/code. |
CollapseParameters: 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 | FILE /tmp/file FileBox example
|
Sandbox version | FILE /tmp/file FileBox example
|