Jump to content

Template:Planet: Difference between revisions

 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
     <data source="ipa">
     <data source="ipa">
       <label>IPA Pronuciation</label>
       <label>IPA Pronuciation</label>
      <format>/{{{ipa}}}/</format>
     </data>
     </data>
   </group>
   </group>
Line 18: Line 19:
     <data source="universe">
     <data source="universe">
       <label>Universe</label>
       <label>Universe</label>
    </data>
    <data source="status">
      <label>Status</label>
     </data>
     </data>
     <data source="sector">
     <data source="sector">
Line 30: Line 34:
     <data source="diameter">
     <data source="diameter">
       <label>Diameter</label>
       <label>Diameter</label>
    </data>
    <data source="rings">
    <label>Rings</label>
     </data>
     </data>
     <data source="orbital_period">
     <data source="orbital_period">
Line 39: Line 46:
     <data source="gravity">
     <data source="gravity">
       <label>Gravity</label>
       <label>Gravity</label>
      <format>{{{gravity|1}}} [[Gravity Metric|G]]</format>
     </data>
     </data>
   </group>
   </group>
Line 155: Line 163:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example usage:
{{Documentation}}
{{Planet
  | name=Example
  | oed = t eh r uh
  | ipa = example
  | image=Example.jpg
  | caption-image=Example
  | background=Example
  | universe=Example
  | sector=Example
  | system=Example
  | type=Example
  | diameter=Example
  | orbital_period=Example
  | rotation_period=Example
  | gravity=Example
  | geography=Example
  | terrain=Example
  | climate=Example
  | notable_locations=Example
  | notable_features=Example
  | history=Example
  | discovery=Example
  | natives=Example
  | role=Example
  | population=Example
  | sentient_species=Example
  | number_of_cities=Example
  | worker_groups=Example
  | military_presence=Example
  | ecology=Example
  | biology=Example
  | flora=Example
  | fauna=Example
  | environments=Example
  | ecosystems=Example
  | water=Example
  | water_coverage=Example
  | number_of_continents=Example
  | logistics=Example
  | agriculture=Example
  | exports=Example
  | imports=Example
  | trade_routes=Example
  | transportation=Example
  | communications=Example
  | economy=Example
  | currency=Example
  | technology=Example
  | industry=Example
  | security=Example
}}
<pre>
{{Planet
  | name=Example
  | oed=Example
  | ipa=Example
  | image=Example.jpg
  | caption-image=Example
  | background=Example
  | universe=Example
  | sector=Example
  | system=Example
  | type=Example
  | diameter=Example
  | orbital_period=Example
  | rotation_period=Example
  | gravity=Example
  | geography=Example
  | terrain=Example
  | climate=Example
  | notable_locations=Example
  | notable_features=Example
  | history=Example
  | discovery=Example
  | natives=Example
  | role=Example
  | population=Example
  | sentient_species=Example
  | number_of_cities=Example
  | worker_groups=Example
  | military_presence=Example
  | ecology=Example
  | biology=Example
  | flora=Example
  | fauna=Example
  | environments=Example
  | ecosystems=Example
  | water=Example
  | water_coverage=Example
  | number_of_continents=Example
  | logistics=Example
  | agriculture=Example
  | exports=Example
  | imports=Example
  | trade_routes=Example
  | transportation=Example
  | communications=Example
  | economy=Example
  | currency=Example
  | technology=Example
  | industry=Example
  | security=Example
}}
</pre>
<templatedata>
<templatedata>
{
{
Line 282: Line 186:
"type": "wiki-page-name"
"type": "wiki-page-name"
},
},
    "sector": {
"sector": {
      "suggested": true,
"suggested": true,
      "type": "wiki-page-name"
"type": "wiki-page-name"
    },
},
    "system": {
"system": {
      "suggested": true,
"suggested": true,
      "type": "wiki-page-name"
"type": "wiki-page-name"
    },
},
    "type": {
"type": {
      "suggested": true,
"suggested": true,
      "type": "wiki-page-name"
"type": "wiki-page-name"
    },
},
    "diameter": {
"diameter": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "orbital_period": {
"orbital_period": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "rotation_period": {
"rotation_period": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "gravity": {
"gravity": {
      "suggested": true,
"suggested": true,
      "type": "number"
"type": "number"
    },
},
    "geography": {
"geography": {
      "suggested": true
"suggested": true
 
},
    },
"terrain": {
    "terrain": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"climate": {
    "climate": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"notable_locations": {
    "notable_locations": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"notable_features": {
    "notable_features": {
"suggested": true,
      "suggested": true,
"type": "string"
      "type": "string"
},
    },
"history": {
    "history": {
"suggested": true
      "suggested": true
},
    },
"discovery": {
    "discovery": {
"suggested": true
      "suggested": true
},
    },
"natives": {
    "natives": {
"suggested": true,
      "suggested": true,
"type": "wiki-page-name"
      "type": "wiki-page-name"
},
    },
"role": {
    "role": {
"suggested": true,
"suggested": true,
"type": "string"
"type": "string"
Line 410: Line 313:
"type": "string"
"type": "string"
},
},
    "trade_routes": {
"trade_routes": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "transportation": {
"transportation": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "communications": {
"communications": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "economy": {
"economy": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "currency": {
"currency": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "technology": {
"technology": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "industry": {
"industry": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "security": {
"security": {
      "suggested": true,
"suggested": true,
      "type": "string"
"type": "string"
    },
},
    "oed": {
"oed": {
      "type": "line"
"type": "line"
    },
},
    "ipa": {
"ipa": {
      "type": "line"
"type": "line"
},
"rings": {
"type": "boolean",
"default": "no",
"autovalue": "no",
"required": true
}
}
},
},
Line 458: Line 367:
"background",
"background",
"universe",
"universe",
    "sector",
"sector",
    "system",
"system",
    "type",
"type",
    "diameter",
"diameter",
    "orbital_period",
"rings",
    "rotation_period",
"orbital_period",
    "gravity",
"rotation_period",
    "geography",
"gravity",
    "terrain",
"geography",
    "climate",
"terrain",
    "notable_locations",
"climate",
    "notable_features",
"notable_locations",
    "history",
"notable_features",
    "discovery",
"history",
"discovery",
"natives",
"natives",
"role",
"role",
Line 492: Line 402:
"exports",
"exports",
"imports",
"imports",
    "trade_routes",
"trade_routes",
    "transportation",
"transportation",
    "communications",
"communications",
    "economy",
"economy",
    "currency",
"currency",
    "technology",
"technology",
    "industry",
"industry",
    "security"
"security"
    ]
]
}
}
</templatedata>
</templatedata>
[[Category:Templates]] [[Category:Infobox templates]]
[[Category:Templates]] [[Category:Infobox templates]]
</noinclude>
</noinclude>