Template:Sandbox: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (graduated)
(trying a template for 'pending' things)
Line 8: Line 8:
[[Category:Template]]
[[Category:Template]]


: <big>'''Testing <strike>Latest Releases</strike>'''</big>
: <big>'''Testing Pending<strike></strike>'''</big>


</noinclude>
</noinclude>
<includeonly><span style="background:red; ">{{{1}}}</span>[[Category:Pending]]</includeonly><noinclude>[[Category:Template]]
<div style="float:right; clear:right; font-size:80%; max-width:60%; padding:0.3em; background:#c1fea1; color:#0a6c00; border:2px solid #8ad962; "><big>'''Latest Releases:'''</big> [[OS images]]<br>Stable: [http://olpc.download.redhat.com/olpc/streams/development/build406/ '''Build 406'''] (May 7)<span style="display:{{{stable|none}}}"><br>&nbsp;&mdash;[http://olpc.download.redhat.com/olpc/streams/development/LATEST-STABLE-BUILD/ext3/ ext3]&nbsp;[http://olpc.download.redhat.com/olpc/streams/development/LATEST-STABLE-BUILD/devel_ext3/ devel]&mdash;[http://olpc.download.redhat.com/olpc/streams/development/LATEST-STABLE-BUILD/jffs2/ jffs2]&nbsp;[http://olpc.download.redhat.com/olpc/streams/development/LATEST-STABLE-BUILD/devel_jffs2/ devel]</span><span style="display:{{{devel|none}}}"><br>Devel: [http://olpc.download.redhat.com/olpc/streams/development/LATEST/devel_ext3/ '''devel-ext3'''] or [http://olpc.download.redhat.com/olpc/streams/development/LATEST/devel_jffs2/ '''devel-jffs2''']</span><span style="display:{{{livecd|none}}}"><br>[[LiveCd|Live-CD]]: [http://olpc.download.redhat.com/olpc/streams/sdk/latest/livecd/olpc-redhat-stream-sdk-livecd.iso '''ISO-Build 385'''] (Apr 7)</span><span style="display:{{{firmware|none}}}"><br>[[Firmware]]: [[OLPC Firmware q2c11|'''Q2C11''']] (May 6)</span></div><noinclude>

This template allows to place tags to denote something that needs further work. The parameter will be used to display the type of 'pending activity'. Currently it has been thought out to mark places where examples are needed.

Pages tagged with this template will automatically be included in the [[:Category:Pending]] for easy retrieval.


== Usage ==
== Usage ==


<nowiki>{{</nowiki> Pending
<br clear="all">
| type = &lt;!-- { example | confirmation | update | etc }
{{ Sandbox }}
<nowiki>{{</nowiki> Sandbox
| stable = inline &lt;!-- OPTIONAL -- shows or hides (default) the specific stable versions --&gt;
| devel = inline &lt;!-- OPTIONAL -- shows or hides (default) the devel-build info --&gt;
| livecd = inline &lt;!-- OPTIONAL -- shows or hides (default) the live-cd info --&gt;
| firmware = inline &lt;!-- OPTIONAL -- shows or hides (default) the firmware info --&gt;
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>


== Samples ==
== Samples ==


Thus the user can exploit this feature to <nowiki>{{ Pending | need example }}</nowiki>. As we can...
<br clear="all">
Thus the user can exploit this feature to <nowiki>{{ Pending | need example }}</nowiki>. As we can...
{{ Sandbox | stable = inline }}
<nowiki>{{</nowiki> Sandbox | stable = inline <nowiki>}}</nowiki>
<br clear="all">
{{ Sandbox | devel = inline}}
<nowiki>{{</nowiki> Sandbox | devel = inline <nowiki>}}</nowiki>
<br clear="all">
{{ Sandbox | livecd = inline }}
<nowiki>{{</nowiki> Sandbox | livecd = inline <nowiki>}}</nowiki>
<br clear="all">
{{ Sandbox | firmware = inline}}
<nowiki>{{</nowiki> Sandbox | firmware = inline <nowiki>}}</nowiki>
<br clear="all">
{{ Sandbox | stable = inline | devel = inline | livecd = inline | firmware = inline}}
<nowiki>{{</nowiki> Sandbox
| stable = inline
| devel = inline
| livecd = inline
| firmware = inline <nowiki>}}</nowiki>
</noinclude>
</noinclude>

Revision as of 21:10, 31 May 2007

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 Pending

This template allows to place tags to denote something that needs further work. The parameter will be used to display the type of 'pending activity'. Currently it has been thought out to mark places where examples are needed.

Pages tagged with this template will automatically be included in the Category:Pending for easy retrieval.

Usage

{{ Pending
            | type =    <!-- { example | confirmation | update | etc }
}}

Samples

Thus the user can exploit this feature to {{ Pending | need example }}. As we can...

Thus the user can exploit this feature to {{ Pending | need example }}. As we can...