Actions

Template

Difference between revisions of "WorldData"

From Gulf of Fallen Stars

 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
'''Usage:'''
+
This is the "WorldData" template.
 
+
It should be called in the following format:
<nowiki>{{WorldData
+
<pre>
|Name=Zirmeter
 
|Sector=Anansi
 
|Coordinates=0920
 
|Tags=Oceanic, Preceptor Archive, Dying
 
|Atmosphere=Breathable Mix
 
|Temperature=Warm
 
|Biosphere=Miscible
 
|Population=80000
 
|Ancestry=African
 
|TechLevel=4-
 
|LivingStandard=Poor
 
|Description=Spires rise from the sea of Abydos governed by warlords which lord over a captive population of serfs. The serfs pilot submersibles from the base of the towers to harvest Purple Crude, a biological materials that can be found no-where else, from the sea floor.
 
|History=The world has a long a florid history in the spice trade. This picture is an oil-on-panel portrait of Budé, produced around 1536 by Jean Clouet, a painter at the court of King Francis I of France. He was a very skilful painter and many fine portraits are attributed to him, but his picture of Budé is his only documented work, being mentioned in Budé's handwritten notes. The painting is now held by the Metropolitan Museum of Art in New York City.
 
|Plots=- Adangerous demagogue has risen and are encouraging the population to rise up against their masters. This is a plot instigated by an off-world power.<br>
 
-Involved in the [[Zuckerman Trials]]: Location of the third clue
 
|Authorities=Member of a special trading caste, Bureaucrat that communicates in strange idioms
 
|Enemies=Crazed survivors, Ruthless plunderers of the ruins, Automated defense system
 
|Friends=Inquisitive stellar archaeologist, Heir to the colony’s property, Local wanting the place cleaned out and made safe
 
|Complications=The local government wants the ruins to remain a secret, The locals claim ownership of it
 
|Things=Long-lost property deeds, Relic stolen by the colonists when they left, Historical record of the colonization attempt
 
|Places=Decaying habitation block, Vine-covered town square, Structure buried by an ancient landslide
 
|Regulations=Humans are restricted to trade zones, Traders are required to give passage to members of a non-starfaring species
 
|Trade=}}</nowiki>
 
 
 
 
{{WorldData
 
{{WorldData
|Name=TestWorld
+
|Name=
|Sector=Anansi
+
|Sector=
|Coordinates=0920
+
|Coordinates=
|Tags=Oceanic, Preceptor Archive, Dying
+
|Tags=
|Atmosphere=Breathable Mix
+
|Atmosphere=
|Temperature=Warm
+
|Temperature=
|Biosphere=Miscible
+
|Biosphere=
|Population=80000
+
|Population=
|Ancestry=African
+
|Ancestry=
|TechLevel=4-
+
|TechLevel=
|LivingStandard=Poor
+
|LivingStandard=
|Description=Spires rise from the sea of Abydos governed by warlords which lord over a captive population of serfs. The serfs pilot submersibles from the base of the towers to harvest Purple Crude, a biological materials that can be found no-where else, from the sea floor.
+
|Description=
|History=The world has a long a florid history in the spice trade. This picture is an oil-on-panel portrait of Budé, produced around 1536 by Jean Clouet, a painter at the court of King Francis I of France. He was a very skilful painter and many fine portraits are attributed to him, but his picture of Budé is his only documented work, being mentioned in Budé's handwritten notes. The painting is now held by the Metropolitan Museum of Art in New York City.
+
|History=
|Plots=- Adangerous demagogue has risen and are encouraging the population to rise up against their masters. This is a plot instigated by an off-world power.<br>
+
|Authorities=
- Involved in the [[Zuckerman Trials]]: Location of the third clue
+
|Enemies=
|Authorities=Member of a special trading caste, Bureaucrat that communicates in strange idioms
+
|Friends=
|Enemies=Crazed survivors, Ruthless plunderers of the ruins, Automated defense system
+
|Complications=
|Friends=Inquisitive stellar archaeologist, Heir to the colony’s property, Local wanting the place cleaned out and made safe
+
|Things=
|Complications=The local government wants the ruins to remain a secret, The locals claim ownership of it
+
|Places=
|Things=Long-lost property deeds, Relic stolen by the colonists when they left, Historical record of the colonization attempt
+
|Regulations=
|Places=Decaying habitation block, Vine-covered town square, Structure buried by an ancient landslide
 
|Regulations=Humans are restricted to trade zones, Traders are required to give passage to members of a non-starfaring species
 
 
|Trade=
 
|Trade=
|ignoredb=true}}
+
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
{{#cargo_declare:_table=Worlds|Name=String|Sector=String|Coordinates=String|Tags=List (,) of String|Atmosphere=String|Temperature=String|Biosphere=String|Population=Integer|Ancestry=List (,) of String|TechLevel=String|LivingStandard=String|Description=Wikitext|History=Wikitext|Authorities=Wikitext|Enemies=Wikitext|Friends=Wikitext|Complications=Wikitext|Things=Wikitext|Places=Wikitext|Regulations=Wikitext|Trade=Wikitext}}
 +
</noinclude><includeonly>{{#cargo_store:_table=Worlds|Name={{{Name|}}}|Sector={{{Sector|}}}|Coordinates={{{Coordinates|}}}|Tags={{{Tags|}}}|Atmosphere={{{Atmosphere|}}}|Temperature={{{Temperature|}}}|Biosphere={{{Biosphere|}}}|Population={{{Population|}}}|Ancestry={{{Ancestry|}}}|TechLevel={{{TechLevel|}}}|LivingStandard={{{LivingStandard|}}}|Description={{{Description|}}}|History={{{History|}}}|Authorities={{{Authorities|}}}|Enemies={{{Enemies|}}}|Friends={{{Friends|}}}|Complications={{{Complications|}}}|Things={{{Things|}}}|Places={{{Places|}}}|Regulations={{{Regulations|}}}|Trade={{{Trade|}}} }}<!--
 +
 
 +
-->{{BreadCrumbs|Worlds}}<!--
  
{{#cargo_declare:_table=Worlds|Name=String|Sector=String|Coordinates=String|Tags=String|Atmosphere=String|Temperature=String|Biosphere=String|Population=Int|Ancestry=Wikitext|TechLevel=String|LivingStandard=String|Description=Wikitext|History=Wikitext|Plots=Wikitext|Authorities=Wikitext|Enemies=Wikitext|Friends=Wikitext|Complications=Wikitext|Things=Wikitext|Places=Wikitext|Regulations=Wikitext|Trade=Wikitext}}
+
-->
</noinclude><includeonly>{{#if:{{{ignoredb|}}||{{#cargo_store:_table=Worlds|Name={{{Name|}}}|Sector={{{Sector|}}}|Coordinates={{{Coordinates|}}}|Tags={{{Tags|}}}|Atmosphere={{{Atmosphere|}}}|Temperature={{{Temperature|}}}|Biosphere={{{Biosphere|}}}|Population={{{Population|}}}|Ancestry={{{Ancestry|}}}|TechLevel={{{TechLevel|}}}|LivingStandard={{{LivingStandard|}}}|Description={{{Description|}}}|History={{{History|}}}|Plots={{{Plots|}}}|Authorities={{{Authorities|}}}|Enemies={{{Enemies|}}}|Friends={{{Friends|}}}|Complications={{{Complications|}}}|Things={{{Things|}}}|Places={{{Places|}}}|Regulations={{{Regulations|}}}|Trade={{{Trade|}}} }} }}<!--
+
{| class="wikitable"
 +
! Name
 +
| {{{Name|}}}
 +
|-
 +
! Sector
 +
| [[{{{Sector|}}} Sector|{{{Sector|}}}]]
 +
|-
 +
! Coordinates
 +
| {{{Coordinates|}}}
 +
|-
 +
! Tags
 +
| {{#arraymap:{{{Tags|}}}|,|x|{{Link_WorldTag|x}} }}
 +
|-
 +
! Atmosphere
 +
| {{{Atmosphere|}}}
 +
|-
 +
! Temperature
 +
| {{{Temperature|}}}
 +
|-
 +
! Biosphere
 +
| {{{Biosphere|}}}
 +
|-
 +
! Population
 +
| {{{Population|}}}
 +
|-
 +
! Phenotype
 +
| {{#arraymap:{{{Ancestry|}}}|,|x|{{link|Phenotype/x}} }}
 +
|-
 +
! TechLevel
 +
| {{{TechLevel|}}}
 +
|-
 +
! LivingStandard
 +
| {{{LivingStandard|}}}
 +
|-
 +
! Description
 +
| {{{Description|}}}
 +
|-
 +
! History
 +
| {{{History|}}}
 +
|-
 +
! Authorities
 +
| {{{Authorities|}}}
 +
|-
 +
! Enemies
 +
| {{{Enemies|}}}
 +
|-
 +
! Friends
 +
| {{{Friends|}}}
 +
|-
 +
! Complications
 +
| {{{Complications|}}}
 +
|-
 +
! Things
 +
| {{{Things|}}}
 +
|-
 +
! Places
 +
| {{{Places|}}}
 +
|-
 +
! Regulations
 +
| {{{Regulations|}}}
 +
|-
 +
! Trade
 +
| {{{Trade|}}}
 +
|}
  
-->{{Grid|type=begin|border=yes|cols=2}}<h3>{{{Name}}}</h3>
+
[[Category:Worlds]]
'''Coordinates:''' {{{Sector|}}} ({{{Coordinates|}}})<br>
+
</includeonly>
'''Tags:''' {{{Tags|}}}
 
<div style="column-count: 2"><!--
 
-->'''Atmosphere:''' {{{Atmosphere|‒}}}<br>'''Temperature:''' {{{Temperature|‒}}}<br>'''Biosphere:''' {{{Biosphere|‒}}}<br><!--
 
-->'''Population:''' {{{Population|‒}}}{{#if:{{{Ancestry|}}}|<br>'''Ancestry:''' {{{Ancestry}}}|}}<br>'''Tech Level:''' {{{TechLevel|‒}}}{{#if:{{{LivingStandard|}}}|<br>'''Av. Living Standards:''' {{{LivingStandard}}}|}}<!--
 
--></div>
 
{{#if:{{{Description|}}}|{{{Description}}}|}}<!--
 
-->{{#if:{{{History|}}}|<br>'''History:'''<br>{{{History}}}|}}<!--
 
-->{{#if:{{{Plots|}}}|<br>'''Plots:'''<br>
 
{{{Plots}}}|}}
 
'''Elements'''<!--
 
-->{{#if:{{{Authorities|}}}|<br>'''Authorities:''' {{{Authorities}}}|}}<!--
 
-->{{#if:{{{Enemies|}}}|<br>'''Enemies:''' {{{Enemies}}}|}}<!--
 
-->{{#if:{{{Friends|}}}|<br>'''Friends:''' {{{Friends}}}|}}<!--
 
-->{{#if:{{{Complications|}}}|<br>'''Complications:''' {{{Complications}}}|}}<!--
 
-->{{#if:{{{Things|}}}|<br>'''Things:''' {{{Things}}}|}}<!--
 
-->{{#if:{{{Places|}}}|<br>'''Places:''' {{{Places}}}|}}<!--
 
-->{{#if:{{{Regulations|}}}|<br>'''Regulations:''' {{{Regulations}}}|}}<!--
 
-->{{#if:{{{Trade|}}}|<br>{{{Trade}}}|}}<!--
 
-->{{Grid|type=end}}</includeonly>
 

Latest revision as of 02:49, 29 March 2020

This is the "WorldData" template. It should be called in the following format:

{{WorldData
|Name=
|Sector=
|Coordinates=
|Tags=
|Atmosphere=
|Temperature=
|Biosphere=
|Population=
|Ancestry=
|TechLevel=
|LivingStandard=
|Description=
|History=
|Authorities=
|Enemies=
|Friends=
|Complications=
|Things=
|Places=
|Regulations=
|Trade=
}}

Edit the page to see the template text. This template defines the table "Worlds". View table.