Actions

Template

Difference between revisions of "WorldTagData"

From Gulf of Fallen Stars

 
(5 intermediate revisions by the same user not shown)
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={{{TagType|}}}|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|}}} }}<!--
  
-->{{Grid|type=begin|border=yes|cols=2}}<h3>{{{Name}}}</h3>
+
-->{{#vardefine:title|{{SUBPAGENAME}}}}<!--
{{{Description|}}}
 
  
{{#if:{{{Authorities|}}}|'''Authorities:''' {{{Authorities}}}|}}<!--
+
-->{{DISPLAYTITLE:{{#var:title}}}}{{BreadCrumbs|Rules,World Statistics,World Tags}}<!--
-->{{#if:{{{Enemies|}}}|<br>'''Enemies:''' {{{Enemies}}}|}}<!--
+
begincontainer / begincard / (div) / endcard / endcontainer
-->{{#if:{{{Friends|}}}|<br>'''Friends:''' {{{Friends}}}|}}<!--
+
-->{{Flex|type=begin|cols=1|border=true}}{{{Description|}}}{{Flex|type=end}}<!--
-->{{#if:{{{Complications|}}}|<br>'''Complications:''' {{{Complications}}}|}}<!--
+
 
-->{{#if:{{{Things|}}}|<br>'''Things:''' {{{Things}}}|}}<!--
+
-->{{Flex|type=begincontainer}}<!--
-->{{#if:{{{Places|}}}|<br>'''Places:''' {{{Places}}}|}}<!--
+
-->{{#if:{{{Authorities|}}}|{{Flex|type=begincard|border=true}}'''Leaders:'''<br>''<sup>Who might be encountered while conducting business</sup>'' {{#arraymap:{{{Authorities}}}|,|x|<wbr>
-->{{#if:{{{Regulations|}}}|<br>'''Regulations:''' {{{Regulations}}}|}}<!--
+
* x|\s}}{{Flex|type=endcard}}}}<!--
-->{{Grid|type=end}}</includeonly>
+
-->{{#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.