Difference between revisions of "Skill layout simple/Documentation"

(Added documentation page)
 
m (Added proper spacing to documentation)
Line 2: Line 2:
 
Creates a layout for the specified image, and displays it as a small clickableimage with a link next to it.
 
Creates a layout for the specified image, and displays it as a small clickableimage with a link next to it.
 
==Parameters==
 
==Parameters==
{{bullet}} '''(unnamed parameter)''': The name of the image file to be used.
+
{{bullet}}'''(unnamed parameter)''': The name of the image 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}} '''text''': The text of the link 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}}'''text''': 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 16:53, 28 January 2022

Description

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

Parameters

(unnamed parameter): The name of the image 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: 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}}