Template:Space: Difference between revisions
From Alrik
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{nobr|0}}}|1||{{#ifeq:{{{wild|{{{aoe|0}}}}}}|1||<div class="mw-collapsible mw-collapsed" data-expandtext="+" data-collapsetext="−">}}}}{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{is|}}}|{{IS|{{{is}}}}}}}{{ | <includeonly>{{#ifeq:{{{nobr|0}}}|1||{{#ifeq:{{{wild|{{{aoe|0}}}}}}|1||<div class="mw-collapsible mw-collapsed" data-expandtext="+" data-collapsetext="−">}}}}{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{is|}}}|{{IS|{{{is}}}}}}}{{Space/unit|{{{1|}}}|aoe={{{aoe|}}}|wild={{{wild|}}}|exp={{{exp|1}}}}}{{{2|}}} <!-- | ||
-->{{#ifeq:{{{wild|{{{aoe|0}}}}}}|1|<small>(<!-- | -->{{#ifeq:{{{wild|{{{aoe|0}}}}}}|1|<small>(<!-- | ||
-->{{ | -->{{Space/unit|{{{1|}}}|{{#ifeq:{{{wild|0}}}|1|yards|feet}}|exp={{{exp|1}}}|kon=10}}{{S}}<!-- | ||
-->{{ | -->{{Space/unit|{{{1|}}}|meter|exp={{{exp|1}}}|kon={{#ifeq:{{{wild|0}}}|1|9|3}}}}<!-- | ||
-->)</small>|<!-- | -->)</small>|<!-- | ||
-->{{#ifeq:{{{nobr|0}}}|1|<small>(|<div class="mw-collapsible-content stats-container"><ul><li><small>}}<!-- | -->{{#ifeq:{{{nobr|0}}}|1|<small>(|<div class="mw-collapsible-content stats-container"><ul><li><small>}}<!-- | ||
-->{{ | -->{{Space/unit|{{{1|}}}|feet|exp={{{exp|1}}}|kon=10}}{{S}}<!-- | ||
-->{{ | -->{{Space/unit|{{{1|}}}|meter|exp={{{exp|1}}}|kon=3}} ''[Inside]''<!-- | ||
-->{{#ifeq:{{{nobr|0}}}|1|, |</small></li><li><small>}}<!-- | -->{{#ifeq:{{{nobr|0}}}|1|, |</small></li><li><small>}}<!-- | ||
-->{{ | -->{{Space/unit|{{{1|}}}|yards|exp={{{exp|1}}}|kon=10}}{{S}}<!-- | ||
-->{{ | -->{{Space/unit|{{{1|}}}|meter|exp={{{exp|1}}}|kon=9}} ''[Outside]''<!-- | ||
-->{{#ifeq:{{{nobr|0}}}|1|)|</li></ul></div></div>}}</small><!-- | -->{{#ifeq:{{{nobr|0}}}|1|)|</li></ul></div></div>}}</small><!-- | ||
-->}}</includeonly><noinclude>Uses [[:Template: | -->}}</includeonly><noinclude>Uses [[:Template:Space/unit]] | ||
*default call: <pre>{{ | *default call: <pre>{{Space|<No of spaces>}}</pre> | ||
*in-text use: | *in-text use: | ||
:<pre>{{ | :<pre>{{Space|<No of spaces>|nobr=1}}</pre> | ||
:just inside scale (e.g. aoe effects) | :just inside scale (e.g. aoe effects) | ||
:<pre>{{ | :<pre>{{Space|<No of spaces>|aoe=1}}</pre> | ||
:just outside scale | :just outside scale | ||
:<pre>{{ | :<pre>{{Space|<No of spaces>|wild=1}}</pre> | ||
*square or cubic: <pre>{{ | *square or cubic: <pre>{{Space|<No of spaces>|exp=2}}</pre><pre>{{Space|<No of spaces>|exp=3}}</pre> | ||
[[Category:Unit templates]]</noinclude> | [[Category:Unit templates]]</noinclude> |
Latest revision as of 03:39, 15 November 2024
Uses Template:Space/unit
- default call:
{{Space|<No of spaces>}}
- in-text use:
{{Space|<No of spaces>|nobr=1}}
- just inside scale (e.g. aoe effects)
{{Space|<No of spaces>|aoe=1}}
- just outside scale
{{Space|<No of spaces>|wild=1}}
- square or cubic:
{{Space|<No of spaces>|exp=2}}
{{Space|<No of spaces>|exp=3}}