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:19:57Z)
(modified by JSMW_PageSchema at 2015-01-07T07:36:59Z)
Line 21: Line 21:
 
         <semanticmediawiki_Property name="City_Population">
 
         <semanticmediawiki_Property name="City_Population">
 
             <Type>Number</Type>
 
             <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>
 
         </semanticmediawiki_Property>
 
       </Field>
 
       </Field>
Line 49: Line 60:
 
</PageSchema>
 
</PageSchema>
 
[[Category:PageSchema]]
 
[[Category:PageSchema]]
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T07:19:57Z<br>
+
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T07:36:59Z<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 85: Line 96:
 
Text local Name
 
Text local Name
 
Number Pop.
 
Number Pop.
 +
URL wikipedia url
  
 
}
 
}

Revision as of 08:37, 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:36:59Z
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
...| website                 = [http://www.nyc.gov/ New York City]
}}


Pages in category "City"

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