Template:Magazine Table: Difference between revisions
From EHWiki
Jump to navigationJump to search
Created page with "''<noinclude>Template: <nowiki>{{Magazine Table|width=}}</nowiki>'' is designed to be used as a table header for magazine releases. It adds a column for years, as well as a co..." |
No edit summary |
||
| Line 1: | Line 1: | ||
''<noinclude>Template: <nowiki>{{Magazine Table|width=}}</nowiki>'' is designed to be used as a table header for magazine releases. It adds a column for years, as well as a column for each month of the year | ''<noinclude>Template: <nowiki>{{Magazine Table|min-width=|width=}}</nowiki>'' is designed to be used as a table header for magazine releases. It adds a column for years, as well as a column for each month of the year. Use it after creating the table with a <nowiki>{| class="wikitable"</nowiki>, then add data from the next row. | ||
'''Parameters''' | '''Parameters''' | ||
''width:'' | ''min-width:'' Defines a minimum width for the entire table as an integer for pixels, to allow overflowing small resolutions. Default is 1250 pixels. | ||
{|</noinclude> | ''width:'' A general width for months may be defined as an integer for pixels. Default is 100 pixels per month. | ||
{| class="wikitable" </noinclude>style="style="min-width: {{ #if: {{{min-width|}}} | {{{min-width}}} | 1250px}}; text-align: center;" | |||
! scope="col" style="width: 50px; text-align: center;" | Year | ! scope="col" style="width: 50px; text-align: center;" | Year | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | January | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | January | ||
Revision as of 00:47, 20 January 2016
Template: {{Magazine Table|min-width=|width=}} is designed to be used as a table header for magazine releases. It adds a column for years, as well as a column for each month of the year. Use it after creating the table with a {| class="wikitable", then add data from the next row.
Parameters
min-width: Defines a minimum width for the entire table as an integer for pixels, to allow overflowing small resolutions. Default is 1250 pixels.
width: A general width for months may be defined as an integer for pixels. Default is 100 pixels per month.
| Year | January | February | March | April | May | June | July | August | September | October | November | December |
|---|