Actions

Template

Difference between revisions of "WorldTagData"

From Gulf of Fallen Stars

Line 29: Line 29:
 
</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|}}}|<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}}
 
  
[[Category:WorldTags]]</includeonly>
+
-->{{DISPLAYTITLE:{{#var:title}}}}{{BreadCrumbs|Rules,World Statistics,World Tags}}<!--
 +
begincontainer / begincard / (div) / endcard / endcontainer
 +
-->{{Flex|type=begin|cols=1|border=true}}{{{Description|}}}<br>
 +
'''Effect:''' {{{Effect}}}{{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}}|}}
 +
 
 +
{{#if:{{{temp|}}}||[[Category:World Tags]]}}</includeonly>

Revision as of 12:47, 29 May 2020

Usage:

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


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