Şablon:Div col/doc: Revizyonlar arasındaki fark

Gezinti kısmına atla Arama kısmına atla
k
→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
Template:Div_col>Pppery
(Cleanup)
 
Template:Div_col>Vanisaac
k (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
3. satır: 3. satır:
   PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE
   PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE
  ------------------------------------------------------------------------------>
  ------------------------------------------------------------------------------>
{{#ifeq:{{FULLPAGENAME}}|Template:Div col|{{High-use| 269676 }}|{{#ifeq:{{FULLPAGENAME}}|Template:Div col end|{{High-use| 209292 }}}}}}
{{Ombox |type=notice |text=Columns are not supported by some older browsers, most notably Internet Explorer 9 and earlier and Opera 11.0 and earlier. See {{section link|Template:Reflist#Browser support for columns}} for more information.}}
{{Ombox |type=notice |text=Columns are not supported by some older browsers, most notably Internet Explorer 9 and earlier and Opera 11.0 and earlier. See {{section link|Template:Reflist#Browser support for columns}} for more information.}}
{{CSS3 multiple column layout}}
{{Lua|Module:Check for unknown parameters}}
{{Lua|Module:Check for unknown parameters}}


13. satır: 15. satır:
* The template system (family) also offers parameter options to set a smaller (90%) font-size parameter ({{para|small|yes}}), place vertical lines parameter ("rules") between the columns ({{para|rules}}) and to add other custom styling ({{para|style}}).
* The template system (family) also offers parameter options to set a smaller (90%) font-size parameter ({{para|small|yes}}), place vertical lines parameter ("rules") between the columns ({{para|rules}}) and to add other custom styling ({{para|style}}).


{{tl|Div col}} can create multiple columns in [[:en:Web browser|web browsers]] which support the following [[:en:CSS|CSS]] properties:
{{tl|Div col}} can create multiple columns in [[web browser]]s which support the following [[CSS]] properties:
* ''column-width'' (for [[:en:Cascading Style Sheets#CSS3|CSS3]]-compliant browsers; see [http://www.w3.org/TR/css3-multicol/ CSS3 module: Multi-column layout])
* ''column-width'' (for [[Cascading Style Sheets#CSS 3|CSS3]]-compliant browsers; see [http://www.w3.org/TR/css3-multicol/ CSS3 module: Multi-column layout])
   
   
By default, the template creates columns that are [[:en:Em (typography)|30em]] wide.
By default, the template creates columns that are [[Em (typography)|30em]] wide.


==This template's parameters==
==This template's parameters==
===Descriptions===
===Descriptions===
There are six parameters for this template:  
There are six parameters for this template:  
; {{para|colwidth}} :Specifies the minimum width of the columns so that the number of columns is automatically based on screen width (that is, more columns will be shown on wider displays). Can be specified in any [[CSS#Length units|CSS unit of measure]], for instance, the [[:en:Em (typography)|em]] (about the width of the capital "M" of the displayed typeface), e.g., <code>colwidth=20em</code>. If no value is supplied, the template uses a default of 30em.
; {{para|colwidth}} : Specifies the minimum width of the columns so that the number of columns is automatically based on screen width (that is, more columns will be shown on wider displays). Can be specified in any [[CSS#Length units|CSS unit of measure]], for instance, the [[Em (typography)|em]] (about the width of the capital "M" of the displayed typeface), e.g., <code>colwidth=20em</code>. If no value is supplied, the template uses a default of 30em.
; {{para|rules}} : Adds vertical lines ("rules") between the columns if set to <code>yes</code> or some CSS styling (e.g. <code>1px dashed blue;</code>).  
; {{para|rules}} : Adds vertical lines ("rules") between the columns if set to <code>yes</code> or some CSS styling (e.g. <code>1px dashed blue;</code>).  
; {{para|gap}} : Specifies the space between the content of adjacent columns. Specified in any CSS unit, e.g, <code>gap=2em</code>. The default spacing (set by browser) is 1em.
; {{para|gap}} : Specifies the space between the content of adjacent columns. Specified in any CSS unit, e.g, <code>gap=2em</code>. The default spacing (set by browser) is 1em.
; {{para|style}} :[[:en:Cascading Style Sheets|CSS styling]] to apply to the columns.
; {{para|style}} : [[Cascading Style Sheets|CSS styling]] to apply to the columns.
; {{para|small|yes}} : sets font size to 90%.
; {{para|small|yes}} : sets font size to 90%.
; {{para|content}} : content to apply to the columns.
; {{para|content}} : content to apply to the columns.
57. satır: 59. satır:
; Example:
; Example:
<pre>
<pre>
{{Div col|rules=yes}}
{{Div col|colwidth=10em|rules=yes}}
* a
* a
* b
* b
69. satır: 71. satır:
</pre>
</pre>
; produces:
; produces:
{{Div col|rules=yes}}
{{Div col|colwidth=10em|rules=yes}}
* a
* a
* b
* b
107. satır: 109. satır:


===Example of "small" parameter===
===Example of "small" parameter===
; Example showing how setting "small" parameter to "yes" produces smaller font size
; Example showing how setting "small" parameter to "yes" produces smaller font size (90% of the size that would otherwise be displayed)
<pre>
<pre>
{{Div col|small=yes}}
{{Div col|small=yes}}
259. satır: 261. satır:
{{Div col end}}
{{Div col end}}


; Example of how this template behaves if no [[:en:•|bullets]] (generated by asterisk mark) are used.
; Example of how this template behaves if no [[•|bullets]] (generated by asterisk mark) are used.
<pre>
<pre>
{{div col|colwidth=10em}}
{{div col|colwidth=10em}}
285. satır: 287. satır:


==Tracking categories==
==Tracking categories==
* [[:Category:Pages using div col with unknown parameters|Pages using div col with unknown parameters]] (for erroneous use of parameter names not documented here)
* {{clc|Pages using div col with unknown parameters}} (for erroneous use of parameter names not documented here)
* [[:Category:Pages using div col with small parameter|Pages using div col with small parameter]]
* {{clc|Pages using div col with small parameter}}


==TemplateData==
==TemplateData==
342. satır: 344. satır:
}}
}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
==Redirects==
{{#ifeq:{{ROOTPAGENAME}}|Div col|
* {{Tlx|Col div}}
* {{Tlx|Colbegin}}  (but '''not''' {{Tlx|Col begin}} or {{Tlx|Col-begin}})
* {{Tlx|Cols}}
* {{Tlx|Div col start}}
* {{Tlx|Div col begin}}
* {{Tlx|Div-col}}
* {{Tlx|Palmares start}}
}}
{{#ifeq:{{ROOTPAGENAME}}|Div col end|
*{{Tlx|Col div end}}
*{{Tlx|Colend}} (but '''not''' {{Tlx|Col end}})
*{{Tlx|Div end}}
*{{Tlx|Divcol-end}}
*{{Tlx|Divcolend}}
*{{Tlx|Divend}}
*{{Tlx|End div col}}
*{{Tlx|EndDivCol}}
}}
 
==See also==
{{Column-generating template families}}
 
<includeonly>{{Sandbox other|
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Multi-column templates]]
[[Category:Multi-column templates]]
Anonim kullanıcı

Gezinti menüsü