Difference between revisions of "Template:Database Table"

From Dreamwidth Notes
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{{#if: {{{removed|}}} | [[Category: Removed Database Tables]]'''Note:''' This table is removed and no longer used.<br/> | {{#set:name={{{name}}}|table type={{{table type}}}|kind=Database Table}}[[Category: Database Tables]] }}{{DEFAULTSORT:{{{name}}}}}{{DISPLAYTITLE:Database Table: {{{name}}}}}__NOTOC__
+
<includeonly>{{#if: {{{removed|}}} | [[Category: Removed Database Tables]]'''Note:''' This table is removed and no longer used.<br/> | {{#set:name={{{name}}}|table type={{{table type}}}|kind=Database Table}}[[Category: Database Tables]]{{#if: {{{description|}}} | {{#set:description={{{description}}}}} | }} }}{{DEFAULTSORT:{{{name}}}}}{{DISPLAYTITLE:Database Table: {{{name}}}}}__NOTOC__
 
{{#switch: {{{table type}}}
 
{{#switch: {{{table type}}}
 
  | global = This is a global table.
 
  | global = This is a global table.
Line 8: Line 8:
 
Options:
 
Options:
 
* name
 
* name
 +
* description
 
* table type
 
* table type
 
* need desc
 
* need desc
 
* need check
 
* need check
 +
 +
* ok ( this isn't used by the template. Tells [[User:Exor674Bot]] that this table actually exists, and to not mark it as need check. )
 
* removed
 
* removed
  
 
</noinclude>
 
</noinclude>

Revision as of 04:57, 30 January 2010

Database Table Helper. Sets most of the important semantic properties, and some other standard stuff.

Options:

  • name
  • description
  • table type
  • need desc
  • need check
  • ok ( this isn't used by the template. Tells User:Exor674Bot that this table actually exists, and to not mark it as need check. )
  • removed