Template:Magazine Table: Difference between revisions
From EHWiki
Jump to navigationJump to search
mNo edit summary |
m Markup issues ): |
||
| Line 1: | Line 1: | ||
''<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>{| | ''<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''' | ||
| Line 7: | Line 7: | ||
''width:'' A general width for months may be defined as an integer for pixels. Default is 100 pixels per month. | ''width:'' A general width for months may be defined as an integer for pixels. Default is 100 pixels per month. | ||
{| class="wikitable" | {| </noinclude> class="wikitable" style="min-width: {{ #if: {{{min-width|}}} | {{{min-width}}} | 1250}}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;" | January | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | January | ||
| Line 21: | Line 21: | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | November | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | November | ||
! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | December | ! scope="col" style="width: {{ #if: {{{width|}}} | {{{width}}} | 100 }}px; text-align: center;" | December | ||
|-<noinclude> | |- <noinclude> | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
Revision as of 00:54, 20 January 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 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 |
|---|