Template:Babel-X: Difference between revisions
Jump to navigation
Jump to search
This is a test of the local parserfunction implementation for #if.
mNo edit summary |
m (tweaking) |
||
Line 1: | Line 1: | ||
⚫ | |||
{| name="userboxes" id="userboxes" style="float: {{{align|right}}}; margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: #99B3FF solid 1px; clear: right" |
{| name="userboxes" id="userboxes" style="float: {{{align|right}}}; margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: #99B3FF solid 1px; clear: right" |
||
|- |
|- |
||
! style="background-color: {{{color|}}}; text-align: center" colspan="10" | {{{header|[[OLPCWiki:Babel]]}}} |
! style="background-color: {{{color|}}}; text-align: center" colspan="10" | {{{header|[[OLPCWiki:Babel]]}}} |
||
|- |
|- |
||
| {{#if:{{{1|}}}|{{User {{{1}}} |
| {{#if:{{{1|}}}|{{User {{{1}}}}} |
||
{{#if:{{{2|}}}|{{User {{{2}}} |
}}{{#if:{{{2|}}}|{{User {{{2}}}}} |
||
{{#if:{{{3|}}}|{{User {{{3 |
}}{{#if:{{{3|}}}|{{User {{{3}}}}} |
||
{{#if:{{{4|}}}|{{User {{{4 |
}}{{#if:{{{4|}}}|{{User {{{4}}}}} |
||
{{#if:{{{5|}}}|{{User {{{5}}}}} |
}}{{#if:{{{5|}}}|{{User {{{5}}}}} |
||
}}{{#if:{{{6|}}}|{{User {{{6}}}}} |
}}{{#if:{{{6|}}}|{{User {{{6}}}}} |
||
}}{{#if:{{{7|}}}|{{User {{{7}}}}} |
}}{{#if:{{{7|}}}|{{User {{{7}}}}} |
||
Line 23: | Line 20: | ||
}}{{#if:{{{16|}}}|{{User {{{16}}}}} |
}}{{#if:{{{16|}}}|{{User {{{16}}}}} |
||
}}{{#if:{{{17|}}}|{{User {{{17}}}}} |
}}{{#if:{{{17|}}}|{{User {{{17}}}}} |
||
}}{{#if:{{{18|}}}|{{User {{{18}}}}} |
|||
}} |
|||
}}{{#if:{{{19|}}}|{{User {{{19}}}}} |
|||
}}{{#if:{{{20|}}}|{{User {{{20}}}}}}} |
|||
|- |
|- |
||
| style="background-color: {{{color|}}}; text-align: center" colspan="10" | {{{footer|[[:Category:User languages|Search user languages]]}}} |
| style="background-color: {{{color|}}}; text-align: center" colspan="10" | {{{footer|[[:Category:User languages|Search user languages]]}}} |
||
|}<noinclude> |
|}<noinclude> |
||
⚫ | |||
⚫ | |||
*[[Template:Babel-X]] - Allows 1 to 20 boxes. |
|||
⚫ | |||
To specify a custom header, footer, or color add the parameters header=''HEADER'' (default: [[OLPCWiki:Babel]]), footer=''FOOTER'' (default: [[:Category:User languages|Search user languages]]), and/or color=''COLOR'' (default: white). Call the '!' userbox to start a new column after that point. You may also use '|align=left' to display the babel box on the left side of the screen rather than the default right. |
To specify a custom header, footer, or color add the parameters header=''HEADER'' (default: [[OLPCWiki:Babel]]), footer=''FOOTER'' (default: [[:Category:User languages|Search user languages]]), and/or color=''COLOR'' (default: white). Call the '!' userbox to start a new column after that point. You may also use '|align=left' to display the babel box on the left side of the screen rather than the default right. |
||
'''Source:''' [http://meta.wikimedia.org/wiki/Template:Babel Wikipedia Template:Babel] |
|||
Example: <nowiki>{{Babel-X|align=left|color=yellow|en|fr|de| |
Example: <nowiki>{{Babel-X|align=left|color=yellow|en|fr|!|de|es|!|ru|leet}}</nowiki> produces: |
||
{{Babel-X|align=left|color=yellow|en|fr|de|!| |
{{Babel-X|align=left|color=yellow|en|fr|de|!|es|ru|leet}} |
||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
||
</noinclude> |
</noinclude> |
Revision as of 19:11, 3 July 2007
OLPCWiki:Babel | |||||||||
---|---|---|---|---|---|---|---|---|---|
Search user languages |
- Template:Babel-X - Allows 1 to 20 boxes.
- Format
- {{Babel-X|<box1>|<box2>|<box3>...}}
To specify a custom header, footer, or color add the parameters header=HEADER (default: OLPCWiki:Babel), footer=FOOTER (default: Search user languages), and/or color=COLOR (default: white). Call the '!' userbox to start a new column after that point. You may also use '|align=left' to display the babel box on the left side of the screen rather than the default right. Source: Wikipedia Template:Babel
Example: {{Babel-X|align=left|color=yellow|en|fr|!|de|es|!|ru|leet}} produces:
OLPCWiki:Babel | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
| ||||||||
Search user languages |