Difference between revisions of "Template:Gc/doc"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
(Made documentation)
 
m (→‎Examples: Updated link example)
 
Line 16: Line 16:
'''While...'''
'''While...'''


<pre>{{Gc|Seeds|3|link=Vanilla Items|caption=Seed}}</pre>
<pre>{{Gc|Seeds~Non-IC Items,3;Macerator~Recipes and Resources}}</pre>
makes:
makes:
{{Gc|Seeds|3|link=Vanilla Items|caption=Seed}}
{{Gc|Seeds~Non-IC Items,3;Macerator~Recipes and Resources,25%}}
 
 
 
'''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


{{doc/end}}
{{doc/end}}

Latest revision as of 17:17, 17 February 2015

Template-info.png Documentation

This template can be used to create grid images easily.

Parameters[edit]

  • 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[edit]

{{Gc|Macerator}}

makes:

Grid Macerator.png

While...

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

makes:

Grid Seeds.png

3

Grid Macerator.png

25%


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.