Template:Outdent: Difference between revisions
Content added Content deleted
en.wikipedia.org>PBS (added a reverse parameter (to allow for indentation)) |
m (80 revisions imported from meta:Template:Outdent: Template used for discussion.) |
||
(10 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<span class="outdent-template" style="display:block; margin-top:-0.5em; color:#AAA;"><!-- |
<span class="outdent-template" style="display:block; margin-top:-0.5em; color:#AAA;"><!-- |
||
--><span style="display:inline-block; overflow:hidden;">{{#if:{{{reverse|}}}|└|┌}}</span><!-- |
--><span style="display:inline-block; overflow:hidden;">{{#if:{{{reverse|}}}|└|┌}}</span><!-- |
||
--><span style="display:inline-block; overflow:hidden; word-wrap:normal; width:{{ |
--><span style="display:inline-block; overflow:hidden; word-wrap:normal; width:{{#switch:{{{1}}} |
||
|:=0.8 |
|:=0.8 |
||
|::=2.4 |
|::=2.4 |
||
Line 22: | Line 22: | ||
|:::::::::::::::::::=29.6 |
|:::::::::::::::::::=29.6 |
||
|::::::::::::::::::::=31.2 |
|::::::::::::::::::::=31.2 |
||
|#default={{#expr: {{{1|10}}} * 1.6 - 0.8}}}}em;"><!-- |
|#default={{ #expr: {{ #iferror: {{ #ifexpr: {{{1}}} > 0 and {{{1}}} < 40 | {{{1}}} | 10 }} | 10 }} * 1.6 - 0.8 }} }}em;"><!-- |
||
-->────────────────────────────────────────────────────────────────────────────────────────────────────</span><!-- |
-->────────────────────────────────────────────────────────────────────────────────────────────────────</span><!-- |
||
--><span style="display:inline-block; overflow:hidden;">{{#if:{{{reverse|}}}|┐|┘}}</span><!-- |
--><span style="display:inline-block; overflow:hidden;">{{#if:{{{reverse|}}}|┐|┘}}</span><!-- |
||
--></span><!-- |
--></span><!-- |
||
--><span>{{ |
--><span>{{#if:{{{2|}}}|([[w:Wikipedia:Indentation#Outdenting|outdent]]) }}</span><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |