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

From Captain of Industry Wiki
Jump to: navigation, search
(Contents expansion)
m (Transclusion tweak)
 
(7 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]]:
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].
*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 [[Template:Trade source data]] page source with it's contents completely.
*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.
*Save [[Trade]] article (without any changes) to force the invoke of data storage.
*Null-edit [[Trade]] article to force an update.
 
{{Footer Cargo}}
<includeonly><!--
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.