Template:Magazine Table: Difference between revisions

From EHWiki
Jump to navigationJump to search
Ichizon (talk | contribs)
mNo edit summary
Maximum Joe (talk | contribs)
more common rez for our visitors apparently
 
(One intermediate revision by one other user not shown)
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>{| class="wikitable"</nowiki>, then add data from the next row.
''<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'''


''min-width:'' Defines a minimum width for the entire table as an integer for pixels, to allow overflowing small resolutions. Default is 1250 pixels.
''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.
''width:'' A general width for months may be defined as an integer for pixels. Default is 100 pixels per month.


{| class="wikitable" </noinclude>style="min-width: {{ #if: {{{min-width|}}} | {{{min-width}}} | 1250}}px; text-align: center;"
{| </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;" | January
! 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;" | February
! 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;" | March
! 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;" | April
! 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;" | August
! 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;" | September
! 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;" | October
! 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;" | November
! 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;" | December
! 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