Difference between revisions of "Category:City"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
(modified by JSMW_PageSchema at 2015-01-06T18:04:34Z)
(generated with [https://github.com/WolfgangFahl/JSMW_PageSchema JSMW_PageSchema Version 0.0.3] at 2015-03-21T07:07:32Z)
 
(88 intermediate revisions by the same user not shown)
Line 1: Line 1:
<PageSchema>
+
<PageSchema category="City" name="City" pluralName="Cities">
  <category>City</category>
+
   <semanticforms_Form name="City" pluralName="Citys"/>
   <semanticforms_Form name="City"/>
+
   <Template name="City" pluralName="Citys" format="standard">
   <Template category="Mayor" name="City" format="standard">
+
       <Field name="name" pluralName="names">
       <Field name="name">
 
 
         <semanticforms_FormInput>
 
         <semanticforms_FormInput>
             <InputType>Text</InputType>
+
             <InputType></InputType>
             <Parameter name="size">80</Parameter>
+
             <Parameter name="size" pluralName="sizes">80</Parameter>
 
         </semanticforms_FormInput>
 
         </semanticforms_FormInput>
 
         <Label>local Name</Label>
 
         <Label>local Name</Label>
         <semanticmediawiki_Property name="City_name">
+
         <semanticmediawiki_Property name="City_name" pluralName="City_names">
 
             <Type>Text</Type>
 
             <Type>Text</Type>
 
         </semanticmediawiki_Property>
 
         </semanticmediawiki_Property>
 
       </Field>
 
       </Field>
       <Field name="Population">
+
       <Field name="webpage" pluralName="webpages">
 
         <semanticforms_FormInput>
 
         <semanticforms_FormInput>
             <InputType>Number</InputType>
+
             <InputType></InputType>
             <Parameter name="size">20</Parameter>
+
             <Parameter name="size" pluralName="sizes">120</Parameter>
             <Parameter name="mandatory"></Parameter>
+
        </semanticforms_FormInput>
 +
        <Label>website</Label>
 +
        <semanticmediawiki_Property name="City_webpage" pluralName="City_webpages">
 +
            <Type>URL</Type>
 +
        </semanticmediawiki_Property>
 +
      </Field>
 +
      <Field name="Population" pluralName="Populations">
 +
        <semanticforms_FormInput>
 +
            <InputType></InputType>
 +
            <Parameter name="size" pluralName="sizes">20</Parameter>
 +
             <Parameter name="mandatory" pluralName="mandatorys"></Parameter>
 
         </semanticforms_FormInput>
 
         </semanticforms_FormInput>
 
         <Label>Pop.</Label>
 
         <Label>Pop.</Label>
         <semanticmediawiki_Property name="City_Population">
+
         <semanticmediawiki_Property name="City_Population" pluralName="City_Populations">
 
             <Type>Number</Type>
 
             <Type>Number</Type>
 
         </semanticmediawiki_Property>
 
         </semanticmediawiki_Property>
 
       </Field>
 
       </Field>
       <Field name="Country">
+
       <Field name="wikipedia_url" pluralName="wikipedia_urls">
 
         <semanticforms_FormInput>
 
         <semanticforms_FormInput>
             <InputType>Page</InputType>
+
             <InputType></InputType>
             <Parameter name="size">50</Parameter>
+
             <Parameter name="size" pluralName="sizes">100</Parameter>
             <Parameter name="mandatory"></Parameter>
+
            <Parameter name="mandatory" pluralName="mandatorys"></Parameter>
 +
        </semanticforms_FormInput>
 +
        <Label>wikipedia url</Label>
 +
        <semanticmediawiki_Property name="City_wikipedia_url" pluralName="City_wikipedia_urls">
 +
            <Type>URL</Type>
 +
        </semanticmediawiki_Property>
 +
      </Field>
 +
      <Field category="Country" name="Country" pluralName="Countrys">
 +
        <semanticforms_FormInput>
 +
            <InputType>combobox</InputType>
 +
            <Parameter name="size" pluralName="sizes">50</Parameter>
 +
            <Parameter name="autocomplete on category" pluralName="autocomplete on categorys">Country</Parameter>
 +
             <Parameter name="mandatory" pluralName="mandatorys"></Parameter>
 
         </semanticforms_FormInput>
 
         </semanticforms_FormInput>
 
         <Label>Country</Label>
 
         <Label>Country</Label>
         <semanticmediawiki_Property name="City_Country">
+
         <semanticmediawiki_Property name="City_Country" pluralName="City_Countrys">
 
             <Type>Page</Type>
 
             <Type>Page</Type>
 
         </semanticmediawiki_Property>
 
         </semanticmediawiki_Property>
 
       </Field>
 
       </Field>
       <Field name="Mayor">
+
       <Field category="Mayor" name="Mayor" pluralName="Mayors">
 
         <semanticforms_FormInput>
 
         <semanticforms_FormInput>
             <InputType>Page</InputType>
+
             <InputType>combobox</InputType>
             <Parameter name="size">80</Parameter>
+
             <Parameter name="size" pluralName="sizes">80</Parameter>
 +
            <Parameter name="autocomplete on category" pluralName="autocomplete on categorys">Mayor</Parameter>
 
         </semanticforms_FormInput>
 
         </semanticforms_FormInput>
 
         <Label>Mayor</Label>
 
         <Label>Mayor</Label>
         <semanticmediawiki_Property name="City_Mayor">
+
         <semanticmediawiki_Property name="City_Mayor" pluralName="City_Mayors">
 
             <Type>Page</Type>
 
             <Type>Page</Type>
 
         </semanticmediawiki_Property>
 
         </semanticmediawiki_Property>
Line 47: Line 69:
 
   </Template>
 
   </Template>
 
</PageSchema>
 
</PageSchema>
[[Category:PageSchema]]
+
=== UML ===
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-06T18:04:34Z<br>
+
<!--  Plantuml  -->
It has the template: [[:Template: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]<br>
 
 
<uml>
 
<uml>
skinparam classBackgroundColor white
+
title City
skinparam classBorderColor #FF8000
 
skinparam classFontColor black
 
skinparam classFontSize 12
 
skinparam classFontName Arial
 
skinparam NoteBackgroundColor white
 
 
 
title PageSchema City
 
 
note as CityDiagramNote
 
note as CityDiagramNote
 
Copyright (c) 2015 BITPlan GmbH
 
Copyright (c) 2015 BITPlan GmbH
 
[[http://www.bitplan.com]]
 
[[http://www.bitplan.com]]
 
end note
 
end note
note as CityNote  
+
note as CityNote
 
I represent a City like Berlin, New York or Tokyo
 
I represent a City like Berlin, New York or Tokyo
 
end note
 
end note
CityNote ..City
+
class City <<Category>> {
Class City <<Category>> {
+
' no category name local Name
 
Text local Name
 
Text local Name
 +
' no category webpage website
 +
URL website
 +
' no category Population Pop.
 
Number Pop.
 
Number Pop.
Page Country
+
' no category wikipedia_url wikipedia url
Page Mayor
+
URL wikipedia url
 
+
' Country Country Country
 +
' Mayor Mayor Mayor
 
}
 
}
hide <<Category>> circle
+
CityNote .. City
 +
City -- Country
 +
City -- Mayor
 +
skinparam classBackgroundColor white
 +
skinparam classBorderColor #FF8000
 +
skinparam classFontColor black
 +
skinparam classFontSize 12
 +
skinparam classFontName Arial
 +
skinparam NoteBorderColor #FF8000
 +
skinparam NoteBackgroundColor #FFFFF0
 +
hide circle
 
</uml>
 
</uml>
 +
* see also [[:Category:Country]]
 +
* see also [[:Category:Mayor]]
 +
=== Documentation ===
 +
see [https://www.mediawiki.org/wiki/Extension:Page_Schemas#Sample%20XML%20Structure Semantic Page Schemas sample xml structure]
 +
<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
 +
| 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]
 +
}}</pre>
 +
=== Concept ===
 +
{{Concept
 +
|name=City
 +
}}
 +
=== Links ===
 +
* [[List of Cities]]
 +
* [[Concept:City]]
 +
* [[:Category:City]]
 +
* [[:Template:City]]
 +
* [[:Form:City]]
 +
====Properties ====
 +
* [[Property:City_name]]
 +
* [[Property:City_webpage]]
 +
* [[Property:City_Population]]
 +
* [[Property:City_wikipedia_url]]
 +
* [[Property:City_Country]]
 +
* [[Property:City_Mayor]]
 +
<br>
 +
[[Category:PageSchema]]This Category has been generated with [https://github.com/WolfgangFahl/JSMW_PageSchema JSMW_PageSchema Version 0.0.3] at 2015-03-21T07:07:32Z<br>

Latest revision as of 09:07, 21 March 2015

<PageSchema category="City" name="City" pluralName="Cities">

  <semanticforms_Form name="City" pluralName="Citys"/>
  <Template name="City" pluralName="Citys" format="standard">
     <Field name="name" pluralName="names">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size" pluralName="sizes">80</Parameter>
        </semanticforms_FormInput>
        <Label>local Name</Label>
        <semanticmediawiki_Property name="City_name" pluralName="City_names">
           <Type>Text</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="webpage" pluralName="webpages">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size" pluralName="sizes">120</Parameter>
        </semanticforms_FormInput>
        <Label>website</Label>
        <semanticmediawiki_Property name="City_webpage" pluralName="City_webpages">
           <Type>URL</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="Population" pluralName="Populations">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size" pluralName="sizes">20</Parameter>
           <Parameter name="mandatory" pluralName="mandatorys"></Parameter>
        </semanticforms_FormInput>
        <Label>Pop.</Label>
        <semanticmediawiki_Property name="City_Population" pluralName="City_Populations">
           <Type>Number</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="wikipedia_url" pluralName="wikipedia_urls">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size" pluralName="sizes">100</Parameter>
           <Parameter name="mandatory" pluralName="mandatorys"></Parameter>
        </semanticforms_FormInput>
        <Label>wikipedia url</Label>
        <semanticmediawiki_Property name="City_wikipedia_url" pluralName="City_wikipedia_urls">
           <Type>URL</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field category="Country" name="Country" pluralName="Countrys">
        <semanticforms_FormInput>
           <InputType>combobox</InputType>
           <Parameter name="size" pluralName="sizes">50</Parameter>
           <Parameter name="autocomplete on category" pluralName="autocomplete on categorys">Country</Parameter>
           <Parameter name="mandatory" pluralName="mandatorys"></Parameter>
        </semanticforms_FormInput>
        <Label>Country</Label>
        <semanticmediawiki_Property name="City_Country" pluralName="City_Countrys">
           <Type>Page</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field category="Mayor" name="Mayor" pluralName="Mayors">
        <semanticforms_FormInput>
           <InputType>combobox</InputType>
           <Parameter name="size" pluralName="sizes">80</Parameter>
           <Parameter name="autocomplete on category" pluralName="autocomplete on categorys">Mayor</Parameter>
        </semanticforms_FormInput>
        <Label>Mayor</Label>
        <semanticmediawiki_Property name="City_Mayor" pluralName="City_Mayors">
           <Type>Page</Type>
        </semanticmediawiki_Property>
     </Field>
  </Template>

</PageSchema>

UML

Documentation

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

Concept

Template:Concept

Links

Properties


This Category has been generated with JSMW_PageSchema Version 0.0.3 at 2015-03-21T07:07:32Z

Pages in category "City"

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