แม่แบบ:BundleEnd

จากวิกิพีเดีย สารานุกรมเสรี

แม่แบบ:BundleStart

|}

Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

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[แก้]

Usage[แก้]

Example[แก้]

แม่แบบ:BundleStart แม่แบบ:BundleFirstRow แม่แบบ:Bundle แม่แบบ:Bundle แม่แบบ:BundleDescription |}

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 - For the first game of the bundle. See {{Bundle}}.
  • title - For the first game of the bundle. See {{Bundle}}.
  • Option1 - For the first game of the bundle. See {{Bundle}}.
  • DeveloperSize - For the first game of the bundle. See {{Bundle}}.
  • Developer - For the first game of the bundle. See {{Bundle}}.
  • Year - For the first game of the bundle. 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.
{{BundleDescription}}
  • 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[แก้]