Difference between revisions of "Category:City"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
(modified by JSMW_PageSchema at 2015-01-07T10:10:40Z)
(modified by JSMW_PageSchema at 2015-01-07T10:39:25Z)
Line 10: Line 10:
 
         <semanticmediawiki_Property name="City_name">
 
         <semanticmediawiki_Property name="City_name">
 
             <Type>Text</Type>
 
             <Type>Text</Type>
 +
        </semanticmediawiki_Property>
 +
      </Field>
 +
      <Field name="webpage">
 +
        <semanticforms_FormInput>
 +
            <InputType></InputType>
 +
            <Parameter name="size">120</Parameter>
 +
        </semanticforms_FormInput>
 +
        <Label>website</Label>
 +
        <semanticmediawiki_Property name="City_webpage">
 +
            <Type>URL</Type>
 
         </semanticmediawiki_Property>
 
         </semanticmediawiki_Property>
 
       </Field>
 
       </Field>
Line 60: Line 70:
 
</PageSchema>
 
</PageSchema>
 
[[Category:PageSchema]]
 
[[Category:PageSchema]]
This Category has been generated with [https://github.com/WolfgangFahl/JSMW_PageSchema JSMW_PageSchema Version 0.0.2] at 2015-01-07T10:10:40Z<br>
+
This Category has been generated with [https://github.com/WolfgangFahl/JSMW_PageSchema JSMW_PageSchema Version 0.0.2] at 2015-01-07T10:39:25Z<br>
 
The following results are based on it:  
 
The following results are based on it:  
 
* [[:Category:City]]<br>
 
* [[:Category:City]]<br>
Line 99: Line 109:
 
Class City <<Category>> {
 
Class City <<Category>> {
 
Text local Name
 
Text local Name
 +
URL website
 
Number Pop.
 
Number Pop.
 
URL wikipedia url
 
URL wikipedia url

Revision as of 11:39, 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="webpage">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size">120</Parameter>
        </semanticforms_FormInput>
        <Label>website</Label>
        <semanticmediawiki_Property name="City_webpage">
           <Type>URL</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-07T10:39:25Z
The following results are based on it:

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]
}}


UML diagram for City PageSchema

Pages in category "City"

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