Actions

Template

Difference between revisions of "WorldData"

From Gulf of Fallen Stars

 
(27 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
+
{{WorldData
|Sector=Anansi
+
|Name=
|Coordinates=0920
+
|Sector=
|Tags=Oceanic, Preceptor Archive, Dying
+
|Coordinates=
|Atmosphere=Breathable Mix
+
|Tags=
|Temperature=Warm
+
|Atmosphere=
|Biosphere=Miscible
+
|Temperature=
|Population=80000
+
|Biosphere=
|TechLevel=4-
+
|Population=
|LivingStandard=Poor
+
|Ancestry=
 +
|TechLevel=
 +
|LivingStandard=
 
|Description=
 
|Description=
 
|History=
 
|History=
|Authorities=Member of a special trading caste, Bureaucrat that communicates in strange idioms
+
|Authorities=
|Enemies=Crazed survivors, Ruthless plunderers of the ruins, Automated defense system
+
|Enemies=
|Friends=Inquisitive stellar archaeologist, Heir to the colony’s property, Local wanting the place cleaned out and made safe
+
|Friends=
|Complications=The local government wants the ruins to remain a secret, The locals claim ownership of it
+
|Complications=
|Things=Long-lost property deeds, Relic stolen by the colonists when they left, Historical record of the colonization attempt
+
|Things=
|Places=Decaying habitation block, Vine-covered town square, Structure buried by an ancient landslide
+
|Places=
|Regulations=Humans are restricted to trade zones, Traders are required to give passage to members of a non-starfaring species
+
|Regulations=
|Trade=}}</nowiki>
+
|Trade=
 +
}}
 +
</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|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|}}}|TechLevel={{{TechLevel|}}}|LivingStandard={{{LivingStandard|}}}|Description={{{Description|}}}|History={{{History|}}}|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|}}}
 
{{Grid|type=begin|cols=4}}<!--
 
-->'''Atmosphere:''' {{{Atmosphere|‒}}}<br>'''Temperature:''' {{{Temperature|‒}}}<br>'''Biosphere:''' {{{Biosphere|‒}}}<!--
 
-->{{Grid|type=div|cols=4}}<!--
 
-->'''Population:''' {{{Population|‒}}}<br>'''Tech Level:''' {{{TechLevel|‒}}}{{#if:{{{LivingStandard|}}}|<br>'''Average Living Standards:''' {{{LivingStandard}}}|}}<!--
 
-->{{Grid|type=end}}
 
{{#if:{{{Description|}}}|'''Description:''' {{{Description|}}}<br>|}}<!--
 
-->{{#if:{{{History|}}}|'''History:''' {{{History|}}}<br>|}}<!--
 
-->{{#if:{{{Authorities|}}}|'''Authorities:''' {{{Authorities|}}}<br>|}}<!--
 
-->{{#if:{{{Enemies|}}}|'''Enemies:''' {{{Enemies|}}}<br>|}}<!--
 
-->{{#if:{{{Friends|}}}|'''Friends:''' {{{Friends|}}}<br>|}}<!--
 
-->{{#if:{{{Complications|}}}|'''Complications:''' {{{Complications|}}}<br>|}}<!--
 
-->{{#if:{{{Things|}}}|'''Things:''' {{{Things|}}}<br>|}}<!--
 
-->{{#if:{{{Places|}}}|'''Places:''' {{{Places|}}}<br>|}}<!--
 
-->{{#if:{{{Regulations|}}}|'''Regulations:''' {{{Regulations|}}}<br>|}}<!--
 
-->{{#if:{{{Trade|}}}|{{{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.