Template:String:Center syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created by class Wiki)
 
m (1 revision)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- This page was automatically generated and will be automatically
<!-- This page was automatically generated and will be automatically
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
<p class="syntax"><span class="term">%string</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:[[Center (String function)|Center]]</span><span class="literal">(</span> <span class="term">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Pad=</span> <span class="term">pad</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">OffsetLeft=</span> <span class="term">offsetLeft</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:Center</span><span class="literal">(</span> <span class="term" title="Number">length</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="Boolean">OffsetLeft=</span> <span class="term" title="Boolean">boolean</span><span class="squareb">]</span><span class="literal">)</span></p>

Latest revision as of 23:58, 31 January 2011

%outString = string:Center( length, [Pad= c], [OffsetLeft= boolean])