Template:Sources/datarow: Difference between revisions

From IdleOn MMO Wiki
No edit summary
No edit summary
Line 7: Line 7:
   |SpecialText=String
   |SpecialText=String
   |Category=String
   |Category=String
}}</noinclude><!--
}}</noinclude><includeonly><!--


### Cargo Store ###
### Cargo Store ###
--><includeonly>{{#cargo_store:_table=Sources
-->{{#cargo_store:_table=Sources
   |Source={{{Source}}}
   |Source={{{Source|{{PAGENAME}}}<!-- Defaults to the page the template is called on. -->
   |Link={{{Link}}}
   |Link={{{Link|{{PAGENAME}}}<!-- Again, defaults to the page the template is called on. -->
   |SpecialText={{{SpecialText}}}
   |SpecialText={{{SpecialText|None}}}<!-- These two will both default to 'None' and in the query I will handle what to do if they are as such.-->
   |Category={{{Category}}}
   |Category={{{Category|None}}}<!--       The reason is that they are both optional, but best practice is to not have empty cells in the database.-->
  }}<!--
}}</includeonly>
 
 
  -->

Revision as of 12:11, 26 August 2022

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