Difference between revisions of "Template:Colbegin"

From The Battle for Wesnoth Wiki
(Added documentation)
m (Added to category)
 
Line 14: Line 14:
 
</div>}}<!-- Inventory how many pages use small=yes  
 
</div>}}<!-- Inventory how many pages use small=yes  
 
  -->{{#ifeq: {{{small|}}}|yes
 
  -->{{#ifeq: {{{small|}}}|yes
     |[[Category:Pages using div col with small parameter]]}}</includeonly><noinclude>
+
     |[[Category:Pages using div col with small parameter]]}}</includeonly><noinclude>{{Colbegin/doc}}{{Template}}</noinclude>
{{Colbegin/doc}}
 
</noinclude>
 

Latest revision as of 03:53, 14 July 2019

Colbegin and Colend can be used to create text columns. Colbegin takes parameters, while Colend does not.

Parameters

colwidth denotes the minimum width of each column. It has a default value of 30em.

rules denotes whether there is a ruled line between each pair of adjacent columns.

gap denotes the gap between each adjacent column. It has a default value of 1em.

style denotes the CSS styling to be applied to each column.

small denotes whether or not to render the font at 90% size.

content denotes the content of the columns. Is used without Colend.

Usage

{{Colbegin|colwidth=10em}}
* a
* b
* c
* d
* e
* f
* g
* h
{{Colend}}
  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h
This page was last edited on 14 July 2019, at 03:53.