Template:Gc/doc: Difference between revisions

From BTA-Mirror
imported>JejChainstar
(Created page with "{{doc/start}} This template can be used to create grid images easily. == Parameters == * '''1''', '''name''': The block/item name * '''2''', '''number''': ''(Optional)''The number of the block/item * '''percent''': ''(Optional)'' Whether the number is a percent or just the number of items * '''link''': ''(Optional)'' Change where the link goes to * '''caption''': ''(Optional)'' Change what the hover name is == Examples == <pre>{{Gc|Macerator}}</pre> makes: {{Gc|Macerat...")
 
imported>JejChainstar
(Created page with "{{doc/start}} This template can be used to create grid images easily. == Parameters == * '''1''', '''name''': The block/item name * '''2''', '''number''': ''(Optional)''The number of the block/item * '''percent''': ''(Optional)'' Whether the number is a percent or just the number of items * '''link''': ''(Optional)'' Change where the link goes to * '''caption''': ''(Optional)'' Change what the hover name is == Examples == <pre>{{Gc|Macerator}}</pre> makes: {{Gc|Macerat...")
(No difference)

Revision as of 11:16, 29 December 2021

Documentation

This template can be used to create grid images easily.

Parameters

  • 1, name: The block/item name
  • 2, number: (Optional)The number of the block/item
  • percent: (Optional) Whether the number is a percent or just the number of items
  • link: (Optional) Change where the link goes to
  • caption: (Optional) Change what the hover name is

Examples

{{Gc|Macerator}}

makes:

While...

{{Gc|Seeds~Non-IC Items,3;Macerator~Recipes and Resources}}

makes:


Where:

  • Seeds is the icon to show
  • ~ Defines the gap between the icon and link
  • Non-IC Items is the link
  • , Defines the gap between the number of items, and the item/link itself
  • 3 Is the number of items
  • ; Separates individual grids

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.