Form:Place: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
|no watch | |no watch | ||
|no footer | |no footer | ||
}}} | }}} | ||
{{{for template|Place | {{{for template|Place | ||
|page name=Place:{{{field|Code}}} | |||
}}} | }}} | ||
| Line 34: | Line 19: | ||
! Code | ! Code | ||
| {{{field|Code | | {{{field|Code | ||
|mandatory | |||
|input type=text | |||
|size=6 | |||
|maxlength=6 | |||
|pattern=^[A-Z0-9]{6}$ | |||
|placeholder=ABC123 | |||
}}} | }}} | ||
|- | |- | ||
| Line 49: | Line 34: | ||
! Parent place | ! Parent place | ||
| {{{field|Parent | | {{{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) | |||
}}} | }}} | ||
|- | |- | ||
| Line 61: | Line 46: | ||
! Type | ! Type | ||
| {{{field|Type | | {{{field|Type | ||
|input type=dropdown | |||
|values=Continent,Country,Region,Province,City,Neighborhood,Street | |||
}}} | }}} | ||
|- | |- | ||
| Line 79: | Line 64: | ||
! Notes | ! Notes | ||
| {{{field|Notes | | {{{field|Notes|input type=textarea}}} | ||
|} | |} | ||
Revision as of 13:54, 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}}}