Template:Babel-XO: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (bolsa de gatos)
(mark as obsolete, don't use the sample because it makes categorizations)
 
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 ==

doesn't work...
<nowiki>{{Babel-XO|align=left|color=yellow|columns=2|source{{!}}[http://dev.laptop.org/git.do?p=projects/write dev.laptop.org]}}</nowiki>
{{Babel-XO|align=left|color=yellow|columns=2|source{{!}}[http://dev.laptop.org/git.do?p=projects/write dev.laptop.org]}}
{{-}}
<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>
<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>
{{Babel-XO|align=left|color=yellow|columns=2|1=source{{!}}1=[http://dev.laptop.org/git.do?p=projects/write dev.laptop.org]}}


[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]

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]}}