Difference between revisions of "Template:DBField"

From Dreamwidth Notes
Jump to: navigation, search
m
 
Line 1: Line 1:
<includeonly><tt>[[Database Table: $1|$1]].$2</tt></includeonly><noinclude>
+
<includeonly><tt>[[Database Table: {{{1}}}|{{{1}}}]].{{{2}}}</tt></includeonly><noinclude>
 
This makes a quick link to a database table, with a field appended.  Usage:
 
This makes a quick link to a database table, with a field appended.  Usage:
  

Latest revision as of 20:33, 26 March 2009

This makes a quick link to a database table, with a field appended. Usage:

{{DBTable|tablename|tablefield}}

Which will make a link in the format of:

<tt>[[Database Table: tablename|tablename]].tablefield</tt>