Template:Babel: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
I believe this is what you were trying for
Closing each #if: individually and adding documentation of color parameter and example
Line 1: Line 1:
{| name="userboxes" id="userboxes" style="float: right; margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: #99B3FF solid 1px; clear: right"
{| name="userboxes" id="userboxes" style="float: right; margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: #99B3FF solid 1px; clear: right"
|-
|-
! {{{header|[[Wikipedia:Babel]]}}}
! style="background-color: {{{color|}}}; text-align: center" | {{{header|[[Wikipedia:Babel]]}}}
{{#if:{{{1|}}}|
{{#if:{{{1|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{1}}}}}
{{!}}{{User {{{1}}}}}
{{#if:{{{2|}}}|
}}{{#if:{{{2|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{2}}}}}
{{!}}{{User {{{2}}}}}
{{#if:{{{3|}}}|
}}{{#if:{{{3|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{3}}}}}
{{!}}{{User {{{3}}}}}
{{#if:{{{4|}}}|
}}{{#if:{{{4|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{4}}}}}
{{!}}{{User {{{4}}}}}
{{#if:{{{5|}}}|
}}{{#if:{{{5|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{5}}}}}
{{!}}{{User {{{5}}}}}
{{#if:{{{6|}}}|
}}{{#if:{{{6|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{6}}}}}
{{!}}{{User {{{6}}}}}
{{#if:{{{7|}}}|
}}{{#if:{{{7|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{7}}}}}
{{!}}{{User {{{7}}}}}
{{#if:{{{8|}}}|
}}{{#if:{{{8|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{8}}}}}
{{!}}{{User {{{8}}}}}
{{#if:{{{9|}}}|
}}{{#if:{{{9|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{9}}}}}
{{!}}{{User {{{9}}}}}
{{#if:{{{10|}}}|
}}{{#if:{{{10|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{10}}}}}
{{!}}{{User {{{10}}}}}
{{#if:{{{11|}}}|
}}{{#if:{{{11|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{11}}}}}
{{!}}{{User {{{11}}}}}
{{#if:{{{12|}}}|
}}{{#if:{{{12|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{12}}}}}
{{!}}{{User {{{12}}}}}
{{#if:{{{13|}}}|
}}{{#if:{{{13|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{13}}}}}
{{!}}{{User {{{13}}}}}
{{#if:{{{14|}}}|
}}{{#if:{{{14|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{14}}}}}
{{!}}{{User {{{14}}}}}
{{#if:{{{15|}}}|
}}{{#if:{{{15|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{15}}}}}
{{!}}{{User {{{15}}}}}
{{#if:{{{16|}}}|
}}{{#if:{{{16|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{16}}}}}
{{!}}{{User {{{16}}}}}
{{#if:{{{17|}}}|
}}{{#if:{{{17|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{17}}}}}
{{!}}{{User {{{17}}}}}
{{#if:{{{18|}}}|
}}{{#if:{{{18|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{18}}}}}
{{!}}{{User {{{18}}}}}
{{#if:{{{19|}}}|
}}{{#if:{{{19|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{19}}}}}
{{!}}{{User {{{19}}}}}
{{#if:{{{20|}}}|
}}{{#if:{{{20|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{20}}}}}
{{!}}{{User {{{20}}}}}
{{#if:{{{21|}}}|
}}{{#if:{{{21|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{21}}}}}
{{!}}{{User {{{21}}}}}
{{#if:{{{22|}}}|
}}{{#if:{{{22|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{22}}}}}
{{!}}{{User {{{22}}}}}
{{#if:{{{23|}}}|
}}{{#if:{{{23|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{23}}}}}
{{!}}{{User {{{23}}}}}
{{#if:{{{24|}}}|
}}{{#if:{{{24|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{24}}}}}
{{!}}{{User {{{24}}}}}
{{#if:{{{25|}}}|
}}{{#if:{{{25|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{25}}}}}
{{!}}{{User {{{25}}}}}
{{#if:{{{26|}}}|
}}{{#if:{{{26|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{26}}}}}
{{!}}{{User {{{26}}}}}
{{#if:{{{27|}}}|
}}{{#if:{{{27|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{27}}}}}
{{!}}{{User {{{27}}}}}
{{#if:{{{28|}}}|
}}{{#if:{{{28|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{28}}}}}
{{!}}{{User {{{28}}}}}
{{#if:{{{29|}}}|
}}{{#if:{{{29|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{29}}}}}
{{!}}{{User {{{29}}}}}
{{#if:{{{30|}}}|
}}{{#if:{{{30|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{30}}}}}
{{!}}{{User {{{30}}}}}
{{#if:{{{31|}}}|
}}{{#if:{{{31|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{31}}}}}
{{!}}{{User {{{31}}}}}
{{#if:{{{32|}}}|
}}{{#if:{{{32|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{32}}}}}
{{!}}{{User {{{32}}}}}
{{#if:{{{33|}}}|
}}{{#if:{{{33|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{33}}}}}
{{!}}{{User {{{33}}}}}
{{#if:{{{34|}}}|
}}{{#if:{{{34|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{34}}}}}
{{!}}{{User {{{34}}}}}
{{#if:{{{35|}}}|
}}{{#if:{{{35|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{35}}}}}
{{!}}{{User {{{35}}}}}
{{#if:{{{36|}}}|
}}{{#if:{{{36|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{36}}}}}
{{!}}{{User {{{36}}}}}
{{#if:{{{37|}}}|
}}{{#if:{{{37|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{37}}}}}
{{!}}{{User {{{37}}}}}
{{#if:{{{38|}}}|
}}{{#if:{{{38|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{38}}}}}
{{!}}{{User {{{38}}}}}
{{#if:{{{39|}}}|
}}{{#if:{{{39|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{39}}}}}
{{!}}{{User {{{39}}}}}
{{#if:{{{40|}}}|
}}{{#if:{{{40|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{40}}}}}
{{!}}{{User {{{40}}}}}
{{#if:{{{41|}}}|
}}{{#if:{{{41|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{41}}}}}
{{!}}{{User {{{41}}}}}
{{#if:{{{42|}}}|
}}{{#if:{{{42|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{42}}}}}
{{!}}{{User {{{42}}}}}
{{#if:{{{43|}}}|
}}{{#if:{{{43|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{43}}}}}
{{!}}{{User {{{43}}}}}
{{#if:{{{44|}}}|
}}{{#if:{{{44|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{44}}}}}
{{!}}{{User {{{44}}}}}
{{#if:{{{45|}}}|
}}{{#if:{{{45|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{45}}}}}
{{!}}{{User {{{45}}}}}
{{#if:{{{46|}}}|
}}{{#if:{{{46|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{46}}}}}
{{!}}{{User {{{46}}}}}
{{#if:{{{47|}}}|
}}{{#if:{{{47|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{47}}}}}
{{!}}{{User {{{47}}}}}
{{#if:{{{48|}}}|
}}{{#if:{{{48|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{48}}}}}
{{!}}{{User {{{48}}}}}
{{#if:{{{49|}}}|
}}{{#if:{{{49|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{49}}}}}
{{!}}{{User {{{49}}}}}
{{#if:{{{50|}}}|
}}{{#if:{{{50|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{50}}}}}
{{!}}{{User {{{50}}}}}
{{#if:{{{51|}}}|
}}{{#if:{{{51|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{51}}}}}
{{!}}{{User {{{51}}}}}
{{#if:{{{52|}}}|
}}{{#if:{{{52|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{52}}}}}
{{!}}{{User {{{52}}}}}
{{#if:{{{53|}}}|
}}{{#if:{{{53|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{53}}}}}
{{!}}{{User {{{53}}}}}
{{#if:{{{54|}}}|
}}{{#if:{{{54|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{54}}}}}
{{!}}{{User {{{54}}}}}
{{#if:{{{55|}}}|
}}{{#if:{{{55|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{55}}}}}
{{!}}{{User {{{55}}}}}
{{#if:{{{56|}}}|
}}{{#if:{{{56|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{56}}}}}
{{!}}{{User {{{56}}}}}
{{#if:{{{57|}}}|
}}{{#if:{{{57|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{57}}}}}
{{!}}{{User {{{57}}}}}
{{#if:{{{58|}}}|
}}{{#if:{{{58|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{58}}}}}
{{!}}{{User {{{58}}}}}
{{#if:{{{59|}}}|
}}{{#if:{{{59|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{59}}}}}
{{!}}{{User {{{59}}}}}
{{#if:{{{60|}}}|
}}{{#if:{{{60|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{60}}}}}
{{!}}{{User {{{60}}}}}
{{#if:{{{61|}}}|
}}{{#if:{{{61|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{61}}}}}
{{!}}{{User {{{61}}}}}
{{#if:{{{62|}}}|
}}{{#if:{{{62|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{62}}}}}
{{!}}{{User {{{62}}}}}
{{#if:{{{63|}}}|
}}{{#if:{{{63|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{63}}}}}
{{!}}{{User {{{63}}}}}
{{#if:{{{64|}}}|
}}{{#if:{{{64|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{64}}}}}
{{!}}{{User {{{64}}}}}
{{#if:{{{65|}}}|
}}{{#if:{{{65|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{65}}}}}
{{!}}{{User {{{65}}}}}
{{#if:{{{66|}}}|
}}{{#if:{{{66|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{66}}}}}
{{!}}{{User {{{66}}}}}
{{#if:{{{67|}}}|
}}{{#if:{{{67|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{67}}}}}
{{!}}{{User {{{67}}}}}
{{#if:{{{68|}}}|
}}{{#if:{{{68|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{68}}}}}
{{!}}{{User {{{68}}}}}
{{#if:{{{69|}}}|
}}{{#if:{{{69|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{69}}}}}
{{!}}{{User {{{69}}}}}
{{#if:{{{70|}}}|
}}{{#if:{{{70|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{70}}}}}
{{!}}{{User {{{70}}}}}
{{#if:{{{71|}}}|
}}{{#if:{{{71|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{71}}}}}
{{!}}{{User {{{71}}}}}
{{#if:{{{72|}}}|
}}{{#if:{{{72|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{72}}}}}
{{!}}{{User {{{72}}}}}
{{#if:{{{73|}}}|
}}{{#if:{{{73|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{73}}}}}
{{!}}{{User {{{73}}}}}
{{#if:{{{74|}}}|
}}{{#if:{{{74|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{74}}}}}
{{!}}{{User {{{74}}}}}
{{#if:{{{75|}}}|
}}{{#if:{{{75|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{75}}}}}
{{!}}{{User {{{75}}}}}
{{#if:{{{76|}}}|
}}{{#if:{{{76|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{76}}}}}
{{!}}{{User {{{76}}}}}
{{#if:{{{77|}}}|
}}{{#if:{{{77|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{77}}}}}
{{!}}{{User {{{77}}}}}
{{#if:{{{78|}}}|
}}{{#if:{{{78|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{78}}}}}
{{!}}{{User {{{78}}}}}
{{#if:{{{79|}}}|
}}{{#if:{{{79|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{79}}}}}
{{!}}{{User {{{79}}}}}
{{#if:{{{80|}}}|
}}{{#if:{{{80|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{80}}}}}
{{!}}{{User {{{80}}}}}
{{#if:{{{81|}}}|
}}{{#if:{{{81|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{81}}}}}
{{!}}{{User {{{81}}}}}
{{#if:{{{82|}}}|
}}{{#if:{{{82|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{82}}}}}
{{!}}{{User {{{82}}}}}
{{#if:{{{83|}}}|
}}{{#if:{{{83|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{83}}}}}
{{!}}{{User {{{83}}}}}
{{#if:{{{84|}}}|
}}{{#if:{{{84|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{84}}}}}
{{!}}{{User {{{84}}}}}
{{#if:{{{85|}}}|
}}{{#if:{{{85|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{85}}}}}
{{!}}{{User {{{85}}}}}
{{#if:{{{86|}}}|
}}{{#if:{{{86|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{86}}}}}
{{!}}{{User {{{86}}}}}
{{#if:{{{87|}}}|
}}{{#if:{{{87|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{87}}}}}
{{!}}{{User {{{87}}}}}
{{#if:{{{88|}}}|
}}{{#if:{{{88|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{88}}}}}
{{!}}{{User {{{88}}}}}
{{#if:{{{89|}}}|
}}{{#if:{{{89|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{89}}}}}
{{!}}{{User {{{89}}}}}
{{#if:{{{90|}}}|
}}{{#if:{{{90|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{90}}}}}
{{!}}{{User {{{90}}}}}
{{#if:{{{91|}}}|
}}{{#if:{{{91|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{91}}}}}
{{!}}{{User {{{91}}}}}
{{#if:{{{92|}}}|
}}{{#if:{{{92|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{92}}}}}
{{!}}{{User {{{92}}}}}
{{#if:{{{93|}}}|
}}{{#if:{{{93|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{93}}}}}
{{!}}{{User {{{93}}}}}
{{#if:{{{94|}}}|
}}{{#if:{{{94|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{94}}}}}
{{!}}{{User {{{94}}}}}
{{#if:{{{95|}}}|
}}{{#if:{{{95|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{95}}}}}
{{!}}{{User {{{95}}}}}
{{#if:{{{96|}}}|
}}{{#if:{{{96|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{96}}}}}
{{!}}{{User {{{96}}}}}
{{#if:{{{97|}}}|
}}{{#if:{{{97|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{97}}}}}
{{!}}{{User {{{97}}}}}
{{#if:{{{98|}}}|
}}{{#if:{{{98|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{98}}}}}
{{!}}{{User {{{98}}}}}
{{#if:{{{99|}}}|
}}{{#if:{{{99|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{99}}}}}
{{!}}{{User {{{99}}}}}
{{#if:{{{100|}}}|
}}{{#if:{{{100|}}}|
{{!}}-
{{!}}-
{{!}}{{User {{{100}}}}}
{{!}}{{User {{{100}}}}}
}}
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
|-
|-
|style="background-color: {{{color}}}; text-align: center" | {{{footer|[[:Category:User languages|Search user languages]]}}}
| style="background-color: {{{color|}}}; text-align: center" | {{{footer|[[:Category:User languages|Search user languages]]}}}
|}<noinclude>
|}<noinclude>
*[[Template:Babel-X]] - Allows 1 to 100 boxes.<br />Format: <nowiki>{{Babel-X|<box1>|<box2>|<box3>...}}</nowiki>
*[[Template:Babel-X]] - Allows 1 to 100 boxes.<br />Format: <nowiki>{{Babel-X|<box1>|<box2>|<box3>...}}</nowiki>
To specify a custom header or footer, add the parameters header=''HEADER'' (default: [[Wikipedia:Babel]]) and/or footer=''FOOTER'' (default: [[:Category:User languages|Search user languages]]).
To specify a custom header, footer, or color add the parameters header=''HEADER'' (default: [[Wikipedia:Babel]]), footer=''FOOTER'' (default: [[:Category:User languages|Search user languages]]), and/or color=''COLOR'' (default: white).

Example: <nowiki>{{Babel-X|color=yellow|en|fr|de|tl|ru|leet}}</nowiki> produces:

{{Babel-X|color=yellow|en|fr|de|tl|ru|leet}}

[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[zh:Template:Babel-n]]
[[zh:Template:Babel-n]]

Revision as of 21:31, 5 May 2006

Wikipedia:Babel
Search user languages
  • Template:Babel-X - Allows 1 to 100 boxes.
    Format: {{Babel-X|<box1>|<box2>|<box3>...}}

To specify a custom header, footer, or color add the parameters header=HEADER (default: Wikipedia:Babel), footer=FOOTER (default: Search user languages), and/or color=COLOR (default: white).

Example: {{Babel-X|color=yellow|en|fr|de|tl|ru|leet}} produces:

Template:Babel-X zh:Template:Babel-n zh-yue:Template:Babel-n