Template:Babel-XO: Difference between revisions

From OLPC
Jump to navigation Jump to search
(here we go...)
 
m (bolsa de gatos)
Line 40: Line 40:


== Sample ==
== Sample ==
doesn't work...
<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|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>
{{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}}]]
</noinclude>
</noinclude>

Revision as of 03:59, 5 July 2007


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

doesn't work...
{{Babel-XO|align=left|color=yellow|columns=2|source{{!}}[http://dev.laptop.org/git.do?p=projects/write dev.laptop.org]}}
OLPCWiki:Babel
Search XO templates


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