Difference between revisions of "Template:BundleFirstRow/doc"
Jump to navigation
Jump to search
imported>Mrjulesd (→Usage: added markup) |
imported>Mrjulesd (→Parameters: added details.) |
||
| Line 44: | Line 44: | ||
== Parameters == | == Parameters == | ||
| + | |||
;{{tl|BundleStart}} | ;{{tl|BundleStart}} | ||
| + | |||
| + | * Not needed before each bundle, but starts the overall bundle table. Generally needs no parameters. | ||
* '''width''' - adjusts the tables width; defaults to 100%. | * '''width''' - adjusts the tables width; defaults to 100%. | ||
* '''Option1''' - Example add Music Album as title. | * '''Option1''' - Example add Music Album as title. | ||
| Line 50: | Line 53: | ||
;{{tl|BundleFirstRow}} | ;{{tl|BundleFirstRow}} | ||
| − | * | + | |
| + | * Must be included. | ||
* '''rowspan''' - amount of rows for the bundle; defaults to 1. To calculate, add 2 to the number of {{tl|Bundle}} templates used. The 2 represents the {{tl|BundleFirstRow}} and {{tl|BundleDescription}} (which must be included). | * '''rowspan''' - amount of rows for the bundle; defaults to 1. To calculate, add 2 to the number of {{tl|Bundle}} templates used. The 2 represents the {{tl|BundleFirstRow}} and {{tl|BundleDescription}} (which must be included). | ||
* '''Bundle''' - name of the bundle. | * '''Bundle''' - name of the bundle. | ||
* '''Period''' - the timeframe the bundle was released. | * '''Period''' - the timeframe the bundle was released. | ||
| − | * ''' | + | * '''MTA''' - See {{tl|Bundle}}. |
| − | * ''' | + | * '''title''' - See {{tl|Bundle}}. |
| − | * ''' | + | * '''Option1''' - See {{tl|Bundle}}. |
| − | * '''Developer''' - | + | * '''DeveloperSize''' - See {{tl|Bundle}}. |
| − | * '''Year''' - the year the first title was. | + | * '''Developer''' - See {{tl|Bundle}}. |
| − | * '''Raised''' - the amount of cash the bundle raised. | + | * '''Year''' - the year the first title was from. |
| − | * '''Purchases''' - the amount of purchases for the bundle. | + | * '''Raised''' - the amount of cash the bundle raised. If parameter and value omitted, defaults to 'N / A'. |
| − | * '''Avg''' - the average price for the bundle. | + | * '''Purchases''' - the amount of purchases for the bundle. If parameter and value omitted, defaults to 'N / A'. |
| + | * '''Avg''' - the average price for the bundle. If parameter and value omitted, defaults to 'N / A'. | ||
;{{tl|Bundle}} | ;{{tl|Bundle}} | ||
| + | |||
* '''MTA''' - More than average: sets a lock icon in front of title when set to true. Default is off, can be omitted. | * '''MTA''' - More than average: sets a lock icon in front of title when set to true. Default is off, can be omitted. | ||
| − | * '''PL''' - Post launch: | + | * '''PL''' - Post launch: '''deprecated, no longer include.''' Sets the title row to light green to differentiate it from the other games. Default is off, can be omitted. |
* '''title''' - the title. | * '''title''' - the title. | ||
* '''Option1''' - the string for the option one set from {{tl|BundleStart}} parameter. | * '''Option1''' - the string for the option one set from {{tl|BundleStart}} parameter. | ||
| Line 73: | Line 79: | ||
;{{tl|BundleDescription}} | ;{{tl|BundleDescription}} | ||
| + | |||
| + | * Must be included at the end of each bundle. If there is none, just leave <nowiki>{{BundleDescription}}</nowiki> | ||
* '''colspan''' - the columns the list will take up. If Option1 is not set colspan is not needed; defaults to 7. | * '''colspan''' - the columns the list will take up. If Option1 is not set colspan is not needed; defaults to 7. | ||
* '''list''' - creates a list as many colspan you use if you do not use. | * '''list''' - creates a list as many colspan you use if you do not use. | ||
| − | ;{{tl|BundleEnd}} | + | ;{{tl|BundleEnd}} |
| + | |||
| + | * Not needed after each bundle, but ends the overall bundle table. | ||
== Code == | == Code == | ||
Revision as of 11:38, 15 April 2015
| This is a documentation subpage for Template:BundleFirstRow. It contains usage information, categories and other content that is not part of the original template page. |
This set of templates are used to build a table for Bundle type of pages (e.g. Humble Bundle, Indie Gala, Indie Royale, IndieGameStand, etc.).
Related templates
- {{BundleStart}}: starts the table.
- {{BundleFirstRow}}: creates the first row of the complex table.
- {{Bundle}}: adds the titles released for the bundle.
- {{BundleDescription}}: adds the description of the bundle.
- {{BundleEnd}}: ends the table.
Usage
Example
| Bundle | Period offered | Title | Developer | Initial release year | Total raised | Total purchases | Average price |
|---|---|---|---|---|---|---|---|
| Humble Indie Bundle | May 4–10*, 2010 | World of Goo | 2D Boy | 2008 | US$1.27+ M | 138,813 | $9.18 |
| Aquaria | Bit Blot | 2007 | |||||
| Testing N/A | N / A | ||||||
Description
| |||||||
Markup used
{{BundleStart}}
{{BundleFirstRow |rowspan=4 |Bundle='''Humble Indie Bundle''' |Period=May 4–10*, 2010|title=''[[World of Goo]]'' |Developer=[[2D Boy]] |Year=2008 |Raised=US$1.27+ M|Purchases=138,813|Avg=$9.18}}
{{Bundle |title=''[[Aquaria (video game)|Aquaria]]''|Developer=Bit Blot|Release=2007}}
{{Bundle |title=''Testing N/A''}}
{{BundleDescription |list={{collapsible list |title=Description
|
* ''Samorost 2'' added for free to the bundle on May 9, 2010.
* ''Aquaria'', ''Gish'', ''Lugaru HD'' and ''Penumbra'' were [[Open-source software|open-sourced]] as a result of the success of the sale.
}}}}
{{BundleEnd}}
Parameters
- {{BundleStart}}
- Not needed before each bundle, but starts the overall bundle table. Generally needs no parameters.
- width - adjusts the tables width; defaults to 100%.
- Option1 - Example add Music Album as title.
- Option1Size adjusts the table width; defaults to 160px.
- {{BundleFirstRow}}
- Must be included.
- rowspan - amount of rows for the bundle; defaults to 1. To calculate, add 2 to the number of {{Bundle}} templates used. The 2 represents the {{BundleFirstRow}} and {{BundleDescription}} (which must be included).
- Bundle - name of the bundle.
- Period - the timeframe the bundle was released.
- MTA - See {{Bundle}}.
- title - See {{Bundle}}.
- Option1 - See {{Bundle}}.
- DeveloperSize - See {{Bundle}}.
- Developer - See {{Bundle}}.
- Year - the year the first title was from.
- Raised - the amount of cash the bundle raised. If parameter and value omitted, defaults to 'N / A'.
- Purchases - the amount of purchases for the bundle. If parameter and value omitted, defaults to 'N / A'.
- Avg - the average price for the bundle. If parameter and value omitted, defaults to 'N / A'.
- {{Bundle}}
- MTA - More than average: sets a lock icon in front of title when set to true. Default is off, can be omitted.
- PL - Post launch: deprecated, no longer include. Sets the title row to light green to differentiate it from the other games. Default is off, can be omitted.
- title - the title.
- Option1 - the string for the option one set from {{BundleStart}} parameter.
- DeveloperSize - the amount of rows after the template is called the developer string will be used for. Omit Developer from proceeding rows to the number set - 1.
- Developer - the developer of the title.
- Release - the release date of the title.
- Must be included at the end of each bundle. If there is none, just leave {{BundleDescription}}
- colspan - the columns the list will take up. If Option1 is not set colspan is not needed; defaults to 7.
- list - creates a list as many colspan you use if you do not use.
- {{BundleEnd}}
- Not needed after each bundle, but ends the overall bundle table.
Code
{{BundleStart
| width =
| Option1 =
| Option1Size =
}}
{{BundleFirstRow
| rowspan = <!-- Amount of rows the bundle will take up total. -->
| MTA = true
| Bundle =
| Period = <!-- Time frame of the bundle. -->
| title =
| Option1 =
| DeveloperSize =
| Developer =
| Year = <!-- Year the title came out. -->
| Raised = <!-- Remove for default N/A. -->
| Purchases = <!-- Remove for default N/A. -->
| Avg = <!-- Remove for default N/A. -->
}}
{{Bundle
| MTA = true
| PL = true
| title =
| Option1 =
| DeveloperSize =
| Developer =
| Release = <!-- Year the title came out. -->
}}
{{BundleDescription
| colspan = <!-- Amount of columns used by the table header - 1. -->
| list =
}}
{{BundleEnd}}
See also