Actions

Template

Difference between revisions of "WorldTagData"

From Gulf of Fallen Stars

(Created page with "<noinclude> '''Usage:''' <nowiki>{{SectorTagData<br> |Name=Abandoned Colony<br> |Type=Trade/World<br> |Description=The world once hosted a colony, whether human or otherwise...")
 
 
(16 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
'''Usage:'''
 
'''Usage:'''
  
  <nowiki>{{SectorTagData<br>
+
  <nowiki>{{WorldTagData
|Name=Abandoned Colony<br>
+
|Name=
|Type=Trade/World<br>
+
|TagType=
|Description=The world once hosted a colony, whether human or otherwise, until some crisis or natural disaster drove the inhabitants away or killed them off.<br>
+
|Description=
|Authorities=Member of a special trading caste, Bureaucrat that communicates in strange idioms, Judicial official of an incomprehensible law<br>
+
|Authorities=
|Enemies=Crazed survivors, Ruthless plunderers of the ruins, Automated defense system<br>
+
|Enemies=
|Friends=Inquisitive stellar archaeologist, Heir to the colony’s property, Local wanting the place cleaned out and made safe<br>
+
|Friends=
|Complications=The local government wants the ruins to remain a secret, The locals claim ownership of it<br>
+
|Complications=
|Things=Long-lost property deeds, Relic stolen by the colonists when they left, Historical record of the colonization attempt<br>
+
|Things=
|Places=Decaying habitation block, Vine-covered town square, Structure buried by an ancient landslide<br>
+
|Places=
|Regulations=Humans are restricted to trade zones, Traders are required to give passage to members of a non-starfaring species}}</nowiki>
+
|Regulations=}}</nowiki>
  
{{SectorTagData
+
<!--{{WorldTagData
 
|Name=Abandoned Colony
 
|Name=Abandoned Colony
|Type=World
+
|TagType=World
 
|Description=The world once hosted a colony, whether human or otherwise, until some crisis or natural disaster drove the inhabitants away or killed them off. The colony might have been mercantile in nature, an expedition to extract valuable local resources, or it might have been a reclusive cabal of zealots. The remains of the colony are usually in ruins, and might still be dangerous from the aftermath of whatever destroyed it in the first place.
 
|Description=The world once hosted a colony, whether human or otherwise, until some crisis or natural disaster drove the inhabitants away or killed them off. The colony might have been mercantile in nature, an expedition to extract valuable local resources, or it might have been a reclusive cabal of zealots. The remains of the colony are usually in ruins, and might still be dangerous from the aftermath of whatever destroyed it in the first place.
 
|Authorities=Member of a special trading caste, Bureaucrat that communicates in strange idioms, Judicial official of an incomprehensible law, Gone-native human transplant with full authority over human traders
 
|Authorities=Member of a special trading caste, Bureaucrat that communicates in strange idioms, Judicial official of an incomprehensible law, Gone-native human transplant with full authority over human traders
Line 24: Line 24:
 
|Things=Long-lost property deeds, Relic stolen by the colonists when they left, Historical record of the colonization attempt
 
|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
 
|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, Traders must prove themselves honorary members of the species, Offworld trade is always prefaced by harsh ritual}}
+
|Regulations=Humans are restricted to trade zones, Traders are required to give passage to members of a non-starfaring species, Traders must prove themselves honorary members of the species, Offworld trade is always prefaced by harsh ritual}}-->
{{#cargo_declare:_table=SectorTags|Name=String|Type=String|Description=String|Authorities=String|Enemies=String|Friends=String|Complications=String|Things=String|Places=String|Regulations=String}}
 
</noinclude><includeonly>{{#cargo_store:_table=SectorTags|Name={{{Name}}}|Type={{{Type|}}}|Description={{{Description|}}}|Authorities={{{Authorities|}}}|Enemies={{{Enemies|}}}|Friends={{{Friends|}}}|Complications={{{Complications|}}}|Things={{{Things|}}}|Places={{{Places|}}}|Regulations={{{Regulations|}}} }}<!--
 
  
-->{{Grid|type=begin|border=yes}}<h3>{{{Name}}}</h3>
+
{{#cargo_declare:_table=WorldTags|Name=String|LinkName=String|TagType=List (,) of String|Description=Text|Authorities=Text|Enemies=Text|Friends=Text|Complications=Text|Things=Text|Places=Text|Regulations=Text}}
{{{Description|}}}<br>
+
</noinclude><includeonly>{{#cargo_store:_table=WorldTags|Name={{{Name}}}|LinkName={{#replace:{{{Name}}}| |_}}|TagType={{{TagType|}}}|Description={{{Description|}}}|Authorities={{{Authorities|}}}|Enemies={{{Enemies|}}}|Friends={{{Friends|}}}|Complications={{{Complications|}}}|Things={{{Things|}}}|Places={{{Places|}}}|Regulations={{{Regulations|}}} }}<!--
{{#if:{{{Authorities|}}}|'''Authorities:''' {{{Authorities}}}<br>|}}<!--
+
 
-->{{#if:{{{Enemies|}}}|'''Enemies:''' {{{Enemies}}}<br>|}}<!--
+
-->{{#vardefine:title|{{SUBPAGENAME}}}}<!--
-->{{#if:{{{Friends|}}}|'''Friends:''' {{{Friends}}}<br>|}}<!--
+
 
-->{{#if:{{{Complications|}}}|'''Complications:''' {{{Complications}}}<br>|}}<!--
+
-->{{DISPLAYTITLE:{{#var:title}}}}{{BreadCrumbs|Rules,World Statistics,World Tags}}<!--
-->{{#if:{{{Things|}}}|'''Things:''' {{{Things}}}<br>|}}<!--
+
begincontainer / begincard / (div) / endcard / endcontainer
-->{{#if:{{{Places|}}}|'''Places:''' {{{Places}}}<br>|}}<!--
+
-->{{Flex|type=begin|cols=1|border=true}}{{{Description|}}}{{Flex|type=end}}<!--
-->{{#if:{{{Regulations|}}}|'''Regulations:''' {{{Regulations}}}<br>|}}<!--
+
 
->>{{Grid|type=end}}</includeonly>
+
-->{{Flex|type=begincontainer}}<!--
 +
-->{{#if:{{{Authorities|}}}|{{Flex|type=begincard|border=true}}'''Leaders:'''<br>''<sup>Who might be encountered while conducting business</sup>'' {{#arraymap:{{{Authorities}}}|,|x|<wbr>
 +
* x|\s}}{{Flex|type=endcard}}}}<!--
 +
-->{{#if:{{{Enemies|}}}|{{Flex|type=begincard|border=true}}'''Enemies:'''<br>''<sup>Who might be encountered who opposes the group</sup>'' {{#arraymap:{{{Enemies}}}|,|x|<wbr>
 +
* x|\s}}{{Flex|type=endcard}}}}<!--
 +
-->{{#if:{{{Friends|}}}|{{Flex|type=begincard|border=true}}'''Friends:'''<br>''<sup>Who might offer the group services or missions</sup>'' {{#arraymap:{{{Friends}}}|,|x|<wbr>
 +
* x|\s}}{{Flex|type=endcard}}}}<!--
 +
-->{{#if:{{{Complications|}}}|{{Flex|type=begincard|border=true}}'''Complications:'''<br>''<sup>How might the situation on the world be more complicated</sup>'' {{#arraymap:{{{Complications}}}|,|x|<wbr>
 +
* x|\s}}{{Flex|type=endcard}}}}<!--
 +
-->{{#if:{{{Things|}}}|{{Flex|type=begincard|border=true}}'''Things:'''<br>''<sup>What items might be found on the world</sup>'' {{#arraymap:{{{Things}}}|,|x|<wbr>
 +
* x|\s}}{{Flex|type=endcard}}}}<!--
 +
-->{{#if:{{{Places|}}}|{{Flex|type=begincard|border=true}}'''Places:'''<br>''<sup>What locations might be found on the world</sup>'' {{#arraymap:{{{Places}}}|,|x|<wbr>
 +
* x|\s}}{{Flex|type=endcard}}}}<!--
 +
-->{{#if:{{{Regulations|}}}|{{Flex|type=begincard|border=true}}'''Things:'''<br>''<sup>What regulations might complicate things</sup>'' {{#arraymap:{{{Regulations}}}|,|x|<wbr>
 +
* x|\s}}{{Flex|type=endcard}}}}<!--
 +
-->{{Flex|type=endcontainer}}
 +
 
 +
{{#if:{{{TagType|}}}|'''Tags:''' {{{TagType}}}{{Break}}|}}
 +
 
 +
{{#if:{{{temp|}}}||[[Category:World Tags]]}}</includeonly>

Latest revision as of 13:54, 29 May 2020

Usage:

{{WorldTagData
|Name=
|TagType=
|Description=
|Authorities=
|Enemies=
|Friends=
|Complications=
|Things=
|Places=
|Regulations=}}


This template defines the table "WorldTags". View table.