Difference between revisions of "Template:Database Table Footer"
From Dreamwidth Notes
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if: {{{norels|}}} | | = Relationships = | + | <includeonly>{{#if: {{{norels|}}}{{{removed|}}} | | = Relationships = |
{{#ask:[[Kind::Database Relationship]][[From page::{{PAGENAME}}]] | {{#ask:[[Kind::Database Relationship]][[From page::{{PAGENAME}}]] | ||
|mainlabel=- | |mainlabel=- | ||
Line 6: | Line 6: | ||
|? To field | |? To field | ||
|? Relationship type | |? Relationship type | ||
+ | |? To page | ||
|link=none | |link=none | ||
|sort = From field | |sort = From field | ||
Line 12: | Line 13: | ||
|template=Database Table Relationship | |template=Database Table Relationship | ||
|intro=<h2>Outgoing</h2> | |intro=<h2>Outgoing</h2> | ||
− | |default=[[Category:Database Table Needing Relationship Data]] | + | |default={{#if: {{{no_out_rels|}}} | | [[Category:Database Table Needing Relationship Data]]}} |
}} | }} | ||
{{#ask:[[Kind::Database Relationship]][[To page::{{PAGENAME}}]] | {{#ask:[[Kind::Database Relationship]][[To page::{{PAGENAME}}]] | ||
Line 29: | Line 30: | ||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
Print out a footer for database tables. | Print out a footer for database tables. | ||
− | Takes one option, norels, if specified and non-blank, the relationships (or the needs rel data category) will not be added. | + | Takes one option, norels, if specified and non-blank, the relationships (or the needs rel data category) will not be added. |
+ | Removed acts like norels, also accepts "no_out_rels", To Flag that there are no outgoing relations, to not add this to the category. | ||
</noinclude> | </noinclude> |
Latest revision as of 15:34, 3 February 2010
Print out a footer for database tables. Takes one option, norels, if specified and non-blank, the relationships (or the needs rel data category) will not be added. Removed acts like norels, also accepts "no_out_rels", To Flag that there are no outgoing relations, to not add this to the category.