Actions

Template

Difference between revisions of "WorldTagData"

From Gulf of Fallen Stars

 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
  <nowiki>{{WorldTagData
 
  <nowiki>{{WorldTagData
|Name=Abandoned Colony
+
|Name=
|TagType=Trade/World
+
|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.
+
|Description=
|Authorities=Member of a special trading caste, Bureaucrat that communicates in strange idioms, Judicial official of an incomprehensible law
+
|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}}</nowiki>
+
|Regulations=}}</nowiki>
  
 
<!--{{WorldTagData
 
<!--{{WorldTagData
Line 26: Line 26:
 
|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=WorldTags|Name=String|LinkName=String|TagType=String|Description=Text|Authorities=Text|Enemies=Text|Friends=Text|Complications=Text|Things=Text|Places=Text|Regulations=Text}}
+
{{#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}}
</noinclude><includeonly>{{#cargo_store:_table=WorldTags|Name={{{Name}}}|LinkName={{#replace:{{{Name}}}| |_}}|TagType={{{Type|}}}|Description={{{Description|}}}|Authorities={{{Authorities|}}}|Enemies={{{Enemies|}}}|Friends={{{Friends|}}}|Complications={{{Complications|}}}|Things={{{Things|}}}|Places={{{Places|}}}|Regulations={{{Regulations|}}} }}<!--
+
</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|}}} }}<!--
 +
 
 +
-->{{#vardefine:title|{{SUBPAGENAME}}}}<!--
 +
 
 +
-->{{DISPLAYTITLE:{{#var:title}}}}{{BreadCrumbs|Rules,World Statistics,World Tags}}<!--
 +
begincontainer / begincard / (div) / endcard / endcontainer
 +
-->{{Flex|type=begin|cols=1|border=true}}{{{Description|}}}{{Flex|type=end}}<!--
 +
 
 +
-->{{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}}|}}
  
-->{{Grid|type=begin|border=yes|cols=2}}<h3>{{{Name}}}</h3>
+
{{#if:{{{temp|}}}||[[Category:World Tags]]}}</includeonly>
{{{Description|}}}
 
{{#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}}}|}}<!--
 
-->{{Grid|type=end}}</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.