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}}}&#32;}}{{#if:{{{is|}}}|{{IS|{{{is}}}}}}}{{Field/unit|{{{1|}}}|aoe={{{aoe|}}}|wild={{{wild|}}}|exp={{{exp|1}}}}}{{{2|}}} <!--
<includeonly>{{#ifeq:{{{nobr|0}}}|1||{{#ifeq:{{{wild|{{{aoe|0}}}}}}|1||<div class="mw-collapsible mw-collapsed" data-expandtext="+" data-collapsetext="−">}}}}{{#if:{{{pre|}}}|{{{pre}}}&#32;}}{{#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>(<!--
   -->{{Field/unit|{{{1|}}}|{{#ifeq:{{{wild|0}}}|1|yards|feet}}|exp={{{exp|1}}}|kon=10}}{{S}}<!--
   -->{{Space/unit|{{{1|}}}|{{#ifeq:{{{wild|0}}}|1|yards|feet}}|exp={{{exp|1}}}|kon=10}}{{S}}<!--
   -->{{Field/unit|{{{1|}}}|meter|exp={{{exp|1}}}|kon={{#ifeq:{{{wild|0}}}|1|9|3}}}}<!--
   -->{{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>}}<!--
     -->{{Field/unit|{{{1|}}}|feet|exp={{{exp|1}}}|kon=10}}{{S}}<!--
     -->{{Space/unit|{{{1|}}}|feet|exp={{{exp|1}}}|kon=10}}{{S}}<!--
     -->{{Field/unit|{{{1|}}}|meter|exp={{{exp|1}}}|kon=3}} ''[Inside]''<!--
     -->{{Space/unit|{{{1|}}}|meter|exp={{{exp|1}}}|kon=3}} ''[Inside]''<!--
   -->{{#ifeq:{{{nobr|0}}}|1|,&#32;|</small></li><li><small>}}<!--
   -->{{#ifeq:{{{nobr|0}}}|1|,&#32;|</small></li><li><small>}}<!--
     -->{{Field/unit|{{{1|}}}|yards|exp={{{exp|1}}}|kon=10}}{{S}}<!--
     -->{{Space/unit|{{{1|}}}|yards|exp={{{exp|1}}}|kon=10}}{{S}}<!--
     -->{{Field/unit|{{{1|}}}|meter|exp={{{exp|1}}}|kon=9}} ''[Outside]''<!--
     -->{{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:Field/unit]]
-->}}</includeonly><noinclude>Uses [[:Template:Space/unit]]


*default call: <pre>{{Field|<No of fields>}}</pre>
*default call: <pre>{{Space|<No of spaces>}}</pre>
*in-text use:
*in-text use:
:<pre>{{Field|<No of fields>|nobr=1}}</pre>
:<pre>{{Space|<No of spaces>|nobr=1}}</pre>
:just inside scale (e.g. aoe effects)
:just inside scale (e.g. aoe effects)
:<pre>{{Field|<No of fields>|aoe=1}}</pre>
:<pre>{{Space|<No of spaces>|aoe=1}}</pre>
:just outside scale
:just outside scale
:<pre>{{Field|<No of fields>|wild=1}}</pre>
:<pre>{{Space|<No of spaces>|wild=1}}</pre>
*square or cubic: <pre>{{Field|<No of fields>|exp=2}}</pre><pre>{{Field|<No of fields>|exp=3}}</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}}