Help:Table/Advanced: Difference between revisions

Content deleted Content added
Line 648:
== Transclude a table from another page ==
 
A table can be put in a template. For example, see [https://en.wikipedia.org/wiki/Special:PrefixIndex?prefix=Template%3AList+of+countries+by+life+expectancy%2F&namespace=0 this list of life expectancy table templates]. You can search for template subpages:
{{tl|Excerpt}} is the simplest tool. Go there for many options. The simplest method:
*[[Special:PrefixIndex]] - choose the template namespace.
 
{{tl|Excerpt}} is the simplest tool for transcluding a table that is not in a template. Go there for many options. The simplest method:
<syntaxhighlight lang=wikitext>
{{Excerpt|Page source of table|Section with the table|this=This table is}}