Template:Sandbox

From OLPC
Revision as of 16:06, 30 June 2007 by Xavi (talk | contribs) (testing ideas)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Many times you may want to just 'test' an idea for a template, I haven't found a sensible way of fully testing templates by themselves (as they will not get included in the edited version, but rather the saved version).

The idea of this Template:Sandbox is to have that, a simple testing zone that will not interfere with others and avoid leaving a trail of botched attempts.

Please leave this comment/text for others to read.
See Also http://meta.wikimedia.org/wiki/Help:Template
Testing: Status box


{{{component}}}
(activity)
Status: {{{status}}}
Version: {{{version}}}
Base: {{{base}}}
Source: {{{source}}}
Language: {{{language}}}
l10n: add it here
Contributors
{{{contributors}}}
Testing parameterized categorizations:
 Category:Software Component
 Category:l10n


This template automatically includes the page in the [[:Category:{{{type}}}]].

Usage

{{Status box
 | component    = <!-- Name of the component -->
 | type         = <!-- Type of the component {activity, core, support} -->
 | icon         = <!-- file name.ext (sans [[Image:file name.ext]] -->
 | status       = <!-- Status of the activity -->
 | version      = <!-- Current/latest version available -->
 | base         = <!-- Yes/No if it's included in the OS images
                       / Could be the first build number -->
 | source       = <!-- Repository / location of the source -->
 | language     = <!-- OPTIONAL -- Computer language of the source -->
 | l10n         = <!-- Repository / location of the l10n resources -->
 | testplan     = <!-- OPTIONAL -- link to the test plan page -->
 | contributors = <!-- People contributing to the activity -->
 }}

Sample



Foo
(Bar)
Xo s.png
Status: {{{status}}}
Version: {{{version}}}
Base: {{{base}}}
Source: {{{source}}}
Language: {{{language}}}
l10n: add it here
Test plans: some page
Contributors
{{{contributors}}}
Testing parameterized categorizations:
 Category:Software Component
 Category:l10n
{{ Sandbox
| component = Foo
| type = Bar
| icon = Xo s.png
| testplan = [[some page]]
}}