Difference between revisions of "Template:Trade source data/doc"

From Captain of Industry Wiki
Jump to: navigation, search
(Fixing errors)
m (Transclusion tweak)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page contains raw data definition, extracted from the source files.
{{Documentation subpage}}<!--
Add categories to the template itself where indicated at the bottom of this page.-->


There is no complete automation of data fetching from source now, and some manual actions are required each time there is a game-changing patch.
In order to update the data, stored in the Wiki [[Special:CargoTables | Cargo]]:
*If the data in the in the GitHub repository is not up to date, create an [https://github.com/David-Melo/captain-of-data/issues issue].
*When repository's data is up to date, copy contents of [https://github.com/David-Melo/captain-of-data/blob/main/wiki/data/contracts_table.txt this] file and overwrite the this page source with it's contents completely.
*Null-edit [[Trade]] article to force an update.


In order to update the data, stored in the Wiki [[Special:CargoTables | Cargo]]:
{{Footer Cargo}}
*Create an [https://github.com/David-Melo/captain-of-data/issues issue] in the GitHub repository.
<includeonly><!--
*When repository's data is up to date, copy contents of [https://github.com/David-Melo/captain-of-data/blob/main/wiki/data/contracts_table.txt this] file and overwrite the [https://wiki.captain-of-industry.com/index.php?title=Template:Trade_source_data&action=edit page source] with it's contents completely.
Add categories to the template itself below this line.-->
[[Category:Cargo management templates]]
[[Category:Contracts templates]]
</includeonly>

Latest revision as of 01:29, 1 May 2023

In order to update the data, stored in the Wiki Cargo:

  • If the data in the in the GitHub repository is not up to date, create an issue.
  • When repository's data is up to date, copy contents of this file and overwrite the this page source with it's contents completely.
  • Null-edit Trade article to force an update.