Difference between revisions of "Template:Database Table"

From Dreamwidth Notes
Jump to: navigation, search
m
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#set:name={{{name}}}|table type={{{table type}}}|kind=Database Table}}{{DEFAULTSORT:{{{name}}}}}{{DISPLAYTITLE:Database Table: {{{name}}}}}__NOTOC__</includeonly>
+
<includeonly>{{#if: {{{removed|}}} | [[Category: Removed Database Tables]]'''Note:''' This table is removed and no longer used. {{#if: {{{removed in|}}} | This table was removed in {{changeset|{{{removed in}}}}} }}<br/> | {{#set:name={{{name}}}|table type={{{table type}}}|kind=Database Table|repo={{{repo}}}}}[[Category: Database Tables]]{{#if: {{{description|}}} | {{#set:description={{{description}}}}} | }} }}{{DEFAULTSORT:{{{name}}}}}{{DISPLAYTITLE:Database Table: {{{name}}}}}__NOTOC__
 +
{{#switch: {{{table type}}}
 +
| global = This is a global table.
 +
| clustered = This is a clustered table.
 +
}}{{#switch: {{{repo}}}
 +
| dw-free = [[Category:Database Tables In dw-free]]
 +
| dw-nonfree = This table is dreamwidth.org specific. [[Category:Database Tables In dw-nonfree]]
 +
}}{{#if: {{{removed|}}} | | {{#if: {{{need desc|}}} | [[Category:Database Tables Needing Description]] | }}{{#if: {{{needs work|}}} | <includeonly>[[Category:Database Tables To Check]]This database table is flagged as needing checking for the reason: '''{{{needs work}}}'''<br/> | }} }}</includeonly><noinclude>
 +
Database Table Helper. Sets most of the important semantic properties, and some other standard stuff.
 +
 
 +
Options:
 +
* name
 +
* description
 +
* table type
 +
* need desc
 +
* needs 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
 +
* removed in
 +
 
 +
</noinclude>

Latest revision as of 16:17, 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
  • needs 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
  • removed in