Difference between revisions of "Template:Database Relationship"

From Dreamwidth Notes
Jump to: navigation, search
m (I hate editing these kinda things, I can't preview properly)
 
(5 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}}}|Kind=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|{{{From table}}}.{{{From field}}} {{{To table}}}.{{{To field}}}]]
+
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