Template:Infobox/Columns/doc: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:Infobox/Columns/doc": Important page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (<noinclude>)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
=https://en.wikipedia.org/wiki/Template:Infobox/Columns/doc=
{{Uses TemplateStyles|Template:Infobox/Columns/styles.css}}
<noinclude>[[Category:Custom Templates]]</noinclude>
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
The following template allows you to include two, three or four columns of the same width separated by a vertical line.
 
== Usage ==
{{Infobox
  |title = Title of the record
  |data1={{Infobox/Columns|First column|Second column}}
  |data2={{Infobox/Columns|First column|Second column|Third column}}
  |data3={{Infobox/Columns|First column|Second column|Third column|Fourth column}}
}}
 
<syntaxhighlight lang="wikitext" style="overflow:auto">
{{Infobox
  |title = Title of the record
  ...
  |data...={{Infobox/Columns|First column|Second column}}
  |data...={{Infobox/Columns|First column|Second column|Third column}}
  |data...={{Infobox/Columns|First column|Second column|Third column|Fourth column}}
}}</syntaxhighlight>
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
 
}}</includeonly>

Latest revision as of 01:04, 2 March 2024