Πρότυπο:Columns

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια
Μετάβαση στην πλοήγηση Πήδηση στην αναζήτηση

{{{col1}}}

{{{col2}}}

{{{col3}}}

{{{col4}}}

{{{col5}}}

{{{col6}}}

{{{col7}}}

{{{col8}}}

{{{col9}}}

{{{col10}}}

Documentation icon Τεκμηρίωση προτύπου[προβολή] [επεξεργασία] [ιστορικό] [εκκαθάριση]

Template in the vein of navbox templates such as {{Navbox}} to aid the creation of (up to ten) columns across a page.

Syntax[επεξεργασία κώδικα]

{{columns
|bgcol     =       <!--Background colo/ur (default none)-->
|colwidth  =       <!--Width of each column (default 15em)-->
|gap       =       <!--Gap between each column (default 1.25em)-->
|col1width =       <!--use to set a different width for col1-->
|col1      =       <!--mandatory-->
|col2width =       <!--use to set a different width for col2 (etc)-->
|col2      =       <!--mandatory-->
|col3width = 
|col3      = 
...
|col7width = 
|col7      = 
}}

Examples[επεξεργασία κώδικα]

Code
{{columns
|col1 = Simplest<br/>application<br/>of
|col2 = this<br/>template
}}
Result

Simplest
application
of

this
template







Code
{{columns |bgcol=beige |width=8.5em |gap=3.25em

|col1 =
* These
* columns
* are
* more
* complex

|col2 =
The<br/>background<br/>is<br/>beige

|col3 =
; Each : column
; is   : 8.5[[Em (typography)|em]]
; wide

|col4 =
{{{!}}
!colspan="2"{{!}} and
{{!-}}
{{!}} the {{!!}} gap
{{!-}}
{{!}}colspan="2"{{!}} between
{{!-}}
{{!}} each {{!!}} is
{{!-}}
!colspan="2" align="center"{{!}} 3.25em
{{!}}}
}}
Result
  • These
  • columns
  • are
  • more
  • complex

The
background
is
beige

Each
column
is
8.5em
wide
and
the gap
between
each is
3.25em




See also[επεξεργασία κώδικα]
https://el.wikipedia.org/wiki/%CE%A0%CF%81%CF%8C%CF%84%CF%85%CF%80%CE%BF:Columns
el.wikipedia.org
crawl=CC-MAIN-2020-45
68357
application/http; msgtype=response
sha1:S27KHL5FGMUSULZ63FAMSIJSN336AOTH
<urn:uuid:cd11b7a5-a06f-4ef6-82f3-c7c6a9337ce4>
2020-10-28T10:17:28Z
208.80.154.224
text/html
sha1:BXD2QWQAG4TY7PUSTCJBJ46Y3ZWGCEGP
<urn:uuid:f2f3be0b-4370-4a7c-a849-0d34f8e96160>
https://el.wikipedia.org/wiki/%CE%A0%CF%81%CF%8C%CF%84%CF%85%CF%80%CE%BF:Columns
response
<urn:uuid:df3b888d-3197-4488-8ecd-9b151606714f>
isPartOf: CC-MAIN-2020-45
publisher: Common Crawl
description: Wide crawl of the web for October 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-143.ec2.internal
software: Apache Nutch 1.17 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/