Difference between revisions of "Template:CoffeePrefList"
From Nookipedia, the Animal Crossing wiki
m |
SuperHamster (talk | contribs) m (Text replacement - " width="(.*)\%"(.*)style="" to "$2style="width: $1%; ") |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch: {{{1|}}} | + | <noinclude>{{Deprecated|note=[[Coffee preferences]] list now use updated tables}}</noinclude>{{#switch: {{{1|}}} |
|1={{#switch: {{{2|}}} | |1={{#switch: {{{2|}}} | ||
− | |start={{(!}} class="coffee | + | |start={{(!}} class="coffee" cellpadding="1px" style="width: 40%; border: 2px solid #78ab46;" |
! style="border: 0px solid; background-color:#78ab46; color:#000000;" {{!}} Name | ! style="border: 0px solid; background-color:#78ab46; color:#000000;" {{!}} Name | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Coffee Beans | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Coffee Beans | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Milk | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Milk | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Sugar | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Sugar | ||
+ | {{!-}} | ||
|end={{!)}}}} | |end={{!)}}}} | ||
|2={{#switch: {{{2|}}} | |2={{#switch: {{{2|}}} | ||
− | |start={{(!}} | + | |start={{(!}} style="width: 80%; border-collapse:collapse;" cellpadding="0px" |
− | {{!}} | + | {{!}} style="width: 50%; vertical-align: top;" {{!}} |
− | {{(!}} class="coffee" align="center | + | {{(!}} class="coffee" align="center" cellpadding="1px" style="width: 100%; border: 2px solid #78ab46; border-right:1px solid #78ab46" |
! style="border: 0px solid; background-color:#78ab46; color:#000000;" {{!}} Name | ! style="border: 0px solid; background-color:#78ab46; color:#000000;" {{!}} Name | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Coffee Beans | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Coffee Beans | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Milk | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Milk | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Sugar | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Sugar | ||
+ | {{!-}} | ||
|mid={{!)}} | |mid={{!)}} | ||
− | {{!}} | + | {{!}} style="width: 50%; vertical-align: top;" {{!}} |
− | {{(!}} class="coffee" align="center | + | {{(!}} class="coffee" align="center" cellpadding="1px" style="width: 100%; border: 2px solid #78ab46; border-left:1px solid #78ab46" |
! style="border: 0px solid; background-color:#78ab46; color:#000000;" {{!}} Name | ! style="border: 0px solid; background-color:#78ab46; color:#000000;" {{!}} Name | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Coffee Beans | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Coffee Beans | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Milk | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Milk | ||
! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Sugar | ! style="border: 2px solid #78ab46; background-color:#baeea8; color:#444444;" {{!}} Sugar | ||
− | | | + | |endeven={{!)}} |
+ | {{!)}} | ||
+ | |enduneven={{!)}} | ||
+ | {{(!}} cellpadding="0px" style="width: 100%; border-left:1px solid #78ab46" {{!}} | ||
+ | {{!}} | ||
+ | {{!)}} | ||
+ | {{!)}}}} | ||
}}<noinclude> | }}<noinclude> | ||
Line 28: | Line 36: | ||
<pre>{{CoffeePrefList|<Number of Columns>|<Position>}}</pre> | <pre>{{CoffeePrefList|<Number of Columns>|<Position>}}</pre> | ||
− | Replace ''<Number of Columns>'' above with 1 or 2, depending on the number of coffee preference tables to be displayed. | + | Replace ''<Number of Columns>'' above with 1 or 2, depending on the number of coffee preference tables to be displayed. In a one-column table, replace ''<Position>'' with one of the following: |
+ | *'''start'''- to begin a table | ||
+ | *'''end'''- to end a table | ||
+ | |||
+ | In a one-column table, replace ''<Position>'' with one of the following: | ||
*'''start'''- to begin a table | *'''start'''- to begin a table | ||
*'''mid'''- at the midpoint of a two-column table | *'''mid'''- at the midpoint of a two-column table | ||
− | *'''end'''- to end a table</noinclude> | + | *'''endeven'''- to end a table when both columns have the same number of rows |
+ | *'''enduneven'''- to end a table when the columns have different numbers of rows | ||
+ | |||
+ | [[Category:Table templates]] | ||
+ | </noinclude> |
Latest revision as of 20:10, June 30, 2021
This template is deprecated and should no longer be used.
This template's functionality is obsolete and no longer maintained. It should be removed from pages or replaced with an alternative template.
Further details: Coffee preferences list now use updated tables
Further details: Coffee preferences list now use updated tables
This template is deprecated and should no longer be used.
This template's functionality is obsolete and no longer maintained. It should be removed from pages or replaced with an alternative template.
Further details: Coffee preferences list now use updated tables
Further details: Coffee preferences list now use updated tables
Usage
{{CoffeePrefList|<Number of Columns>|<Position>}}
Replace <Number of Columns> above with 1 or 2, depending on the number of coffee preference tables to be displayed. In a one-column table, replace <Position> with one of the following:
- start- to begin a table
- end- to end a table
In a one-column table, replace <Position> with one of the following:
- start- to begin a table
- mid- at the midpoint of a two-column table
- endeven- to end a table when both columns have the same number of rows
- enduneven- to end a table when the columns have different numbers of rows