Difference between revisions of "Skill layout simple/Documentation"

Line 3: Line 3:
  
 
==Parameters==
 
==Parameters==
{{bullet}}'''(unnamed parameter)''': The name of the image file to be used.
+
{{bullet}}'''icon''': The icon file to be used.
  
 
{{bullet}}'''link''': The name of the wiki page to link to when either the image or the text following it is clicked.
 
{{bullet}}'''link''': The name of the wiki page to link to when either the image or the text following it is clicked.
  
 
{{bullet}}'''text''': Optional. The text of the link to be used.
 
{{bullet}}'''text''': Optional. The text of the link to be used.
 +
 
==Usage==
 
==Usage==
 
<pre>{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills}}
 
<pre>{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills}}
 
{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills|text=Blast Medic}}</pre>
 
{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills|text=Blast Medic}}</pre>

Revision as of 22:22, 16 February 2023

Description

Creates a layout for the specified image, and displays it as a small clickable image with a link next to it.

Parameters

icon: The icon file to be used.

link: The name of the wiki page to link to when either the image or the text following it is clicked.

text: Optional. The text of the link to be used.

Usage

{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills}}
{{Skill layout simple|Blast Medic.png|link=:Category:Blast Medic skills|text=Blast Medic}}