Form:Place: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
{| class="formtable" | {| class="formtable" | ||
<noinclude> | |||
Form for creating and editing Place pages. | |||
</noinclude> | |||
{{{info | |||
|no summary | |||
|no preview | |||
|no minor edit | |||
|no watch | |||
|no footer | |||
}}} | |||
{{{for template|Place | |||
|page name=Place:{{{Code}}} | |||
}}} | |||
{| class="formtable" | |||
! Code | |||
| {{{field|Code | |||
|mandatory | |||
|input type=text | |||
|size=6 | |||
|maxlength=6 | |||
|pattern=^[A-Z0-9]{6}$ | |||
|placeholder=ABC123 | |||
}}} | |||
|- | |||
! Name | |||
| {{{field|Label|mandatory}}} | |||
|- | |||
! Parent place | |||
| {{{field|Parent | |||
|input type=combobox | |||
|cargo table=Places | |||
|cargo field=Code | |||
|display fields=Code,Label | |||
|display format=$1 – $2 | |||
|where=Code != '{{PAGENAME}}' | |||
|placeholder=Top level (no parent) | |||
}}} | |||
|- | |||
! Type | |||
| {{{field|Type | |||
|input type=dropdown | |||
|values=Continent,Country,Region,Province,City,Neighborhood,Street | |||
}}} | |||
|- | |||
! Address | |||
| {{{field|Address}}} | |||
|- | |||
! Latitude | |||
| {{{field|Latitude}}} | |||
|- | |||
! Longitude | |||
| {{{field|Longitude}}} | |||
|- | |||
! Notes | |||
| {{{field|Notes | |||
|input type=textarea | |||
}}} | |||
|} | |||
{{{standard input|save}}} | |||
{{{end template}}} | |||
! Title | ! Title | ||
Revision as of 13:49, 16 February 2026
Form for creating and editing Place pages.
no summary
Place
| Code | Code |
|---|---|
| Name | Label |
| Parent place | Parent |
| Type | Type |
| Address | Address |
| Latitude | Latitude |
| Longitude | Longitude |
| Notes | Notes
|
save
{{{end template}}}
Title title Code Place Parent Place parent Type type Address address Latitude latitude Longitude longitude Notes notes
save
{{{end template}}}