Template:Tb-notes: Difference between revisions

From Electrical Installation Guide
m (Protected "Template:Tb-notes" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (update template (just format))
 
Line 76: Line 76:
}
}
},
},
"description": "Template used to add table note definitions. \n\nIt should be added just below the related table.\n\n2 types of notes can be included:\n* ref notes =  which are referenced from the table content (active reference/link). These notes are identified by a letter, A..Z (Caps is mandatory)\n* textual notes = just text, no link with a ref in the table\n\nSyntax:\n {{tb-notes\n |A=text of note A\n |B=text of note B\n ...\n |txn1=text of textual nota 1\n |txn2=text of textual nota 2\n ...\n }}\n\n"
"description": "Template used to add table note definitions. \n\nIt should be added just below the related table.\n\n2 types of notes can be included:\n* ref notes =  which are referenced from the table content (active reference/link). These notes are identified by a letter, A..Z (Caps is mandatory)\n* textual notes = just text, no link with a ref in the table\n\nSyntax:\n {{tb-notes\n |A=text of note A\n |B=text of note B\n ...\n |txn1=text of textual nota 1\n |txn2=text of textual nota 2\n ...\n }}\n\n",
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 14:40, 10 November 2023


Template used to add table note definitions. It should be added just below the related table. 2 types of notes can be included:

  • ref notes = which are referenced from the table content (active reference/link). These notes are identified by a letter, A..Z (Caps is mandatory)
  • textual notes = just text, no link with a ref in the table
Syntax: {{tb-notes |A=text of note A |B=text of note B ... |txn1=text of textual nota 1 |txn2=text of textual nota 2 ... }}

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
text of table note [A]A

This is the text of the table note [A]. Linked to ref [A] defined in the table content

Example
this is the text for table note ref [A]
Unknownsuggested
text of table note [B]B

This is the text of the table note [B]. Linked to ref [B] defined in the table content

Example
this is the text for table note ref [B]
Unknownsuggested
......

no description

Unknownoptional
textual note 1txn1

purely textual note. No active link with table content, just added below

Example
this is the text for purely textual note 1
Unknownsuggested
textual note 2txn2

purely textual note. No active link with table content, just added below

Example
this is the text for purely textual note 2
Unknownsuggested