Template:Babel-XO: Difference between revisions

From OLPC
Jump to navigation Jump to search
(here we go...)
 
(mark as obsolete, don't use the sample because it makes categorizations)
 
(One intermediate revision by one other user not shown)
Line 26: Line 26:
| style="background-color: {{{color|}}}; text-align: center" colspan="{{{columns|1}}}" | {{{footer|[[:Category:XO templates|Search XO templates]]}}}
| style="background-color: {{{color|}}}; text-align: center" colspan="{{{columns|1}}}" | {{{footer|[[:Category:XO templates|Search XO templates]]}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{obsolete|link=[[Olpcboxes]]}}


; [[Template:Babel-XO]] : Allows 1 to 20 boxes that can be used to describe or show some attributes associated to a specific page (not user).
; [[Template:Babel-XO]] : Allows 1 to 20 boxes that can be used to describe or show some attributes associated to a specific page (not user).
Line 40: Line 41:


== Sample ==
== Sample ==

<nowiki>{{Babel-XO|align=left|color=yellow|columns=2|teacher}}</nowiki>
{{Babel-XO|align=left|color=yellow|columns=2|teacher}}
<nowiki>{{Babel-XO|align=left|color=yellow|columns=2|1=source{{!}}1=[http://dev.laptop.org/git.do?p=projects/write dev.laptop.org]}}</nowiki>

[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 23:22, 26 November 2008


542-stopicon.png This page has a more up-to-date location: Olpcboxes


Template:Babel-XO
Allows 1 to 20 boxes that can be used to describe or show some attributes associated to a specific page (not user).

Source: inspired by Wikipedia Template:Babel

Usage

{{ Babel-XO | <box1> | <box2> | <box3> | <box-n<=20>
 | header  = <!-- OPTIONAL — default: [[OLPCWiki:Babel]] -->
 | footer  = <!-- OPTIONAL — default: [[:Category:XO templates|Search XO templates]] -->
 | color   = <!-- OPTIONAL — background color; default: white -->
 | columns = <!-- OPTIONAL — number of columns to span the header & footer; default: 1 -->
 | align   = <!-- OPTIONAL — to align the Babel box {left | right}; default: right -->
 }}

Sample

{{Babel-XO|align=left|color=yellow|columns=2|1=source{{!}}1=[http://dev.laptop.org/git.do?p=projects/write dev.laptop.org]}}