Template:Sources/datarow: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 12: Line 12:


### Cargo Store ###
### Cargo Store ###
-->{{#cargo_store:_table=Sources
-->{{#if:{{{display|}}}||<span style='display: none;'>}}{{#cargo_store:_table=Sources
   |Item={{{Item}}}<!--                    This one is required. That's why in the previous section it has (mandatory) tagged onto it. -->
   |Item={{{Item}}}<!--                    This one is required. That's why in the previous section it has (mandatory) tagged onto it. -->
   |Source={{{Source|{{PAGENAME}}}}}<!--  Defaults to the page the template is called on. -->
   |Source={{{Source|{{PAGENAME}}}}}<!--  Defaults to the page the template is called on. -->
Line 19: Line 19:
   |Category={{{Category|None}}}<!--      The reason is that they are both optional, but best practice is to not have empty cells in the database.-->
   |Category={{{Category|None}}}<!--      The reason is that they are both optional, but best practice is to not have empty cells in the database.-->
   |EventRules={{#if:{{{EventRules|}}}|1|0}}
   |EventRules={{#if:{{{EventRules|}}}|1|0}}
  }}</includeonly>
  }}{{#if:{{{display|}}}||</span>}}</includeonly>

Revision as of 00:49, 25 May 2023

This template defines the table "Sources". This table has not been created yet.