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:32Z)
(modified by JSMW_PageSchema at 2015-01-07T07:19:57Z)
Line 49: Line 49:
 
</PageSchema>
 
</PageSchema>
 
[[Category:PageSchema]]
 
[[Category:PageSchema]]
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T07:19:32Z<br>
+
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T07:19:57Z<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>
 
see [https://www.mediawiki.org/wiki/Extension:Page_Schemas#Sample%20XML%20Structure Semantic Page Schemas sample xml structure]
 
see [https://www.mediawiki.org/wiki/Extension:Page_Schemas#Sample%20XML%20Structure Semantic Page Schemas sample xml structure]
Systematic information on cities (called settlments there) is available on wikipedia
+
<br>Systematic information on cities (called settlments there) is available on wikipedia
 
Example for [https://en.wikipedia.org/w/index.php?title=New_York_City New York]: <pre>{{Infobox settlement
 
Example for [https://en.wikipedia.org/w/index.php?title=New_York_City New York]: <pre>{{Infobox settlement
 
| name                    = New York City
 
| name                    = New York City

Revision as of 09:19, 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 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:19:57Z
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.