Difference between revisions of "Template:Database Relationship"

From Dreamwidth Notes
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:Database Relationship: {{{From table}}}.{{{From field}}} {{{To table}}}.{{{To field}}}}}{{#set:From table={{{From table}}}|To table={{{To table}}}|from field={{{From field}}}|to field={{{To field}}}|relationship type={{{Type}}}|Kind=Database Relationship|From page=Database Table: {{{From table}}}|To page=Database Table: {{{To table}}}}}
+
<includeonly>{{DISPLAYTITLE:Database Relationship: {{{From table}}}.{{{From field}}} {{{To table}}}.{{{To field}}}}}{{#set:From table={{{From table}}}|To table={{{To table}}}|from field={{{From field}}}|to field={{{To field}}}|relationship type={{{Type|Foreign key}}}|Kind=Database Relationship|From page=Database Table: {{{From table}}}|To page=Database Table: {{{To table}}}}}
 
Relationship from {{DBField|{{{From table}}}|{{{From field}}}}} to {{DBField|{{{To table}}}|{{{To field}}}}} ( {{{Type|No Type}}} )[[Category:Database Relationships|{{{From table}}}.{{{From field}}} {{{To table}}}.{{{To field}}}]]
 
Relationship from {{DBField|{{{From table}}}|{{{From field}}}}} to {{DBField|{{{To table}}}|{{{To field}}}}} ( {{{Type|No Type}}} )[[Category:Database Relationships|{{{From table}}}.{{{From field}}} {{{To table}}}.{{{To field}}}]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
If this is a relationship to a concept, use [[Template:Database_Relationship/Concept]]
 
If this is a relationship to a concept, use [[Template:Database_Relationship/Concept]]
 
</noinclude>
 
</noinclude>

Revision as of 15:17, 3 February 2010

If this is a relationship to a concept, use Template:Database_Relationship/Concept