Form:NewsItem: Difference between revisions
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<templatestyles src="Template:NewsItemForm/styles.css" /> | |||
This form creates a News Item page for [[Portal:Current Events]]. | This form creates a News Item page for [[Portal:Current Events]]. | ||
Recommended workflow: use the | Recommended workflow: use the "Add News Item" button on the portal (auto stub title). | ||
</noinclude> | </noinclude> | ||
{{{for template|NewsItem}}} | |||
{{{for template|NewsItem | |||
{| class="formtable" | {| class="formtable" | ||
|- | |- | ||
| Line 30: | Line 29: | ||
|- | |- | ||
! Province/State: | ! Province/State: | ||
| {{{field|admin1|input type=text|placeholder= | | {{{field|admin1|input type=text|placeholder=Use ; for multiple provinces/states(e.g., Ilocos Sur; Benguet)}}} | ||
|- | |- | ||
! District: | ! District: | ||
| {{{field|admin2|input type=text|placeholder= | | {{{field|admin2|input type=text|placeholder=Use ; for multiple districts (e.g., Sugpon; Kibungan)}}} | ||
|- | |- | ||
! Locality: | ! Locality: | ||
| {{{field|locality|input type=text|placeholder= | | {{{field|locality|input type=text|placeholder=Use ; for multiple localities (e.g., Grahan; Malana)}}} | ||
|- | |- | ||
! Coordinates: | ! Coordinates: | ||
| Line 46: | Line 45: | ||
! Growing area: | ! Growing area: | ||
| {{{field|growing_area|input type=page}}} | | {{{field|growing_area|input type=page}}} | ||
|- | |- | ||
! colspan="2" | | ! colspan="2" | | ||
{| class="wikitable mw-collapsible mw-collapsed lw-form-collapsible" style="width:100%;" | |||
|+ Enforcement (optional; for Enforcement category) | |||
|- | |||
! style="width:180px;" | Agency: | |||
| {{{field|agency|input type=text|size=60|placeholder=e.g., SENAD, Federal Police}}} | |||
|- | |||
! Hectares Destroyed: | |||
| {{{field|hectares|input type=text|size=20|placeholder=e.g., 589}}} | |||
|- | |||
! Plants Eradicated: | |||
| {{{field|plants|input type=text|size=20|placeholder=e.g., 81500}}} | |||
|- | |||
! colspan="2" | | |||
{| class="wikitable mw-collapsible mw-collapsed lw-form-collapsible" style="width:100%;" | |||
|+ Eradication Plots (optional; up to 10 locations) | |||
|- | |||
! style="width:180px;" | Plot 1: | |||
| Label: {{{field|plot1_label|input type=text|size=45|placeholder=e.g., Loccong ridge}}}<br /> | |||
Coords: {{{field|plot1_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot1_hectares|input type=text|size=10|placeholder=e.g., 1.2}}} Plants: {{{field|plot1_plants|input type=text|size=12|placeholder=e.g., 52000}}} | |||
|- | |||
! Plot 2: | |||
| Label: {{{field|plot2_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot2_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot2_hectares|input type=text|size=10}}} Plants: {{{field|plot2_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 3: | |||
| Label: {{{field|plot3_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot3_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot3_hectares|input type=text|size=10}}} Plants: {{{field|plot3_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 4: | |||
| Label: {{{field|plot4_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot4_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot4_hectares|input type=text|size=10}}} Plants: {{{field|plot4_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 5: | |||
| Label: {{{field|plot5_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot5_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot5_hectares|input type=text|size=10}}} Plants: {{{field|plot5_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 6: | |||
| Label: {{{field|plot6_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot6_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot6_hectares|input type=text|size=10}}} Plants: {{{field|plot6_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 7: | |||
| Label: {{{field|plot7_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot7_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot7_hectares|input type=text|size=10}}} Plants: {{{field|plot7_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 8: | |||
| Label: {{{field|plot8_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot8_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot8_hectares|input type=text|size=10}}} Plants: {{{field|plot8_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 9: | |||
| Label: {{{field|plot9_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot9_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot9_hectares|input type=text|size=10}}} Plants: {{{field|plot9_plants|input type=text|size=12}}} | |||
|- | |||
! Plot 10: | |||
| Label: {{{field|plot10_label|input type=text|size=45}}}<br /> | |||
Coords: {{{field|plot10_coordinates|input type=coordinates|placeholder=lat, lon}}}<br /> | |||
Ha: {{{field|plot10_hectares|input type=text|size=10}}} Plants: {{{field|plot10_plants|input type=text|size=12}}} | |||
|} | |||
|} | |} | ||
[[Category:News Item]] | |||
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|cancel}}} | |||
{{{standard input|save}}} | |||
{{{standard input|preview}}} | |||
{{{standard input|cancel}}} | |||
Latest revision as of 21:51, 18 January 2026
This form creates a News Item page for Portal:Current Events. Recommended workflow: use the "Add News Item" button on the portal (auto stub title).
NewsItem
| Date (required): | date | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Category (required): | category | ||||||||||||||||||||||||||||
| Headline (required): | title | ||||||||||||||||||||||||||||
| Summary (required): | summary | ||||||||||||||||||||||||||||
| Source URL (required): | source | ||||||||||||||||||||||||||||
| Ongoing event (hub): | part_of_campaign | ||||||||||||||||||||||||||||
| Country: | country | ||||||||||||||||||||||||||||
| Province/State: | admin1 | ||||||||||||||||||||||||||||
| District: | admin2 | ||||||||||||||||||||||||||||
| Locality: | locality | ||||||||||||||||||||||||||||
| Coordinates: | coordinates | ||||||||||||||||||||||||||||
| Growing region: | growing_region | ||||||||||||||||||||||||||||
| Growing area: | growing_area | ||||||||||||||||||||||||||||
save preview cancel | |||||||||||||||||||||||||||||