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..." |
Maximum Joe (talk | contribs) more common rez for our visitors apparently |
||
| (3 intermediate revisions by one other user not shown) | |||
| 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 contains standard metadata, 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>{|</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 800 pixels. | ||
{|</noinclude>class="wikitable" style="text-align: center;" | ''width:'' A general width for months may be defined as an integer for pixels. Default is 100 pixels per month. | ||
{| </noinclude> class="wikitable" style="min-width: {{ #if: {{{min-width|}}} | {{{min-width}}} | 800}}px; 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;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Jan | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Feb | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Mar | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Apr | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | May | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | May | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | June | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | June | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | July | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | July | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Aug | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Sept | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Oct | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Nov | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | Dec | ||
|-<noinclude> | |- <noinclude> | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 20:32, 17 February 2016
Template: {{Magazine Table|min-width=|width=}} is designed to be used as a table header for magazine releases. It contains standard metadata, adds a column for years, as well as a column for each month of the year. Use it after creating the table with a {|, 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 800 pixels.
width: A general width for months may be defined as an integer for pixels. Default is 100 pixels per month.
| Year | Jan | Feb | Mar | Apr | May | June | July | Aug | Sept | Oct | Nov | Dec |
|---|