Difference between revisions of "Template:Database Relationship"

From Dreamwidth Notes
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#set:From table={{{From table}}}|To table={{{To table}}}|from field={{{From field}}}|to field={{{To field}}}|relationship type={{{Type}}}|Type=Database Relationship}}
+
<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]]
+
Relationship from {{DBField|{{{From table}}}|{{{From field}}}}} to {{DBField|{{{To table}}}|{{{To field}}}}} ( {{{Type|Foreign key}}} )[[Category:Database Relationships]]
</includeonly>
+
</includeonly><noinclude>
 +
If this is a relationship to a concept, use [[Template:Database_Relationship/Concept]]
 +
</noinclude>

Latest revision as of 15:29, 3 February 2010

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