mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 05:27:17 +02:00
Updated HTML docs
This commit is contained in:
parent
160a1d1a8f
commit
86ac451c24
48 changed files with 136 additions and 134 deletions
|
|
@ -137,8 +137,9 @@
|
|||
<span class="sd"> # create a new form from the template</span>
|
||||
<span class="sd"> form = EvForm("path/to/testform.py")</span>
|
||||
|
||||
<span class="sd"> (EvForm can also take a dictionary holding</span>
|
||||
<span class="sd"> the required keys FORMCHAR, TABLECHAR and FORM)</span>
|
||||
<span class="sd"> # EvForm can also take a dictionary instead of a filepath, as long</span>
|
||||
<span class="sd"> # as the dict contains the keys FORMCHAR, TABLECHAR and FORM</span>
|
||||
<span class="sd"> # form = EvForm(form=form_dict)</span>
|
||||
|
||||
<span class="sd"> # add data to each tagged form cell</span>
|
||||
<span class="sd"> form.map(cells={1: "Tom the Bouncer",</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue