Difference between revisions of "Category:City"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
(modified by JSMW_PageSchema at 2015-01-07T07:36:59Z)
(modified by JSMW_PageSchema at 2015-01-07T07:40:22Z)
Line 60: Line 60:
 
</PageSchema>
 
</PageSchema>
 
[[Category:PageSchema]]
 
[[Category:PageSchema]]
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T07:36:59Z<br>
+
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T07:40:22Z<br>
 
It has the template: [[:Template:City]]<br>
 
It has the template: [[:Template:City]]<br>
 
And the form: [[:Form:City]]<br>
 
And the form: [[:Form:City]]<br>
Line 71: Line 71:
 
| image_skyline          = NYC Montage 2014 4 - Jleon.jpg
 
| image_skyline          = NYC Montage 2014 4 - Jleon.jpg
 
| image_flag              = Flag of New York City.svg
 
| image_flag              = Flag of New York City.svg
...| website                = [http://www.nyc.gov/ New York City]
+
...| population_total        = 8,405,837
 +
| website                = [http://www.nyc.gov/ New York City]
 
}}</pre><br>
 
}}</pre><br>
 
* see also [[:Category:Country]]
 
* see also [[:Category:Country]]

Revision as of 09:40, 7 January 2015

<PageSchema category="City">

  <semanticforms_Form name="City"/>
  <Template name="City" format="standard">
     <Field name="name">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size">80</Parameter>
        </semanticforms_FormInput>
        <Label>local Name</Label>
        <semanticmediawiki_Property name="City_name">
           <Type>Text</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="Population">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size">20</Parameter>
           <Parameter name="mandatory"></Parameter>
        </semanticforms_FormInput>
        <Label>Pop.</Label>
        <semanticmediawiki_Property name="City_Population">
           <Type>Number</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="wikipedia_url">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size">100</Parameter>
           <Parameter name="mandatory"></Parameter>
        </semanticforms_FormInput>
        <Label>wikipedia url</Label>
        <semanticmediawiki_Property name="City_wikipedia_url">
           <Type>URL</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field category="Country" name="Country">
        <semanticforms_FormInput>
           <InputType>combobox</InputType>
           <Parameter name="size">50</Parameter>
           <Parameter name="autocomplete on category">Country</Parameter>
           <Parameter name="mandatory"></Parameter>
        </semanticforms_FormInput>
        <Label>Country</Label>
        <semanticmediawiki_Property name="City_Country">
           <Type>Page</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field category="Mayor" name="Mayor">
        <semanticforms_FormInput>
           <InputType>combobox</InputType>
           <Parameter name="size">80</Parameter>
           <Parameter name="autocomplete on category">Mayor</Parameter>
        </semanticforms_FormInput>
        <Label>Mayor</Label>
        <semanticmediawiki_Property name="City_Mayor">
           <Type>Page</Type>
        </semanticmediawiki_Property>
     </Field>
  </Template>

</PageSchema> This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T07:40:22Z
It has the template: Template:City
And the form: Form:City
see Semantic Page Schemas sample xml structure
Systematic information on cities (called settlments there) is available on wikipedia

Example for New York:

{{Infobox settlement
| name                    = New York City
| official_name           = City of New York
| settlement_type         = [[City (New York)|City]]
| image_skyline           = NYC Montage 2014 4 - Jleon.jpg
| image_flag              = Flag of New York City.svg
...| population_total        = 8,405,837
| website                 = [http://www.nyc.gov/ New York City]
}}


Pages in category "City"

The following 6 pages are in this category, out of 6 total.