Template:Outdent: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Dinoguy1000 make fully substable |
meta>Dinoguy1000 documentation says this shouldn't be substed (which I didn't see before making my last edit); fix the problem with an empty first parameter causing an error |
||
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;">{{ | --><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={{{{{| | |#default={{ #expr: {{ #if: {{{1|}}} | {{{1}}} | 10 }} * 1.6 - 0.8 }} }}em;"><!-- | ||
-->────────────────────────────────────────────────────────────────────────────────────────────────────</span><!-- | -->────────────────────────────────────────────────────────────────────────────────────────────────────</span><!-- | ||
--><span style="display:inline-block; overflow:hidden;">{{ | --><span style="display:inline-block; overflow:hidden;">{{#if:{{{reverse|}}}|┐|┘}}</span><!-- | ||
--></span><!-- | --></span><!-- | ||
--><span>{{ | --><span>{{#if:{{{2|}}}|([[Wikipedia:Indentation#Outdenting|outdent]]) }}</span><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |