Template:Redirects/i18n: Difference between revisions
Template page
More actions
nothing here should depend on interface language (floating side should depend on page content, colon should be based on actual translation, which is potentially different from the user language as this template is translated into only a handful of languages), automatically fill in template language based on the subpage title |
black link is much more inaccessible than green ones; get rid of {{lang}} |
||
| Line 1: | Line 1: | ||
<languages /> | <languages /> | ||
<onlyinclude><div class="shortcutbox-template plainlinks noprint plainlist" style="font-size:x-small;line-height:1.4;margin:2px .5em;{{#switch: {{#switch: {{{float|}}} | <onlyinclude><div class="shortcutbox-template plainlinks noprint plainlist" lang="{{#invoke:Caller title|lang|base=Template:Redirects/i18n}}" dir="auto" style="font-size:x-small;line-height:1.4;margin:2px .5em;{{#switch: {{#switch: {{{float|}}} | ||
|left = left |right = right |#default = {{Dir|{{PAGELANGUAGE}}|left|right}} | |left = left |right = right |#default = {{Dir|{{PAGELANGUAGE}}|left|right}} | ||
}} | }} | ||
| Line 6: | Line 6: | ||
|right = float:right;margin-right:0; | |right = float:right;margin-right:0; | ||
}}border:1px solid #AAA;background:#FFF;padding:1px .5em;text-align:center"><!-- | }}border:1px solid #AAA;background:#FFF;padding:1px .5em;text-align:center"><!-- | ||
--> | -->[{{fullurl:Special:WhatLinksHere/Template:{{PAGENAMEE}}|hidelinks=1&hidetrans=1&namespace=10}} <span style="text-decoration:underline;"><translate><!--T:2--> {{PLURAL:<tvar|1>{{#expr:0{{#if:{{{1|}}}|+1}}{{#if:{{{2|}}}|+1}}{{#if:{{{3|}}}|+1}}{{#if:{{{4|}}}|+1}}{{#if:{{{5|}}}|+1}}{{#if:{{{6|}}}|+1}}{{#if:{{{7|}}}|+1}}{{#if:{{{8|}}}|+1}}{{#if:{{{9|}}}|+1}}{{#if:{{{10|}}}|+1}}}}</>|Redirect|Redirects}}:</translate></span>]<!-- | ||
--><ul lang="" dir="auto"><li>{{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}</li><!-- | |||
--><ul><li>{{{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]}}</li><!-- | |||
-->{{#if:{{{2|}}}|<li>{{{{{pre2|}}}[{{fullurl:Template:{{{2|}}}|redirect=no}} {{{2|}}}]}}</li>}}<!-- | -->{{#if:{{{2|}}}|<li>{{{{{pre2|}}}[{{fullurl:Template:{{{2|}}}|redirect=no}} {{{2|}}}]}}</li>}}<!-- | ||
-->{{#if:{{{3|}}}|<li>{{{{{pre3|}}}[{{fullurl:Template:{{{3|}}}|redirect=no}} {{{3|}}}]}}</li>}}<!-- | -->{{#if:{{{3|}}}|<li>{{{{{pre3|}}}[{{fullurl:Template:{{{3|}}}|redirect=no}} {{{3|}}}]}}</li>}}<!-- | ||
Revision as of 20:15, 18 June 2020
NOTE: Please do not use this template directly! This is just for translation. Use {{Redirects}} instead.