Difference between revisions of "Template:WorldSummaryComment"
Jump to navigation
Jump to search
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|O:=The governance of this world is from {{World name from Hex|{{#sub:{{{1|}}}|2}} }}. | |O:=The governance of this world is from {{World name from Hex|{{#sub:{{{1|}}}|2}} }}. | ||
|C:=The world has a colony on {{World name from Hex|{{#sub:{{{1|}}}|2}} }}. | |C:=The world has a colony on {{World name from Hex|{{#sub:{{{1|}}}|2}} }}. | ||
| − | |{{#cargo_query: tables=TradeSummary|fields=CONCAT(description, IF(LENGTH(category)>0, CONCAT('[[',category,']]'),''))|where=code HOLDS | + | |{{#cargo_query: tables=TradeSummary |
| + | |fields=CONCAT(description, IF(LENGTH(category)>0, CONCAT('[[',category,']]'),' ')) | ||
| + | |where=code HOLDS '{{{1|A}}}' | ||
|default=Missing code ''{{{1}}}''|format=list|delimiter= |columns=1}} | |default=Missing code ''{{{1}}}''|format=list|delimiter= |columns=1}} | ||
}}<noinclude> | }}<noinclude> | ||
| Line 11: | Line 13: | ||
Expands the additional Trade classification comments(e.g. Da, Pz, Mr, etc) into a text summary from [[Trade classification/summaries]]. This is designed to be used with the [[Template:World summary]] as a lead in. | Expands the additional Trade classification comments(e.g. Da, Pz, Mr, etc) into a text summary from [[Trade classification/summaries]]. This is designed to be used with the [[Template:World summary]] as a lead in. | ||
| + | ---- | ||
Parameters are: | Parameters are: | ||
| − | |||
* trade = A single trade code. These need to match the code in [[Trade classification/summaries#Additional Comments]]. Add new ones if required. | * trade = A single trade code. These need to match the code in [[Trade classification/summaries#Additional Comments]]. Add new ones if required. | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:41, 1 January 2021
Missing code {{{1}}}
Expands the additional Trade classification comments(e.g. Da, Pz, Mr, etc) into a text summary from Trade classification/summaries. This is designed to be used with the Template:World summary as a lead in.
Parameters are:
- trade = A single trade code. These need to match the code in Trade classification/summaries#Additional Comments. Add new ones if required.