mNo edit summary
mNo edit summary
 
(15 intermediate revisions by the same user not shown)
Line 4: Line 4:
if a page with that name already exists, you will be sent to a form to edit that page.
if a page with that name already exists, you will be sent to a form to edit that page.


{{#forminput:form=Person|autocomplete on category=People}}
{{#forminput:form=Person|autocomplete on category=People|default=<page name>}}


</noinclude>
</noinclude>
Line 14: Line 14:
=Service record=
=Service record=
<div>
<div>
<div style="width:30%; min-height:25em;">
<div style="width:30%; float:right;">
<b>Photograph</b>
<b>Photograph</b>
<div style="padding:1em; border:1px solid white; margin-bottom:1em;">
<div style="padding:1em; border:1px solid white; margin-bottom:1em;">
Line 21: Line 21:


</div>
</div>
 
{{{field|ID|input type=text|hidden}}}
{| style="width: 100%; font-size:1em;"
{| style="width: 100%; font-size:1em;"
|-
|-
Line 49: Line 49:
| {{{field|DIVISION|input type=combobox|values=Infantry,Engineering,MIPOD,Engineers,Aviation}}}
| {{{field|DIVISION|input type=combobox|values=Infantry,Engineering,MIPOD,Engineers,Aviation}}}
! RANK
! RANK
| {{{field|RANK|input type=text|mandatory}}}
| {{{field|RANK|input type=text}}}
|-
|-
! UNIT
! UNIT
Line 74: Line 74:
</div>
</div>
</div>
</div>
{{{end template}}}


{{{for template|Person/Relationships}}}
=Relationships=
=Relationships=
todo
{{{field|relationship_entries|holds template}}}
{{{end template}}}
 
{{{for template|Person/Relationship|multiple|embed in field=Person/Relationships[relationship_entries]}}}
{|
! Name
| {{{field|name|input type=combobox|values from category=People}}}
|-
! Standing (%)
| {{{field|percent|input type=text|default=50}}}%
|-
! colspan="2" | Description
|-
| colspan="2" | {{{field|description|input type=textarea}}}
|-
|}
{{{end template}}}


=Journal=
 
todo
 
{{{for template|Person/Journal}}}
=Relationships=
{{{field|journal_entries|holds template}}}
{{{end template}}}
 
{{{for template|Person/JournalEntry|multiple|embed in field=Person/Journal[journal_entries]}}}
{|
! Date
| {{{field|date|input type=date|default=now}}}
|-
! Title
| {{{field|title|input type=string}}}
|-
! colspan="2" | Content
|-
| colspan="2" | {{{field|content|input type=textarea}}}
|-
|}
{{{end template}}}
{{{end template}}}
<headertabs />


</includeonly>
</includeonly>

Latest revision as of 13:49, 28 December 2022

This is the "Person" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.






Categories: