User:Pee Tern/Sandbox/Template/Gen stub Law enforcement agency/doc

From Wikipedia, the free encyclopedia

Creating a basic article on a law enforcement agency

Introduction[edit]

Before you start, you should read:

or some advanced guides:

If you are not sure how to go about creating an article in Wikipedia, then the following allows you to provide just the facts you want to describe in relation to a law enforcement agency, and automatically generate a basic article. If you are then happy with the information in the generated article, you can then make the generated article into a manually editable article to continue to improve the article and add more information, or you can simply leave it for others to add to.

Generating a basic law enforcement agency article[edit]

Step 1: Locate a suitable source of reference material.

A good source of reference material for the content of a basic article on a law enforcement agency is the agency's annual report.

Most organisations publish a report once per year which outlines the organisation's achievements, their resources, budget, and personnel status. The report will also outline the organisation's general structure and perhaps also a bit about the organisation's history. While probably none if this material can be copied into Wikipedia articles due to copyright restrictions, the specific facts can be included into a Wikipedia article.

You need to be able to provide a good description of your source material, for example, Foo Police Annual Report, 2007-2008.

Step 2: Create an article with the desired name.

In the search box in Wikipedia type in the name of the article you want to create: Foo Police.

Click on Create the article.

Check that the page you are now editing has the correctly spelled title. If it does not, just back out and start again.

Step 3: Set up the template for the law enforcement agency data.

Copy the following text, including the included comment, and paste it into the edit box exactly as is.

{{Genstub Law enforcement agency
<!-- To convert this automatically generated article to a manually editable article, replace the above line with:
{{subst:Genstub Law enforcement agency
and then Save the article. -->
| agencyname      = 
| nativename      = 
| nativenamea     = 
| nativenamer     = 
| commonname      = 
| abbreviation    = 
| fictional       = 
| patch           = 
| patchcaption    = 
| logo            = 
| logocaption     = 
| badge           = 
| badgecaption    = 
| flag            = 
| flagcaption     = 
| motto           = 
| mottotranslated = 
| mission         = 
| formedyear      = 
| formedmonthday  = 
| preceding1      = 
| preceding2      = 
| preceding3      = 
| preceding4      = 
| preceding5      = 
| preceding6      =  
| dissolved       = 
| superseding     = 
| employees       = 
| volunteers      = 
| budget          = 
| nongovernment   = 
| country         = 
| national        = 
| federal         = 
| international   = NNN or {{collapsible list |title=NNN |[[country1]] . . |[[countryNNN]]}}
| divtype         = 
| divname         = 
| divdab          = 
| subdivtype      = 
| subdivname      = 
| subdivdab       = 
| map             = 
| mapcaption      = 
| sizearea        = 
| sizepopulation  = 
| legaljuris      = 
| governingbody   = 
| governingbodyscnd = 
| constitution1   = 
| constitution2   = 
| constitution3   = 
| constitution4   = 
| constitution5   = 
| constitution6   = 
| police          = 
| local           = 
| military        = 
| religious       = 
| speciality      = 
| overviewtype    = 
| overviewbody    = 
| headquarters    = 
| hqlocmap        = 
| hqlocleft       = 
| hqloctop        = 
| hqlocmappoptitle = 
| sworntype       = 
| sworn           = 
| unsworntype     = 
| unsworn         = 
| multinational   = NNN or {{collapsible list |title=NNN |[[country1]] . . |[[countryNNN]]}}
| electeetype     = 
| minister1name   = 
| minister1pfo    = 
| minister2name   = 
| minister2pfo    = 
| minister3name   = 
| minister3pfo    = 
| minister4name   = 
| minister4pfo    = 
| minister5name   = 
| minister5pfo    = 
| minister6name   = 
| minister6pfo    = 
| chief1name      = 
| chief1position  = 
| chief2name      = 
| chief2position  = 
| chief3name      = 
| chief3position  = 
| chief4name      = 
| chief4position  = 
| chief5name      = 
| chief5position  = 
| chief6name      = 
| chief6position  = 
| parentagency    = 
| child1agency    = 
| child2agency    = 
| child3agency    = 
| child4agency    = 
| child5agency    = 
| child6agency    = 
| unittype        = 
| unitname        = NNN or {{collapsible list |title=NNN |[[Unit1]] . . |[[UnitNNN]]}}
| officetype      = 
| officename      = NNN or {{collapsible list |title=NNN |[[Office1]] . . |[[OfficeNNN]]}}
| provideragency  = 
| uniformedas     = 
| stationtype     = 
| stations        = NNN or {{collapsible list |title=NNN |[[Station1]] . . |[[StationNNN]]}}
| airbases        = NNN or {{collapsible list |title=NNN |[[Airbase1]] . . |[[AirbaseNNN]]}}
| lockuptype      = 
| lockups         = NNN or {{collapsible list |title=NNN |[[Lockup1]] . . |[[LockupNNN]]}}
| vehicle1type    = 
| vehicles1       = NNN or {{collapsible list |title=NNN |[[Vehicle1]] . . |[[VehicleNNN]]}}
| vehicle2type    = 
| vehicles2       = NNN or {{collapsible list |title=NNN |[[Vehicle1]] . . |[[VehicleNNN]]}}
| vehicle3type    = 
| vehicles3       = NNN or {{collapsible list |title=NNN |[[Vehicle1]] . . |[[VehicleNNN]]}}
| boat1type       = 
| boats1          = NNN or {{collapsible list |title=NNN |[[Boat1]] . . |[[BoatNNN]]}}
| boat2type       = 
| boats2          = NNN or {{collapsible list |title=NNN |[[Boat1]] . . |[[BoatNNN]]}}
| boat3type       = 
| boats3          = NNN or {{collapsible list |title=NNN |[[Boat1]] . . |[[BoatNNN]]}}
| aircraft1type   = 
| aircraft1       = NNN or {{collapsible list |title=NNN |[[Aircraft1]] . . |[[AircraftNNN]]}}
| aircraft2type   = 
| aircraft2       = NNN or {{collapsible list |title=NNN |[[Aircraft1]] . . |[[AircraftNNN]]}}
| aircraft3type   = 
| aircraft3       = NNN or {{collapsible list |title=NNN |[[Aircraft1]] . . |[[AircraftNNN]]}}
| animal1type     = 
| animals1        = NNN or {{collapsible list |title=NNN |[[Animal1]] . . |[[AnimalNNN]]}}
| animal2type     = 
| animals2        = NNN or {{collapsible list |title=NNN |[[Animal1]] . . |[[AnimalNNN]]}}
| animal3type     = 
| animals3        = NNN or {{collapsible list |title=NNN |[[Animal1]] . . |[[AnimalNNN]]}}
| person1name     = 
| person1reason   = 
| person1type     = 
| person2name     = 
| person2reason   = 
| person2type     = 
| person3name     = 
| person3reason   = 
| person3type     = 
| person4name     = 
| person4reason   = 
| person4type     = 
| person5name     = 
| person5reason   = 
| person5type     = 
| person6name     = 
| person6reason   = 
| person6type     = 
| programme1      = 
| programme2      = 
| programme3      = 
| programme4      = 
| programme5      = 
| programme6      = 
| activity1name   = 
| activity2name   = 
| activity3name   = 
| activity4name   = 
| activity5name   = 
| activity6name   = 
| activitytype    = 
| anniversary1    = 
| anniversary2    = 
| anniversary3    = 
| anniversary4    = 
| anniversary5    = 
| anniversary6    = 
| award1          = 
| award2          = 
| award3          = 
| award4          = 
| award5          = 
| award6          = 
| website         = 
| footnotes       = 
| reference       = 
}}

A description of each of these parameters is provided in the following table. User:Pee Tern/Sandbox/Template/Infobox law enforcement agency/parameters

Step 4: Populate the template with facts from your source material.

After each parameter type in the fact's value if you have it available. If you do not know a value, then leave it blank, or blank out the skeleton examples.

You can always edit the article again and add or adjust facts later.

Enter your reference after the reference parameter, for example:

| reference        = Foo Police Annual Report, 2007-2008

Step 5: Preview the article. (Click on the preview button below the edit box.)

Check that the article and your facts look okay.

You can edit and preview the templated data as often as you wish.

Step 6: Save the article. (Click on the Save button below the edit box.)

The type of article you will have generated is called a stub article in Wikipedia.

Upgrading the article - converting the generated article to a manually editable article[edit]

When you have more information and you want to take the article beyond its very basic form, do the following:

  1. Edit the article and insert subst: in front of the template name {{Genstub Law enforcement agency}} so that is looks like {{subst:Genstub Law enforcement agency
  2. Save the article.

When you next edit the article, instead of the template being presented, the text generated by the template will be presented, which you can edit as desired.

Note that some of the text generated by the template will look very similar to the original template. Do NOT add subst: again.

Example[edit]

A simple example of the use of this template is available at User:Pee Tern/Sandbox/Template/Gen stub Law enforcement agency/simpleexample. A fuller example is available at User:Pee Tern/Sandbox/Template/Gen stub Law enforcement agency/example.