Template:Foreign key

From CCMDB Wiki
Revision as of 12:10, 2023 April 12 by Ttenbergen (talk | contribs) (Created page with "<noinclude>This template tags L-tables and S-tables that have foreign keys to other tables. An example would be the L CCI Component table with respect to the L_Log table. To use: {<nowiki>{</nowiki>Foreign key | foreign_key_table=table page | foreign_key_field=field name | primary_key_table=table name | primary_key_field=field name <nowiki>}</nowiki>} ===Cargo declaration=== {{#cargo_declare: _table = foreign_keys | foreign_key_table=page | f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template tags L-tables and S-tables that have foreign keys to other tables. An example would be the L CCI Component table with respect to the L_Log table. To use:

{{Foreign key
| foreign_key_table=table page 
| foreign_key_field=field name 
| primary_key_table=table name 
| primary_key_field=field name }}


Cargo declaration

This template defines the table "foreign_keys". View table.