Difference between revisions of "Template:Outdent"

From Yugipedia
Jump to: navigation, search
(cut too much when I copied it)
(replace the #switch using #len, since we have StringFunctions here)
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><!--
 
--><span style="display:inline-block; overflow:hidden;">┌</span><!--
--><span style="display:inline-block; overflow:hidden; word-wrap:normal; width:{{{{{|safesubst:}}}#switch:{{{1|}}}
+
--><span style="display:inline-block; overflow:hidden; word-wrap:normal; width:{{ {{{|safesubst:}}}#expr: {{ {{{|safesubst:}}}#iferror: {{ {{{|safesubst:}}}#expr: {{{1}}} }} | {{ {{{|safesubst:}}}#len: {{{1}}} }} }} * 1.6 - 0.8 }}em;"><!--
|:=0.8
 
|::=2.4
 
|:::=4.0
 
|::::=5.6
 
|:::::=7.2
 
|::::::=9
 
|:::::::=10.6
 
|::::::::=12
 
|:::::::::=13.6
 
|::::::::::=15.2
 
|:::::::::::=16.8
 
|::::::::::::=18.4
 
|:::::::::::::=20
 
|::::::::::::::=21.6
 
|:::::::::::::::=23.2
 
|::::::::::::::::=24.8
 
|:::::::::::::::::=26.4
 
|::::::::::::::::::=28
 
|:::::::::::::::::::=29.6
 
|::::::::::::::::::::=31.2
 
|#default={{{{{|safesubst:}}}#expr: {{{1|10}}} * 1.6 - 0.8}}}}em;"><!--
 
 
-->────────────────────────────────────────────────────────────────────────────────────────────────────</span><!--
 
-->────────────────────────────────────────────────────────────────────────────────────────────────────</span><!--
 
--><span style="display:inline-block; overflow:hidden;">┘</span><!--
 
--><span style="display:inline-block; overflow:hidden;">┘</span><!--

Revision as of 12:08, 25 June 2016

────────────────────────────────────────────────────────────────────────────────────────────────────