Template:List: Difference between revisions
Template page
More actions
Created page with "*{{{1|}}}" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{{1|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{2|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{3|}}}|,|and}}}}}}{{{2|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{3|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{4|}}}|,|,and}}}}}}{{{3|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{4|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{5|}}}|,|,and}}}}}}{{{4|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{5|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{6|}}}|,|,and}}}}}}{{{5|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{6|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{7|}}}|,|,and}}}}}}{{{6|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{7|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{8|}}}|,|,and}}}}}}{{{7|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{8|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{9|}}}|,|,and}}}}}}{{{8|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{9|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{10|}}}|,|,and}}}}}}{{{9|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{10|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{11|}}}|,|,and}}}}}}{{{10|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{11|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{12|}}}|,|,and}}}}}}{{{11|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{12|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{13|}}}|,|,and}}}}}}{{{12|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{13|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{14|}}}|,|,and}}}}}}{{{13|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{14|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{15|}}}|,|,and}}}}}}{{{14|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{15|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{16|}}}|,|,and}}}}}}{{{15|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{16|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{17|}}}|,|,and}}}}}}{{{16|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{17|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{18|}}}|,|,and}}}}}}{{{17|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{18|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{19|}}}|,|,and}}}}}}{{{18|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{19|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{20|}}}|,|,and}}}}}}{{{19|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{20|}}}|{{{{{|safesubst:}}}List/separator|{{{{{|safesubst:}}}#if:{{{21|}}}|,|,and}}}}}}{{{20|}}}<!-- | |||
-->{{{{{|safesubst:}}}#if:{{{21|}}}|{{{{{|safesubst:}}}List/separator|...}}[[Category:Template:List/too many parameters]]}}<!-- | |||
--><noinclude>{{documentation|List/doc}}</noinclude> | |||
Revision as of 14:55, 1 February 2014
This documentation is transcluded from Template:List/doc.
Usage
The result is dependant by default on page content language:
- "
{{List}}" returns "". - "
{{List|1}}" returns "1". - "
{{List|1|2}}" returns "1Template:List/separator2". - "
{{List|1|2|3}}" returns "1Template:List/separator2Template:List/separator3". - "
{{List|1|2|3|4}}" returns "1Template:List/separator2Template:List/separator3Template:List/separator4". - "
{{List|1|2|3|4|noand=1}}" returns "1Template:List/separator2Template:List/separator3Template:List/separator4".
You can set it to the current user language (currently for you, it is “en”):
- "
{{List|uselang={{uselang}}}}" returns "". - "
{{List|uselang={{uselang}}|1}}" returns "1". - "
{{List|uselang={{uselang}}|1|2}}" returns "1Template:List/separator2". - "
{{List|uselang={{uselang}}|1|2|3}}" returns "1Template:List/separator2Template:List/separator3". - "
{{List|uselang={{uselang}}|1|2|3|4}}" returns "1Template:List/separator2Template:List/separator3Template:List/separator4".
You can also set it to a specific language (such as “zh” for Chinese):
- "
{{List|uselang=zh}}" returns "". - "
{{List|uselang=zh|1}}" returns "1". - "
{{List|uselang=zh|1|2}}" returns "1Template:List/separator2". - "
{{List|uselang=zh|1|2|3}}" returns "1Template:List/separator2Template:List/separator3". - "
{{List|uselang=zh|1|2|3|4}}" returns "1Template:List/separator2Template:List/separator3Template:List/separator4".
Dependendy
- Template:List/s for translation of separators