Difference between revisions of "Template:Columns-list"

From Team Fortress Wiki
Jump to: navigation, search
m (Improve doc)
 
Line 3: Line 3:
 
{{Wikipedia doc}}
 
{{Wikipedia doc}}
 
{{Doc begin}}
 
{{Doc begin}}
=== Example ===
+
 
<pre><nowiki>
+
Splits text into a number of columns as defined by the first parameter. Used to make long lists of
 +
 
 +
<pre>
 
{{Columns-list|2|
 
{{Columns-list|2|
* Lorem ipsum dolor sit amet.
+
* A
* Lorem ipsum dolor sit amet.
+
* B
* Lorem ipsum dolor sit amet.
+
* C
* Lorem ipsum dolor sit amet.
+
* D
* Lorem ipsum dolor sit amet.
+
* E
* Lorem ipsum dolor sit amet.
+
* F
* Lorem ipsum dolor sit amet.
+
}}</pre>
* Lorem ipsum dolor sit amet.
+
produces:
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
}}</nowiki></pre>
 
... produces:
 
  
 
{{Columns-list|2|
 
{{Columns-list|2|
* Lorem ipsum dolor sit amet.
+
* A
* Lorem ipsum dolor sit amet.
+
* B
* Lorem ipsum dolor sit amet.
+
* C
* Lorem ipsum dolor sit amet.
+
* D
* Lorem ipsum dolor sit amet.
+
* E
* Lorem ipsum dolor sit amet.
+
* F
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
* Lorem ipsum dolor sit amet.
 
 
}}
 
}}
 
 
[[Category:Formatting templates|Columns-list]]
 
[[Category:Formatting templates|Columns-list]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:25, 31 March 2016

See also: Template:Columns

Documentation for Columns-list


Splits text into a number of columns as defined by the first parameter. Used to make long lists of

{{Columns-list|2|
* A
* B
* C
* D
* E
* F
}}

produces:

  • A
  • B
  • C
  • D
  • E
  • F