Difference between revisions of "Template:Hairball Flower Seed/doc"

From Glitch Forever
Jump to navigation Jump to search
(Created page with "==Description== This template is used to create a photo link inline or in tables to the Hairball Flower Seed page on the wiki. ==Syntax== Type {{t|Hairball Flower Seed}}...")
 
 
Line 1: Line 1:
 
==Description==
 
==Description==
This template is used to create a photo link inline or in tables to the [[Hairball Flower Seed]] page on the wiki.
+
This template is used to create a photo link inline or in tables to the [[Hairball Flower Seed]] page on the wiki. The same image of this item is used across the wiki. This template allows you to set the size of the image you'd like to use as a link.
  
 
==Syntax==
 
==Syntax==
Line 11: Line 11:
  
 
{{Hairball Flower Seed}}
 
{{Hairball Flower Seed}}
 +
 +
 +
===Change the Size===
 +
If you want to make your icon a different size you can choose the number of pixels you'd like and place it after a spacer character ''|''. For this example we'll use a size of 80px:
 +
<pre>{{Hairball Flower Seed|80}}</pre>
 +
 +
which results in
 +
 +
{{Hairball Flower Seed|80}}
 +
 +
 +
In this example we'll use a size of 20px:
 +
 +
<pre>{{Hairball Flower Seed|20}}</pre>
 +
 +
which results in
 +
 +
{{Hairball Flower Seed|20}}
  
 
<includeonly>[[Category:Icons]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Icons]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:21, 13 April 2019

Description

This template is used to create a photo link inline or in tables to the Hairball Flower Seed page on the wiki. The same image of this item is used across the wiki. This template allows you to set the size of the image you'd like to use as a link.

Syntax

Type {{Hairball Flower Seed}} in the text where you'd like to use the image/link.

Samples

{{Hairball Flower Seed}} 

results in...

Hairball Flower Seed


Change the Size

If you want to make your icon a different size you can choose the number of pixels you'd like and place it after a spacer character |. For this example we'll use a size of 80px:

{{Hairball Flower Seed|80}}

which results in

Hairball Flower Seed


In this example we'll use a size of 20px:

{{Hairball Flower Seed|20}}

which results in

Hairball Flower Seed