Form:Musician: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Calendar display test)
 
(40 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=Musician|autocomplete on category=Musicians}}
{{#forminput:form=Musician}}


</noinclude><includeonly>
</noinclude><includeonly>
{{{info|create title=Add a musician|edit title=Edit a musician}}}
{{{info|create title=Add a musician|edit title=Edit a musician}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Musician}}}
{{{for template|Musician|display=table}}}
{| class="formtable"
{{{field|Instrument|input type=tokens}}}
! Instrument(s):
{{{field|Nickname}}}
| {{{field|Instrument|input type=text with autocomplete}}}
{{{field|Genre|mandatory}}}
|-
{{{field|Favorite colors|input type=tokens}}}
! The nickname:
{{{field|Performances|holds template}}}
| {{{field|Nickname}}}
{{{field|Street address|feeds to map=Musician[Coordinates]}}}
|-
{{{field|City|feeds to map=Musician[Coordinates]}}}
! Genre(s):
{{{field|Country|feeds to map=Musician[Coordinates]}}}
| {{{field|Genre}}}
{{{field|Living}}}
|}
{{{field|Coordinates|input type=openlayers}}}
{{{end template}}}
{{{end template}}}
 
{{{for template|Performance|multiple|label=Performances|display=calendar|embed in field=Musician[Performances]}}}
{{{for template|Performance|multiple|label=Performances|minimum instances=3}}}
{{{field|Location|mandatory}}}
'''Location:''' {{{field|Location}}}
{{{field|Date|input type=date}}}
 
{{{field|Outdoors|input type=checkbox|label=Outdoors?}}}
'''Date:''' {{{field|Date}}}
{{{field|Cost|input type=radiobutton}}}
 
{{{end template}}}
{{{end template}}}


Line 33: Line 31:


{{{standard input|free text|rows=10}}}
{{{standard input|free text|rows=10}}}
{{{standard input|summary}}}
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>

Latest revision as of 04:35, April 24, 2023

This is the "Musician" 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.