Jump to content

User:RobbieIanMorrison/sandbox/table

From Wikipedia, the free encyclopedia


Basic table

[edit]
Summary of current projects
Project Host License Membership Coding Documentation Scope/type
Balmorel Denmark registration GAMS manual energy markets
{| class="wikitable" style="font-size: 95%"
|+ Summary of current projects
|-
! Project
! Host
! License
! Membership
! Coding
! Documentation
! Scope/type
|-
| [http://www.balmorel.com Balmorel]
| Denmark
| —
| registration
| [[General Algebraic Modeling System|GAMS]]
| manual
| energy markets
|}

Aligned table 1

[edit]
Wind energy remuneration
Phase Initial [¢/kWh] Basic [¢/kWh]
EEG (2000)1 9.10 6.19
EEG (2004) 8.70 5.50
  • 1. Some note.[1]
  • 2. Another note.
{| class="wikitable" style="text-align: right; font-size: 100%"
|+ Wind energy remuneration
|-
! Phase
! Initial <span style="font-weight: normal">[¢/kWh]</span>
! Basic <span style="font-weight: normal">[¢/kWh]</span>
|-
| align="left" | EEG (2000){{sup|1}} || 9.1{{0}} || 6.19
|-
| align="left" | EEG (2004)          || 8.70     || 5.5{{0}}
|- class="sortbottom"
| colspan="3" style="font-size: smaller" | {{plainlist|
* 1. Some note.<ref name="federal-network-agency-2">Reference.</ref>
* 2. Another note.
}}
|}

Aligned table 2

[edit]
Emissions reduction sector targets for 2030
Sector 1990 2014 2030 Reduction
(2030 relative 1990)
Energy 466 358 175–183 61–62%
Buildings 209 119 70–72 66–67%
Total 1248 902 543–562 55–56%
Units: million tonnes CO2eq.

Although not usually recommended, the <br/> is necessary for the final header here.

{| class="wikitable" style="text-align: right; font-size: 100%"
|+ Emissions reduction sector targets for 2030
|-
! align="left" | Sector    !! 1990 !! 2014 !!  2030   !! Reduction<br/><span style="font-weight: normal; white-space: nowrap">(2030 relative 1990)</span>
|-
| align="left" | Energy    ||  466 ||  358 || 175–183 || 61–62%
|-
| align="left" | Buildings ||  209 ||  119 ||   70–72 || 66–67%
|- class="sortbottom" style="font-weight: bold"
| align="left" | Total     || 1248 ||  902 || 543–562 || 55–56%
|- class="sortbottom"
| colspan="5" align="left" style="font-size: smaller" | Units: million tonnes [[Carbon dioxide equivalent|{{CO2}}eq]].
|}

Aligned table 3

[edit]
Programming paradigms
Paradigm Language Count
Imperative programming R 1
Object-oriented programming  C++ 1
Java 2
Python 12
  indicates a compiled language.
{| class="wikitable sortable" style="font-size: 100%"
|+ Programming paradigms
|-
! Paradigm
! Language
! Count
|-
| rowspan="1" | [[Imperative programming]]
| [[R (programming language)|R]]
| align="right" |  1
|-
| rowspan="3" | [[Object-oriented programming|Object-oriented programming]]{{pad|1em}}
| style="background-color: Lavender" | [[C++]]
| align="right" |  1
|-
| style="background-color: Lavender" | [[Java (programming language)|Java]]
| align="right" |  2
|-
| [[Python (programming language)|Python]]
| align="right" | 12
|- class="sortbottom"
| colspan="3" style="font-size: smaller" | {{background color|Lavender|{{pad|2em}}}} indicates a compiled language.
|}

Subhead row

[edit]
EMF study Published Description
Completed
EMF 01 1976 Energy and the economy
{| class="wikitable"
! EMF study      !! Published !! Description
|-
! colspan="3" style="text-align: left" | Completed
|-
| EMF{{nnbsp}}01 || 1976      || Energy and the economy
|}

Table classes

[edit]
class="wikitable center"
class="wikitable" align="right"
class="wikitable sortable"
class="wikitable collapsible collapsed"

Special templates

[edit]
  • Template:Dunno — full list of table-related templates for special values
  • {{sdash}} is designed for use in tables
Column Column Column Column Column Column Column Column Column Column
? TBA Yes Optional Perhaps Depends Coming soon No
{| class="wikitable"
! Column    !! Column  !! Column    !! Column  !! Column       !! Column      !! Column      !! Column          !! Column !! Column
|-
| {{dunno}} || {{TBA}} || {{sdash}} || {{yes}} || {{optional}} || {{perhaps}} || {{depends}} || {{coming soon}} || {{no}} || {{n/a}}
|}

Cell colors

[edit]
Colors
#FFFFFF #CFEEB2 #EEEEB2 #EED0B2 #EEB2B2 #B2CFEE #9596E9
| style="background-color: #CFEEB2" | entry

Specific markup

[edit]

Right pad a column (assumes left-alignment), chould also add {{nowrap}} for wide tables

| Longest entry{{pad|1em}}

Set minimum column width (in this case 10 em)

| style="width: 10em" | Any entry

Prevent wrapping of text (choose one)

| style="white-space: nowrap" | Longest entry
| <span style="white-space: nowrap">Longest entry</span>
| {{nowrap|Longest entry}}

Scientific units (set non-bold) in header

! Hydropower <span style="font-weight: normal">[GWh]</span>

Left align a cell

| align="left" | '''Capacity Added''' || || 7,329 || 7,482 || 5,589 || 4,247 || 2,889 || 1,401

Cell emphasis (renders bold with gray background) — use in vertical format as indicated and need not be in the first column

|-
! Emphasized cell
| entry

Controlled linebreaks in a cell (preferred to <br/>)

| {{unbulleted list|Item 1|Item 2}}
| {{plainlist|
* Item 1
* Item 2
}}

Scrolled table (not recommended in article space) (see also table classes)

<div style="width: 75%; height: 10em; overflow: auto; border: 2px solid red">
{| class="wikitable"
...
|}
</div>

Side-by-side tables

[edit]
Primary origin
Country Count
Germany 10
 
Paradigm
Paradigm Count
Object-oriented 16
{|
| style="vertical-align: top" |

  {| class="wikitable" style="font-size: 100%"
  |+ Primary origin
  |-
  ! Country !! Count
  |-
  | Germany || align="right" | 10
  |}

| {{pad|5em}}    <!-- gutter between tables -->
| style="vertical-align: top" |

  {| class="wikitable" style="font-size: 100%"
  |+ Paradigm
  |-
  ! Paradigm                                        !! Count
  |-
  | [[Object-oriented programming|Object-oriented]] || align="right" | 16
  |}

|}

Horizontal block

[edit]
Name / new page
{| class="wikitable" width="100%" style="margin-left: 0%"
| style="font-weight: bold; color: white; background-color: grey; text-indent: 6%" | Name <span style="font-weight: normal">/ new page</span>
|}

Comments table

[edit]
Notes
Text.
{| class="wikitable" width="80%" style="margin-left: 10%"
| style="font-weight: bold; color: white; background-color: grey; text-indent: 6%" | Notes
|-
| Text.
|}

Infobox mockup

[edit]
Infobox mockup
Project Infobox mockup
Host
Code license GPLv3
Repository github.com/IWESUniKS/pandapower
{| class="infobox" style="width: 22em"
|+ Infobox mockup
! style="width: 35%" | Project
| style="width: 55%" | Infobox mockup
|-
! Host
| {{plainlist|
* [[University of Kassel]]
* [[Fraunhofer Institute|Fraunhofer IWES]]
}}
|-
! Code license
| [[GNU General Public License|GPLv3]]
|-
| colspan="2" style="border-bottom: thin solid silver" |
|-
! Repository
| {{url|https://github.com/IWESUniKS/pandapower}}
|}

Bar chart

[edit]
  • Template:Bar chart
  • bar chart handles up to 4 columns and 25 rows of data
  • can add comments via |comment1=


Wayback Machine growth
Year Pages archived (billion)
2005
40
2008
85
2012
150
2013
373
2014
400
2015
452
{{bar chart
| title       = Wayback Machine growth
| label_type  = Year
| data_type   = Pages archived (billion)
| bar_width   = 35
| width_units = em
| data_max    = 500
| label1 = 2005 | data1 =  40
| label2 = 2008 | data2 =  85
| label3 = 2012 | data3 = 150
| label4 = 2013 | data4 = 373
| label5 = 2014 | data5 = 400
| label6 = 2015 | data6 = 452
}}

References

[edit]
  1. ^ Reference.