mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 07:57:16 +02:00
Updated HTML docs
This commit is contained in:
parent
88483fc3fa
commit
8936980973
297 changed files with 5517 additions and 23708 deletions
|
|
@ -72,7 +72,6 @@ object when displaying the form.</p>
|
|||
<span class="s1">| cccccccc | cccccccccccccccccBccccccccccccccccc |</span>
|
||||
<span class="s1">| | |</span>
|
||||
<span class="s1">-------------------------------------------------</span>
|
||||
<span class="s1">'''</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>The first line of the <strong>FORM</strong> string is ignored. The forms and table
|
||||
|
|
@ -163,16 +162,16 @@ EvCell or Tables.</p>
|
|||
<dl class="py method">
|
||||
<dt id="evennia.utils.evform.EvForm.__init__">
|
||||
<code class="sig-name descname">__init__</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">cells</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">tables</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="n">form</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kwargs</span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/utils/evform.html#EvForm.__init__"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.utils.evform.EvForm.__init__" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Initiate the form</p>
|
||||
<dd><p>Initiate the form.</p>
|
||||
<dl class="field-list simple">
|
||||
<dt class="field-odd">Keyword Arguments</dt>
|
||||
<dd class="field-odd"><ul class="simple">
|
||||
<li><p><strong>filename</strong> (<em>str</em>) – Path to template file.</p></li>
|
||||
<li><p><strong>cells</strong> (<em>dict</em>) – A dictionary mapping <strong>{id: text}</strong></p></li>
|
||||
<li><p><strong>tables</strong> (<em>dict</em>) – A dictionary mapping <strong>{id: EvTable}</strong>.</p></li>
|
||||
<li><p><strong>form</strong> (<em>dict</em>) – A dictionary
|
||||
<li><p><strong>cells</strong> (<em>dict</em>) – A dictionary mapping of <strong>{id:text}</strong>.</p></li>
|
||||
<li><p><strong>tables</strong> (<em>dict</em>) – A dictionary mapping of <strong>{id:EvTable}</strong>.</p></li>
|
||||
<li><p><strong>form</strong> (<em>dict</em>) – A dictionary of
|
||||
<strong>{“FORMCHAR”:char, “TABLECHAR”:char, “FORM”:templatestring}</strong>.
|
||||
If this is given, filename is not read.</p></li>
|
||||
if this is given, filename is not read.</p></li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue