Difference between revisions of "Template:Database Table"

From Dreamwidth Notes
Jump to: navigation, search
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]]{{#if: {{{description|}}} | {{#set:description={{{description}}}}} | }} }}{{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
  | clustered = This is a clustered table.
+
  | clustered = This is a clustered table
}}{{#if: {{{removed|}}} | | {{#if: {{{need desc|}}} | [[Category:Database Tables Needing Description]] | }}{{#if: {{{need check|}}} | <includeonly>[[Category:Database Tables To Check]]This database table is flagged as needing checking for the reason: '''{{{need check}}}'''<br/> | }} }}</includeonly><noinclude>
+
}} {{#switch: {{{repo}}}
 +
| dw-free = in the dw-free repo
 +
| dw-nonfree = in the dw-nonfree ( e.g. dreamwidth.org specific ) repo
 +
}}.{{#if: {{{removed|}}} | | {{#if: {{{need desc|}}} | [[Category:Database Tables Needing Description]] | }}{{#if: {{{need work|}}} | <includeonly>[[Category:Database Tables To Check]]This database table is flagged as needing checking for the reason: '''{{{need work}}}'''<br/> | }} }}</includeonly><noinclude>
 
Database Table Helper. Sets most of the important semantic properties, and some other standard stuff.
 
Database Table Helper. Sets most of the important semantic properties, and some other standard stuff.
  
Line 11: Line 14:
 
* table type
 
* table type
 
* need desc
 
* need desc
* need check
+
* need work
 +
* repo
  
 
* ok ( this isn't used by the template. Tells [[User:Exor674Bot]] that this table actually exists, and to not mark it as 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. )

Revision as of 15:59, 22 July 2010

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

Options:

  • name
  • description
  • table type
  • need desc
  • need work
  • repo
  • 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