Template:Sources/datarow: Difference between revisions
From IdleOn MMO Wiki
Kiokurashi (talk | contribs) No edit summary |
Kiokurashi (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
### Cargo Declare ### | ### Cargo Declare ### | ||
-->{{#cargo_declare:_table=Sources | -->{{#cargo_declare:_table=Sources | ||
|Item=String (mandatory) | |||
|Source=String | |Source=String | ||
|Link=Wikitext | |Link=Wikitext | ||
Line 11: | Line 12: | ||
### Cargo Store ### | ### Cargo Store ### | ||
-->{{#cargo_store:_table=Sources | -->{{#cargo_store:_table=Sources | ||
|Source={{{Source|{{PAGENAME}}}<!-- Defaults to the page the template is called on. --> | |Item={{{Item}}}<!-- This one is required. That's why in the previous section it has (mandatory) tagged onto it. --> | ||
|Link={{{Link|{{PAGENAME}}}<!-- Again, defaults to the page the template is called on. --> | |Source={{{Source|{{PAGENAME}}}}}<!-- Defaults to the page the template is called on. --> | ||
|Link={{{Link|{{PAGENAME}}}}}<!-- Again, defaults to the page the template is called on. --> | |||
|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.--> | |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|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.--> | ||
}}</includeonly> | }}</includeonly> |
Revision as of 12:28, 26 August 2022
This template defines the table "Sources". This table has not been created yet.