Template:Status box: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (added auto-category for includers)
m (some documentation)
Line 21: Line 21:
| colspan="2" style="text-align:center" | {{{contributors}}}
| colspan="2" style="text-align:center" | {{{contributors}}}
|}
|}
<includeonly>[[Category:Activity]]</includeonly>
<includeonly>[[Category:Activity]]</includeonly><noinclude>
<noinclude>
This template automatically includes the page in the [[:Category:Activity]].
This template automatically includes the page in the [[:Category:Activity]].

== Usage ==

<nowiki>{{</nowiki>Status box
| activity = &lt;!-- Name of the activity --&gt;
| icon = &lt;!-- ''file name.ext'' (sans <tt><nowiki>[[Image:</nowiki>''file name.ext''<nowiki>]]</nowiki></tt> --&gt;
| status = &lt;!-- Status of the activity --&gt;
| version = &lt;!-- Current/latest version available --&gt;
| base = &lt;!-- ? --&gt;
| source = &lt;!-- Repository / location of the source --&gt;
| contributors = &lt;!-- People contributing to the activity --&gt;
<nowiki>}}</nowiki>

[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 02:45, 12 June 2007

{{{activity}}}
[[Image:{{{icon}}}|center]]
Status: {{{status}}}
Version: {{{version}}}
Base: {{{base}}}
Source: {{{source}}}
Contributors
{{{contributors}}}

This template automatically includes the page in the Category:Activity.

Usage

{{Status box
 | activity     = <!-- Name of the activity -->
 | icon         = <!-- file name.ext (sans [[Image:file name.ext]] -->
 | status       = <!-- Status of the activity -->
 | version      = <!-- Current/latest version available -->
 | base         = <!-- ? -->
 | source       = <!-- Repository / location of the source -->
 | contributors = <!-- People contributing to the activity -->
 }}